LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-14-2007, 11:37 AM   #1
Chiragrs
Member
 
Registered: May 2007
Distribution: Kubuntu
Posts: 43

Rep: Reputation: 15
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.
 
Old 05-14-2007, 10:49 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Look a few lines earlier in the log for the cause.
 
Old 09-15-2007, 07:52 AM   #3
eddiep
Member
 
Registered: Aug 2005
Distribution: Mandriva
Posts: 58

Rep: Reputation: 17
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.
 
Old 09-15-2007, 08:07 AM   #4
au_hank
LQ Newbie
 
Registered: Sep 2007
Posts: 17

Rep: Reputation: 0
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
 
Old 09-15-2007, 09:44 AM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
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
 
Old 09-15-2007, 10:29 AM   #6
eddiep
Member
 
Registered: Aug 2005
Distribution: Mandriva
Posts: 58

Rep: Reputation: 17
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 ...
 
Old 09-15-2007, 10:48 AM   #7
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Congratulations. Good job!
 
Old 05-16-2008, 01:42 AM   #8
AnRkey
Member
 
Registered: Dec 2004
Location: UK
Distribution: Ubuntu, Fedora and not for long, M$ SuSE
Posts: 59

Rep: Reputation: 15
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
 
0 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix/smtpd lost connection after CONNECT [GOD]Anck Linux - Security 1 12-18-2011 03:10 PM
[Postfix/SMTPD] Getting no AUTH from server; open relay superhausi Linux - Security 2 11-19-2008 06:37 PM
Sending mail via Postfix smtpd through remote host requiring authentication Saffsd Linux - Networking 0 01-26-2004 06:05 AM
can't start postfix ./postfix status error jules_fraser Linux - Software 3 12-06-2003 07:33 PM
Smtp vs. Smtpd on Postfix BeerBust Linux - Software 1 10-10-2003 12:07 PM


All times are GMT -5. The time now is 12:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration