View previous topic :: View next topic |
Author |
Message |
concord Apprentice
Joined: 02 Oct 2005 Posts: 193
|
Posted: Tue Jan 17, 2006 10:55 am Post subject: 451 Server configuration error [solved] |
|
|
Dear Sirs:
I installed a mail sever with postfix+courier-imap+cyrus-sasl+mysql+php.
Everything is ok but no mail out of LAN can be received and the message is as following:
Out: 220 mail.xxxxxxxxxx.com ESMTP Postfix
In: HELO web15607.mail.cnb.yahoo.com
Out: 250 mail.xxxxxxxxxx.com
In: MAIL FROM:<xxxxxxxxx@yahoo.com>
Out: 250 Ok
In: RCPT TO:<xxxxxxx@mail.xxxxxxxxxxxx.com>
Out: 451 Server configuration error
In: QUIT
Out: 221 Bye
So, what shall I do?
Thnaks in advance! _________________ AMD64 Desktop
Pentium4 Laptop
Pentium3 Server
Last edited by concord on Tue Feb 07, 2006 5:02 am; edited 1 time in total |
|
Back to top |
|
|
magic919 Advocate
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Tue Jan 17, 2006 11:02 am Post subject: |
|
|
Check your Postfix logs. It should tell you what part of the config is choking it. |
|
Back to top |
|
|
concord Apprentice
Joined: 02 Oct 2005 Posts: 193
|
Posted: Wed Jan 18, 2006 3:14 am Post subject: |
|
|
magic919 wrote: | Check your Postfix logs. It should tell you what part of the config is choking it. |
Thanks!
Would you please teach me how to check Postfix logs? _________________ AMD64 Desktop
Pentium4 Laptop
Pentium3 Server |
|
Back to top |
|
|
magic919 Advocate
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Wed Jan 18, 2006 7:14 am Post subject: |
|
|
Logging is generally done in files contained in /var/log/. Standard would be for mail to be logged in /var/log/maillog. This being Gentoo it would depend how you set up the logging (syslog). If you find few logs in there have a look for /var/log/messages - you may have one big log with everything. Run ls -lrt in there to see which log was updated last (will be the one at the bottom after that command).
To check a log as it happens type
tail -f -n 200 /var/log/maillog
It will show you the last 200 lines of the file and keep following the file as more entries appear. |
|
Back to top |
|
|
concord Apprentice
Joined: 02 Oct 2005 Posts: 193
|
Posted: Wed Jan 18, 2006 8:18 am Post subject: |
|
|
magic919 wrote: | Logging is generally done in files contained in /var/log/. Standard would be for mail to be logged in /var/log/maillog. This being Gentoo it would depend how you set up the logging (syslog). If you find few logs in there have a look for /var/log/messages - you may have one big log with everything. Run ls -lrt in there to see which log was updated last (will be the one at the bottom after that command).
To check a log as it happens type
tail -f -n 200 /var/log/maillog
It will show you the last 200 lines of the file and keep following the file as more entries appear. |
Thanks!
In /var/log/message, I fund following word dated today:
Login, user=xxxx, ip=[::ffff:127.0.0.1], header=0, body=0, time=0
Failed to create cache file:maildirmatch
Error: Import/output error
I have double checked my two server (one at home, another at my office. The one in office is health for mail server. But the one in home is not.)
all the attributions are equal for .maildir and .maildir-sent belong to root and normal user
Thanks so much again! _________________ AMD64 Desktop
Pentium4 Laptop
Pentium3 Server |
|
Back to top |
|
|
concord Apprentice
Joined: 02 Oct 2005 Posts: 193
|
Posted: Fri Jan 20, 2006 5:48 am Post subject: |
|
|
magic919 wrote: | Check your Postfix logs. It should tell you what part of the config is choking it. |
Dear magic919:
After several correction for typo mistake in /etc/postfix/master.cf. The problem resolved.
Thanks! _________________ AMD64 Desktop
Pentium4 Laptop
Pentium3 Server |
|
Back to top |
|
|
magic919 Advocate
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Fri Jan 20, 2006 8:26 am Post subject: |
|
|
Glad to hear it's all fine now. Enjoy Postfix |
|
Back to top |
|
|
|