LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Too many messages sent blocked Postfix (https://www.linuxquestions.org/questions/linux-newbie-8/too-many-messages-sent-blocked-postfix-593749/)

carstos 10-22-2007 03:36 PM

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?

billymayday 10-22-2007 03:58 PM

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?

carstos 10-22-2007 04:01 PM

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.

billymayday 10-22-2007 05:07 PM

depends on your distro, but something like /var/log/maillog

carstos 10-29-2007 06:03 PM

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.

billymayday 10-30-2007 05:17 AM

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

carstos 10-30-2007 04:07 PM

I think my Postfix version is 2.2.10. Do you think I can upgrade it keeping the config?

billymayday 10-31-2007 12:43 AM

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


All times are GMT -5. The time now is 11:35 PM.