RE: duplicate emails

2010-04-18 Thread Tomas Kuliavas
If account is only one, how they can connect to two servers?

Looks like your email program can see those servers as different ones and
keeps different sets of downloaded message ids.

2010.04.19 04:17 Dika Ye rašė:
 Users have only one account setup in their email client, and they keep
 emails on the server.

 -Original Message-
 From: Tomas Kuliavas [mailto:to...@users.sourceforge.net]
 Sent: 2010年4月15日 18:20
 To: qmail-ldap@qmail-ldap.org
 Subject: Re: duplicate emails

 2010.04.15 09:27 Dika Ye rašė:
 Hi all,



 I had setup qmail-ldap server (patch qmail-ldap-1.03-20060201.patch
 http://www.nrg4u.com/qmail/qmail-ldap-1.03-20060201.patch.gz ), there
 are
 two mail servers (server A and server B) provide smtp and pop3d
 services.

 These servers using the same storage (NFS) to store mail data, user will
 connect to server A pop3 or server B pop3 to receive emails.



 The problem is that when user connect to server A to receive emails,
 then
 they connect to server B, they will get the duplicate emails.

 Do your users have two accounts set up in their email programs? Do they
 set them to keep emails on server?

 --
 Tomas








RE: duplicate emails

2010-04-18 Thread Dika Ye
Because the pop3.domain.com dns record point to a CNAME, and the CNAME point to 
two IP address.
User use outlook, setup the pop server to pop3.domain.com, when user connect to 
the pop server to receive emails, it will connect to the different server and 
will receive the same email from the different server.

-Original Message-
From: Tomas Kuliavas [mailto:to...@users.sourceforge.net] 
Sent: 2010年4月19日 12:13
To: Dika Ye
Cc: qmail-ldap@qmail-ldap.org
Subject: RE: duplicate emails

If account is only one, how they can connect to two servers?

Looks like your email program can see those servers as different ones and
keeps different sets of downloaded message ids.

2010.04.19 04:17 Dika Ye rašė:
 Users have only one account setup in their email client, and they keep
 emails on the server.

 -Original Message-
 From: Tomas Kuliavas [mailto:to...@users.sourceforge.net]
 Sent: 2010年4月15日 18:20
 To: qmail-ldap@qmail-ldap.org
 Subject: Re: duplicate emails

 2010.04.15 09:27 Dika Ye rašė:
 Hi all,



 I had setup qmail-ldap server (patch qmail-ldap-1.03-20060201.patch
 http://www.nrg4u.com/qmail/qmail-ldap-1.03-20060201.patch.gz ), there
 are
 two mail servers (server A and server B) provide smtp and pop3d
 services.

 These servers using the same storage (NFS) to store mail data, user will
 connect to server A pop3 or server B pop3 to receive emails.



 The problem is that when user connect to server A to receive emails,
 then
 they connect to server B, they will get the duplicate emails.

 Do your users have two accounts set up in their email programs? Do they
 set them to keep emails on server?

 --
 Tomas









RE: duplicate emails

2010-04-18 Thread Tomas Kuliavas
Users should not get two sets of same messages, if your pop3 servers use
same UID format for messages.

So either your Outlook uses IP addresses to track message uids or your
POP3 servers don't share uid information. If you can't fix outlook, make
sure that don't use two unrelated pop3 servers.

2010.04.19 07:24 Dika Ye rašė:
 Because the pop3.domain.com dns record point to a CNAME, and the CNAME
 point to two IP address.
 User use outlook, setup the pop server to pop3.domain.com, when user
 connect to the pop server to receive emails, it will connect to the
 different server and will receive the same email from the different
 server.

 -Original Message-
 From: Tomas Kuliavas [mailto:to...@users.sourceforge.net]
 Sent: 2010年4月19日 12:13
 To: Dika Ye
 Cc: qmail-ldap@qmail-ldap.org
 Subject: RE: duplicate emails

 If account is only one, how they can connect to two servers?

 Looks like your email program can see those servers as different ones and
 keeps different sets of downloaded message ids.

 2010.04.19 04:17 Dika Ye rašė:
 Users have only one account setup in their email client, and they keep
 emails on the server.

 -Original Message-
 From: Tomas Kuliavas [mailto:to...@users.sourceforge.net]
 Sent: 2010年4月15日 18:20
 To: qmail-ldap@qmail-ldap.org
 Subject: Re: duplicate emails

 2010.04.15 09:27 Dika Ye rašė:
 Hi all,



 I had setup qmail-ldap server (patch qmail-ldap-1.03-20060201.patch
 http://www.nrg4u.com/qmail/qmail-ldap-1.03-20060201.patch.gz ), there
 are
 two mail servers (server A and server B) provide smtp and pop3d
 services.

 These servers using the same storage (NFS) to store mail data, user
 will
 connect to server A pop3 or server B pop3 to receive emails.



 The problem is that when user connect to server A to receive emails,
 then
 they connect to server B, they will get the duplicate emails.

 Do your users have two accounts set up in their email programs? Do they
 set them to keep emails on server?

 --
 Tomas




duplicate emails

2010-04-15 Thread Dika Ye
Hi all,

 

I had setup qmail-ldap server (patch qmail-ldap-1.03-20060201.patch
http://www.nrg4u.com/qmail/qmail-ldap-1.03-20060201.patch.gz ), there are
two mail servers (server A and server B) provide smtp and pop3d services.

These servers using the same storage (NFS) to store mail data, user will
connect to server A pop3 or server B pop3 to receive emails. 

 

The problem is that when user connect to server A to receive emails, then
they connect to server B, they will get the duplicate emails.

 

Best wishes,

 

Dika.Ye



 



Re: duplicate emails

2010-04-15 Thread Tomas Kuliavas
2010.04.15 09:27 Dika Ye rašė:
 Hi all,



 I had setup qmail-ldap server (patch qmail-ldap-1.03-20060201.patch
 http://www.nrg4u.com/qmail/qmail-ldap-1.03-20060201.patch.gz ), there
 are
 two mail servers (server A and server B) provide smtp and pop3d services.

 These servers using the same storage (NFS) to store mail data, user will
 connect to server A pop3 or server B pop3 to receive emails.



 The problem is that when user connect to server A to receive emails, then
 they connect to server B, they will get the duplicate emails.

Do your users have two accounts set up in their email programs? Do they
set them to keep emails on server?

-- 
Tomas




Re: Duplicate emails with procmail

2004-12-07 Thread Andreas Stollar
On Tue, 7 Dec 2004, Harindra Patel wrote:

 My user atrribute is like this..

 dn: uid=hari, ou=test.net, o=tree1.com
 mailSizeMax: 1500
 givenName: Hari
 accountStatus: active
 objectClass: top
 objectClass: person
 objectClass: organizationalPerson
 objectClass: inetOrgPerson
 objectClass: mailrecipient
 objectClass: nsmessagingserveruser
 objectClass: qmailuser
 objectClass: hordeperson
 mailQuotaSize: 1205004857
 userPassword:: e2NyeXB0fTNNM2xZTkZpRTBBZ2M=
 mailMessageStore: /var/qmail/mailstore/hari
 uid: hari
 mail: [EMAIL PROTECTED]
 cn: Hari Patel
 qmailDotMode: ldapwithprog
 mailHost: suqmail.iqara.net
 sn: Patel
 deliveryProgramPath: /usr/bin/procmail

 I have created my /var/qmail/mailstore/hari/.procmailrc file as follows.

 # Please check if all the paths in PATH are reachable, remove the ones that
 # are not.

 # PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
 MAILDIR=$HOME/Maildir   # You'd better make sure it exists
 # DEFAULT=$MAILDIR/Maildir/new
 LOGFILE=/$HOME.procmaillog
 LOCKFILE=/$HOME/.lockmail

 # Remove any duplicate emails (mailing list Cc:'s and stuff)
 :0 Wh : $MAILDIR/.idcache.lock
 | formail -D 1000 $MAILDIR/.idcache

 One more confusion is that whether i need  to create this file as
 /etc/procmailrc or as $HOME/.procmailrc???


Add deliveryMode: nolocal to you LDAP users' profiles to avoid duplicate
deliveries. When you use procmail like this, procmail delivers a message
*and* qmail-local also delivers the message, resulting in duplicates.

You should consider using maildrop instead of procmail -- it has native
LDAP support, and quota support, and also seems to deal with Maildirs
better.

Andreas


Re: Duplicate emails with procmail

2004-12-06 Thread Harindra Patel



can you explain how did you configure qmail-ldap 
with procmail. i m getting some issue same.
Harindra.


Re: Duplicate emails with procmail

2004-12-06 Thread Andreas Stollar
If you are using procmail via, 'deliveryprogrampath' or some other
mechanism, you are going to have to send 'deliverystatus: nolocal' or you
will get duplicates. You might be able to set 'dotonly' in
/var/qmail/control/defaultdotmde as well.

Andreas

On Mon, 6 Dec 2004, Harindra Patel wrote:

 Date: Mon, 6 Dec 2004 17:15:24 +0530
 From: Harindra Patel [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: Duplicate emails with procmail

 can you explain how did you configure qmail-ldap with procmail. i m getting 
 some issue same.
 Harindra.