LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Postfix error: /usr/lib/postfix/smtpd pid 7529 exit status 1 (https://www.linuxquestions.org/questions/linux-networking-3/postfix-error-usr-lib-postfix-smtpd-pid-7529-exit-status-1-a-553769/)

Chiragrs 05-14-2007 10:37 AM

Postfix error: /usr/lib/postfix/smtpd pid 7529 exit status 1
 
May 14 11:33:30 localhost postfix/master[7498]: warning: process /usr/lib/postfix/smtpd pid 7529 exit status 1
May 14 11:33:30 localhost postfix/master[7498]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

When I tail the mail.log file, I notice these errors. I think this is the reason why I am unable to receive mail as the receiver SMTP is unable to respond to the sender. How do I fix this error?

Thanks in advance.

Berhanie 05-14-2007 09:49 PM

Look a few lines earlier in the log for the cause.

eddiep 09-15-2007 06:52 AM

I have the same problem on a Mandriva 2007.0, the /var/log/mail/warnings shows those messages. There is nothing else in the log, but these messeges for every smtp connection is established:

Sep 15 14:31:43 bahn postfix/master[20118]: warning: process /usr/lib/postfix/smtpd pid 20301 exit status 1
Sep 15 14:31:43 bahn postfix/master[20118]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Sep 15 14:34:33 bahn postfix/master[20581]: warning: process /usr/lib/postfix/smtpd pid 20588 exit status 1
Sep 15 14:34:33 bahn postfix/master[20581]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

SMTP connection then dies instantly with no other messages.
Sending/Receiving mail between local users is OK. Sending mail to external mail adresses (ex. abcde@gmail.com) is OK.

Receiving mail from any external sourse is impossible, becouse stmp connection dies.

au_hank 09-15-2007 07:07 AM

smtpd is only responsible to receive email, so it won't affect you sending out email.

don't know what make your smtpd exit but I suggest you check your config file or change log level for more details

Berhanie 09-15-2007 08:44 AM

If there is nothing else in the logs, then the mail error logs might be in a different file. Take a look at /etc/syslog.conf and try to find a line like:
Code:

mail.err      /var/log/something
You may even have a file that catches all errors. It would appear like this in syslog.conf:
Code:

*.err      /var/log/something
Or, just grep all your logs for the error:
Code:

egrep -r '(error|fatal|panic):' /var/log

eddiep 09-15-2007 09:29 AM

I found the problem !!!!!!!!

There was an error in one of the IP-s for the "my_networks" variable in main.cf

Thanks.

Error was logged in /var/log/mail/errors ... :)

Berhanie 09-15-2007 09:48 AM

Congratulations. Good job!

AnRkey 05-16-2008 12:42 AM

RE: My fix
 
I fixed this problem as follows.

from the command prompt,
Code:

sudo nano /etc/postfix/main.cf
and then I set the mynetwork = 127.0.0.1/8 bit in the file to match my network like this,
Code:

mynetworks = 192.168.0.0/16
This works on Ubuntu 7.10 but I am sure it works on many other distros.

You can get more info for Postfix on Ubuntu here >> https://help.ubuntu.com/community/Postfix

I skipped the "Configure Postfix to do SMTP AUTH using SASL (saslauthd):" part for my setup as I will only be allowing internal connections to my mail server and I am using Fetchmail.

R


All times are GMT -5. The time now is 01:46 AM.