PDA

View Full Version : Moving server mail now broken


seadap
10th February 2007, 22:30
Hello all. I've successfully moved my sites to a new server but can't seem to get mail working.

My email client reports "No such file or directory." A little research revealed that the directories aren't created until a new mail arrives. When I try to send myself an email from a yahoo account the mail.log shows:


Feb 10 21:47:37 ironman postfix/smtpd[5125]: NOQUEUE: reject: RCPT from web55705.mail.re3.yahoo.com[216.252.110.36]: 554 <mymail@mydomain.net>: Relay access denied; from=<seadap06@yahoo.com> to=<mymail@mydomain> proto=SMTP


I changed the email address to mymail@mydomain to prevent spam. Otherwise in the log it's the correct address. Where do I start with this one?

seadap
10th February 2007, 23:08
I solved the relay access denied by fixing some typos in my postfix/main.conf file. Now the log shows:


Feb 10 22:43:07 ironman postfix/smtpd[6516]: connect from web55701.mail.re3.yahoo.com[216.252.110.32]
Feb 10 22:43:07 ironman postfix/smtpd[6516]: E310939646C: client=web55701.mail.re3.yahoo.com[216.252.110.32]
Feb 10 22:43:08 ironman postfix/cleanup[6517]: E310939646C: message-id=<549610.4635.qm@web55701.mail.re3.yahoo.com>
Feb 10 22:43:08 ironman postfix/qmgr[6425]: E310939646C: from=<seadap06@yahoo.com>, size=1822, nrcpt=1 (queue active)
Feb 10 22:43:08 ironman postfix/smtpd[6516]: disconnect from web55701.mail.re3.yahoo.com[216.252.110.32]
Feb 10 22:43:08 ironman postfix/pickup[6424]: 7420339646F: uid=10001 from=<web1_scott>
Feb 10 22:43:08 ironman postfix/cleanup[6517]: 7420339646F: message-id=<20070211064308.7420339646F@ironman.reevesnet.net>
Feb 10 22:43:08 ironman postfix/qmgr[6425]: 7420339646F: from=<web1_scott@ironman.reevesnet.net>, size=391, nrcpt=1 (queue active)
Feb 10 22:43:08 ironman postfix/local[6534]: 7420339646F: to=<admispconfig@localhost.localdomain>, relay=local, delay=0, status=sent (delivered to command: /usr/bin/procmail -f-)
Feb 10 22:43:08 ironman postfix/qmgr[6425]: 7420339646F: removed
Feb 10 22:43:17 ironman postfix/local[6518]: E310939646C: to=<web1_scott@ironman.reevesnet.net>, orig_to=<scott@reevesnet.net>, relay=local, delay=10, status=sent (delivered to command: /usr/bin/procmail -f-)
Feb 10 22:43:17 ironman postfix/qmgr[6425]: E310939646C: removed


Seems a little strange that it's moving the mail where it is doesn't it? Not sure how to fix it. Digging deeper.

seadap
10th February 2007, 23:28
As it turns out, the problem was two fold. They typos in the main.cf was the first part but secondly I neglected this:


*Please note: You do not have to do this if you intend to use ISPConfig on your system as ISPConfig does the necessary configuration using procmail recipes. But please go sure to enable Maildir under Management -> Server -> Settings -> EMail in the ISPConfig web interface.


In the perfect setup guide.