RE: Your Email (SOLVED)

2009-03-01 Thread Daniel C
I think I solve the issue...!!! The problem was really coming from a dual submit using IMAP connections. SASL-Cyrus was activated correctly, but in my /etc/courier-imap/imap config file, the line: OUTBOX=.Sent Was set, which was doing this: # If OUTBOX is defined, mail can be sent via the IMA

RE: Your Email

2009-03-01 Thread Daniel C
> What user does amavis run as? What you say that Postfix uses "this new > user", what do you mean by that? Amavis is running as user: amavis (uid: 102) and group: amavis (gid: 408). Maildirs are stored as user imap (uid: 1000) and group imap (gid: 1000). Postfix is running as postfix (207/207)

Re: Your Email

2009-02-28 Thread Victor Duchovni
On Sun, Mar 01, 2009 at 03:49:18AM +, Daniel C wrote: > I just changed the owner of the IMAP folder and assigned Postfix and > courier-authlib to use this new user. It has a UID and GID of 1000. What user does amavis run as? What you say that Postfix uses "this new user", what do you mean by

RE: Your Email

2009-02-28 Thread Daniel C
I just changed the owner of the IMAP folder and assigned Postfix and courier-authlib to use this new user. It has a UID and GID of 1000. Here a new set of headers (from both duplicated mails), and a copy of my log from this. Sorry if I put a link in my message, it's because I can't include all

Re: Your Email

2009-02-24 Thread mouss
Daniel C a écrit : > What would be the best strategy? Create a new user and change postfix, amavis > and Courier-IMAP to use this user for message storing? No. do not the same user for different services: - keep the 'postfix' account for the postfix "server" - use amavis or vscan or whatever fo

Re: Your Email

2009-02-24 Thread Victor Duchovni
On Tue, Feb 24, 2009 at 04:31:55PM +, Daniel C wrote: > What would be the best strategy? Create a new user and change postfix, > amavis and Courier-IMAP to use this user for message storing? Is it easy > to adjust configuration for this new user? Yes, create a new user that will own IMAP mail

RE: Your Email

2009-02-24 Thread Daniel C
What would be the best strategy? Create a new user and change postfix, amavis and Courier-IMAP to use this user for message storing? Is it easy to adjust configuration for this new user? Also, I think this is not causing my duplicate email, right? Daniel > No, this is wrong, the "postfix" u

Re: Your Email

2009-02-21 Thread Victor Duchovni
On Sun, Feb 22, 2009 at 03:35:34AM +, Daniel C wrote: > As for Postfix, it has to be used No, this is wrong, the "postfix" user must not be the owner the virtual mailboxes, and should not be used by the IMAP server to access them. Fix your configuration to avoid this problem. > by courrier-i

RE: Your Email

2009-02-21 Thread Daniel C
> for example, if a filter, a delivery script, a .forward, ... uses the > sendmail command. Well, this is set as "virtual" and there's no .forward or delivery script. The problem suddenly happen after an upgrade of my system. Maybe there's a config somewhere that has been changed, I'm just won

Re: Your Email

2009-02-21 Thread mouss
Daniel C a écrit : >> A broken HTML encapsulator is eating all content inside <>, in your >> messages, can you post the headers and logs without going trhough >> the broken (cross-site scripting vulnerable, ...) HTML generator? >> >> This message is submitted via SMTP from outside. > > Well... The

RE: Your Email

2009-02-21 Thread Daniel C
> A broken HTML encapsulator is eating all content inside <>, in your > messages, can you post the headers and logs without going trhough > the broken (cross-site scripting vulnerable, ...) HTML generator? > > This message is submitted via SMTP from outside. Well... The only choice I have it to s

Re: Your Email

2009-02-21 Thread Victor Duchovni
On Sat, Feb 21, 2009 at 07:53:30PM +, Daniel C wrote: > --- > Message #1 > --- > Return-Path: > Received: from localhost (homer.mydomain.com [10.0.32.13]) > by m

RE: Your Email

2009-02-21 Thread Daniel C
> This is an corruped and incomplete set of message headers. > > And yet, it is fairly clear that the two messages are unrelated and > not the same, since one arrives via SMTP and other is submmitted > locally by user 207. Showing the headers separately from the related > mail logs is not terribly

Re: Your Email

2009-02-21 Thread Victor Duchovni
On Sat, Feb 21, 2009 at 07:02:41PM +, Daniel C wrote: > Message #1 > --- > Received: from localhost (homer.mydomain.com [10.0.32.13]) > by mail.mydomain.com (Postfix) with ESMTP id 561804498EF > for ; Sat, 21 Feb 2009

RE: Your Email

2009-02-21 Thread Daniel C
Here's the header part of the 2 mails I receive when they are duplicate. From what I can understand, it seems that there's only one connection made to Postfix, but Postfix send the mail to LMTP, but made a new copy and send it to itself, which is then sent to LMTP too. Does it means something

RE: Your Email

2009-02-21 Thread Daniel C
> The mail is apparently submitted twice by your mail client. > This does not appear to be a postfix or SASL problem. > > You earlier wrote that a manual telnet session with > authentication did not exhibit the duplicated mail problem. > This confirms that it is a mail client problem, not a postfi

Re: Your Email

2009-02-20 Thread Sahil Tandon
On Sat, 21 Feb 2009, Daniel C wrote: > For the duplicate message, from what I saw too, it looked like the same > message was sent twice. Could it be from the authentication? Could you just > take a look to see if I'm missing something there? No, it has nothing to do with authentication. -- Sahi

Re: Your Email

2009-02-20 Thread Noel Jones
Daniel C wrote: For the duplicate message, from what I saw too, it looked like the same message was sent twice. Could it be from the authentication? Could you just take a look to see if I'm missing something there? The mail is apparently submitted twice by your mail client. This does not ap

RE: Your Email

2009-02-20 Thread Daniel C
> Date: Fri, 20 Feb 2009 12:36:07 -0600 > From: njo...@megan.vbhcs.org > To: jackey...@hotmail.com; postfix-users@postfix.org > Subject: Re: Your Email > > Daniel C wrote: >> Hi, >> >> Sorry for the informations missin

Re: Your Email

2009-02-20 Thread Noel Jones
Daniel C wrote: Hi, Sorry for the informations missing. Here they are. This is running on a vserver, which are behind a iptables firewall, and the local IPs are in the range 10.0.32.0/24. I've annotated your logs... Feb 19 22:23:15 homer postfix/smtpd[3711]: connect from xx[xxx.

RE: Your Email

2009-02-19 Thread Duane Hill
On Fri, 20 Feb 2009, Daniel C wrote: smtpd_recipient_restrictions = permit_mynetworks, ... reject_rbl_client list.dsbl.org, Remove this. It is not active. See: http://dsbl.org/

RE: Your Email

2009-02-19 Thread Daniel C
Hi, Sorry for the informations missing. Here they are. This is running on a vserver, which are behind a iptables firewall, and the local IPs are in the range 10.0.32.0/24. Daniel Modification from the original master.cf

Re: Your Email

2009-02-19 Thread Noel Jones
Daniel C wrote: Hi, Since a upgrade I made last week I've been having a very strange issue. Whenever I send an email using my server as an SMTP (with Cyrus-SASL authentication), all my emails are sent in double. Also, when I send an email using Imp/Horde (Webmail), emails are also sent in double