LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 12-06-2001, 11:27 AM   #1
Stingreen
Member
 
Registered: May 2001
Location: Baltimore,MD,USA,Earth,Some Galaxy, We haven't gone that far!
Distribution: Redhat 7.3
Posts: 103

Rep: Reputation: 15
Where is the "badmail" kinda folder in rh 7.1?


A quick question,
Where does the bad mails go? into which folder?
Thanks.
Well, actually one more thing..
How can I set a mail to be sent to the badmail folder if the recipients in unavaible, so that it won't keep the spool folder busy.

Last edited by Stingreen; 12-06-2001 at 11:51 AM.
 
Old 12-06-2001, 12:43 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Sendmail keeps its deferred mail in /var/spool/mqueue (IIRC), a queue that spans 5 days std (queuereturn). After 5 days itll send the mail back to the user with a warning message it can't be sent. All timeout functions are configurable in /etc/sendmail.cf: Timeout.queuereturn and Timeout.queuewarn.
Depending on your version of sendmail this may be chalked up as:
O Timeout.queuereturn=5d
O Timeout.queuewarn=4h
or
OT5d/4h
Queuewarn means a warning will be sent after the msg being in the queue for 4 hrs. Changing from 5 days to something too low isn't good, a mailserver could be down for just a day.
Don't forget to reload sendmail for the config to stick.

Last edited by unSpawn; 12-06-2001 at 12:45 PM.
 
Old 12-06-2001, 12:56 PM   #3
Stingreen
Member
 
Registered: May 2001
Location: Baltimore,MD,USA,Earth,Some Galaxy, We haven't gone that far!
Distribution: Redhat 7.3
Posts: 103

Original Poster
Rep: Reputation: 15
Got it.. thanks,
For this reloading issue,
What should be the reloading interval as in time??

PS:, we're currently mass mailing.. sending about 100.000 e-mails at a time.
Thank you.
 
Old 12-06-2001, 01:04 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Depends I think on whats the average.
I think it would be best to let it run, and have a daily/hourly "sendmail -bp | head -n 1 && sendmail -bp | grep "@" | gawk '{print $1}'", this will return the number of messages still in the queue, and the addresses its holding. Then decide to either delete from the queue or let it run for a few more hours depending on how many times you try to clean the queue (sendmail -q, IIRC).
 
Old 12-06-2001, 01:11 PM   #5
Stingreen
Member
 
Registered: May 2001
Location: Baltimore,MD,USA,Earth,Some Galaxy, We haven't gone that far!
Distribution: Redhat 7.3
Posts: 103

Original Poster
Rep: Reputation: 15
great..
Thank you unSpawn..
 
  


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
"rm -rf /tmp", now Evolution shows "(no folder displayed" Ed-MtnBiker Linux - Software 7 04-10-2006 05:05 PM
System Information Made Easy : Contains of "/proc" folder in details thandermax Linux - News 4 01-17-2006 06:16 PM
"Mount" a folder into my ftp folder ? 0001001 Linux - General 3 11-27-2005 05:23 AM
How to creat a gnome desktop shortcut to "my_music" folder? hkl8324 Linux - Newbie 1 07-04-2005 01:01 AM
Mandrake 10 "mount smbfs" the win2000 folder from vmware error wuyeguo Mandriva 1 03-19-2004 07:20 PM


All times are GMT -5. The time now is 02:49 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