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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-22-2007, 03:36 PM
|
#1
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Rep:
|
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?
|
|
|
10-22-2007, 03:58 PM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
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?
|
|
|
10-22-2007, 04:01 PM
|
#3
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Original Poster
Rep:
|
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.
|
|
|
10-22-2007, 05:07 PM
|
#4
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
depends on your distro, but something like /var/log/maillog
|
|
|
10-29-2007, 06:03 PM
|
#5
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Original Poster
Rep:
|
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.
|
|
|
10-30-2007, 05:17 AM
|
#6
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
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
|
|
|
10-30-2007, 04:07 PM
|
#7
|
LQ Newbie
Registered: Sep 2007
Posts: 13
Original Poster
Rep:
|
I think my Postfix version is 2.2.10. Do you think I can upgrade it keeping the config?
|
|
|
10-31-2007, 12:43 AM
|
#8
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
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 02:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|