LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2007, 04:36 PM   #1
carstos
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Rep: Reputation: 0
Too many messages sent blocked Postfix


Hello,

I have Postfix/Cyrus configuration installed and yesterday I tried to send 500 emails withing 1 min. It seems Postfix blocked and I can't send emails with it. After I run mailq command I saw 475 messages in queue. After 10 ours there are only 417. Can I rush this process? Is there a way to prevent this thing from happening in the future?
 
Old 10-22-2007, 04:58 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try postqueue -f to flush the queue, but you really need to work out what is causing the delay - is it a DNS issue, etc., etc.

What do you logs say?
 
Old 10-22-2007, 05:01 PM   #3
carstos
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you for reply. Which logs should I check? There are too many for my knowledge. Maybe I did send too many emails too fast.
 
Old 10-22-2007, 06:07 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
depends on your distro, but something like /var/log/maillog
 
Old 10-29-2007, 07:03 PM   #5
carstos
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
Hello,

I read about my problem on the internet. It seems it's a bug in Postfix. Let's say I want to send 100 emails, with 1 sec pause after each one. The first one is sent and all the other go to mail queue with status/error "delivery temporarily suspended: unknown mail transport error". In 2-3 days all emails are sent, but this is not a good behavior.

Do you think is possible to upgrade Postfix (using yum) without loosing the existing configuration files? I am afraid to update, maybe I will have to reconfigure everything again.
 
Old 10-30-2007, 06:17 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What version are you using. Depending on the version you move from, the config file may work or may need updating. There an update utility, but I can't recall the name.

You could either simply save your current configuration and replace it after the upgrade (depends how you upgrade), but a better way would be to simply look at the output of

postconf -n

which will tell you what you've changed from default. Note that this won't show changes to master.cf
 
Old 10-30-2007, 05:07 PM   #7
carstos
LQ Newbie
 
Registered: Sep 2007
Posts: 13

Original Poster
Rep: Reputation: 0
I think my Postfix version is 2.2.10. Do you think I can upgrade it keeping the config?
 
Old 10-31-2007, 01:43 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I can't see when 2.2.10 came out, but I would think the config should work with and update.

make sure you keep a copy of postconf -n in case you need to create a new one
 
  


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: User messages are okay; but error messages themselves seem to be bouncing jgombos Linux - Server 3 03-03-2007 03:21 PM
iptable messages in logfile for blocked requests to my ip adress LiNuXkOlOnIe Linux - Networking 7 12-29-2005 02:52 PM
postfix sending double messages sirjosi Linux - Networking 0 01-13-2004 08:29 PM
Postfix Mail server on blocked port 25 IcemanF-22 Linux - Networking 7 08-31-2003 07:25 PM
Postfix custom messages fbennett Linux - Software 4 04-24-2003 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration