Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-28-2001, 12:02 PM   #1
LQ Newbie
Registered: May 2001
Posts: 6

Rep: Reputation: 0

Hello Guys,

We have a portal site with 90,000 members.
We just bought a linux box (came installed) to use as a mail server. We don't have any problems with regular mails (the ones that we send as autoresponder) but we had problems when trying to send newsletter to our members (90,000 e-mails).

We have a code that sends 1000 e-mails every 15 minutes. We sent the first batch without any problem but we had an error with the other batches. The log file says "Internal Error: pending mail operations must be completed."

I guess there should be a setting somewhere enabling us to send these newsletters. Any ideas???

Old 05-28-2001, 01:05 PM   #2
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
Is that the whole log errorline? It should have some more info. U could try temporarily setting /etc/syslog.conf mail logging to read:
" /var/log/sendmail-test.log"
or so to have it output more messages while u try a rerun of ure batch.

"Internal Error: pending mail operations must be completed." could be sendmail trying to send messages that are already in the queue. Why they are still there I dont know, might be resolving a hostname, user@host or whatever else. Sendmail has got a debug (-d) option.
So try running a separate "sendmail -v -bp", and itll show u whats in the queue & exit. Then run a separate "sendmail -v -q" which will start, not fork into the background, try to clean up the pending queue & exit.

*Read the docs on maxqueuesize, timeouts and warning options.

Old 05-28-2001, 01:22 PM   #3
LQ Newbie
Registered: May 2001
Posts: 6

Original Poster
Rep: Reputation: 0
Ok. I have to clean up the queue I guess. Which command should I use?
There are some old e-mail addresses on our database. I guess these are the ones that still stays on the queue. I'll clean them and try again.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Send Mail problem nkutty Linux - Security 2 11-28-2005 03:28 AM
Shel script mail send ("/" in mail address) problem anaid Linux - Networking 3 08-23-2005 07:41 AM
Evolution and Send Mail Problem shanghai Linux - Software 1 06-11-2003 08:41 PM
Send Mail Problem mallikarjun Linux - Networking 4 05-17-2002 09:22 AM
Send mail configuration problem saravanan1979 Linux - Networking 3 05-17-2002 08:21 AM > Forums > Linux Forums > Linux - General

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

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