I have had a problem with mail received all being redirected to [email protected]. There are no errors on sending mail and the sender of mail to a user on ispconfig thinks all is well, but the message never arrives. When I checked info in /var/log/mail/info I got when receiving a message. Jan 11 19:39:28 tidy-hosting postfix/smtpd[22074]: connect from zproxy.gmail.com[64.233.162.192] Jan 11 19:39:28 tidy-hosting postfix/smtpd[22074]: EABAF164489C: client=zproxy.gmail.com[64.233.162.192] Jan 11 19:39:29 tidy-hosting postfix/cleanup[22126]: EABAF164489C: message-id=<[email protected]> Jan 11 19:39:29 tidy-hosting postfix/qmgr[21961]: EABAF164489C: from=<[email protected]>, size=1569, nrcpt=1 (queue active) Jan 11 19:39:29 tidy-hosting postfix/pickup[26234]: 74D20164531C: uid=10002 from=<davies-geoffrey> Jan 11 19:39:29 tidy-hosting postfix/cleanup[22126]: 74D20164531C: message-id=<[email protected]> Jan 11 19:39:29 tidy-hosting postfix/qmgr[21961]: 74D20164531C: from=<[email protected]>, size=412, nrcpt=1 (queue active) Jan 11 19:39:29 tidy-hosting postfix/local[22165]: 74D20164531C: to=<[email protected]>, orig_to=<admispconfig@localhost>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-) Jan 11 19:39:29 tidy-hosting postfix/qmgr[21961]: 74D20164531C: removed I though it could be a problem with aliases so I checked /etc/postfix/virtusertable which reads: ################################### [email protected] web1_ [email protected] web1_ @www.tidy-hosting.com web1_ [email protected] web1_ [email protected] web1_ @tidy-hosting.com web1_ [email protected] davies-geoffrey [email protected] davies-geoffrey @www.gdtrading.co.uk davies-geoffrey [email protected] davies-geoffrey [email protected] davies-geoffrey @gdtrading.co.uk davies-geoffrey [email protected] davies-geoffrey [email protected] davies-geoffrey @slate.gdtrading.co.uk davies-geoffrey [email protected] sales_gdtrading [email protected] sales_gdtrading [email protected] sales_gdtrading [email protected] sales_gdtrading [email protected] sales_gdtrading [email protected] sales_gdtrading #### MAKE MANUAL ENTRIES BELOW THIS LINE! #### What can be wrong? I don't know where to look next.
To understand why emails are sent to admispconfig please have a look here: http://www.howtoforge.com/forums/showthread.php?t=725 http://www.howtoforge.com/forums/showthread.php?t=821 To which email address did you try to send? I don't see it in the log excerpt.
I think the problem was that the maildir box was ticked on the ispconfig web control panel for the accounts. The emails were sent to both geoff(at)gdtrading.co.uk and admin(at)tidy-hosting.com. Do you know where these messages will have gone to, if anywhere and if I can post them to the correct accounts somehow.
I've a similar problem. On some account, the mail don't go to /var/www/webx/user/MailDir but in /var/mail/webx_user
Great, it's OK now. But the mail who are in /var/mail/ xxx stay in it or ISPConfig move it to /var/www/xxx/MailDir ?
Have a look at these scripts to convert the emails: http://www.gerg.ca/hacks/mb2md/ or http://batleth.sapienti-sat.org/projects/mb2md/
You have to move the mails manually. Tools like mb2md might help you: http://www.howtoforge.com/forums/showthread.php?t=1432 http://www.howtoforge.com/forums/showthread.php?t=835