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 the header's data from Hotmail... http://www.myrandor.com/postfix2.txt >From what I can see in there, the email is picked up only once from my mail >client. So I suspect something's wrong in Postfix... Seems like it delivered >the mail to Amavis, but doing a copy to itself at the same time...? Daniel > 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 for amavisd-new > - create a mailbox user and configure postfix to deliver mail as this user > - courier-imap is generally run as root. if this is not needed, you can > run it as the "mailbox" user > > >> Is it easy to adjust configuration for this new user? >> >> Also, I think this is not causing my duplicate email, right? >> > > as Viktor said, this makes troubleshooting harder. in this particular > case, we have a message submitted by user 207, but we have no idea which > service or program submitted the message.