Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
451 Server configuration error [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
concord
Apprentice
Apprentice


Joined: 02 Oct 2005
Posts: 193

PostPosted: Tue Jan 17, 2006 10:55 am    Post subject: 451 Server configuration error [solved] Reply with quote

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
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Tue Jan 17, 2006 11:02 am    Post subject: Reply with quote

Check your Postfix logs. It should tell you what part of the config is choking it.
Back to top
View user's profile Send private message
concord
Apprentice
Apprentice


Joined: 02 Oct 2005
Posts: 193

PostPosted: Wed Jan 18, 2006 3:14 am    Post subject: Reply with quote

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
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Jan 18, 2006 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
concord
Apprentice
Apprentice


Joined: 02 Oct 2005
Posts: 193

PostPosted: Wed Jan 18, 2006 8:18 am    Post subject: Reply with quote

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
View user's profile Send private message
concord
Apprentice
Apprentice


Joined: 02 Oct 2005
Posts: 193

PostPosted: Fri Jan 20, 2006 5:48 am    Post subject: Reply with quote

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
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Fri Jan 20, 2006 8:26 am    Post subject: Reply with quote

Glad to hear it's all fine now. Enjoy Postfix :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum