Normally, when delivering mails to destination host by any mail transfer agent (MTA), MTA keeps track of delivery details such as delivery item location, delivery time stamps, particular mail IDs, and delivery attempt status. If a problem occurs when sending mails, normally an attempt should be made a later time and MTAs should queue up all bouncing mails on a particular time for a delivery retry.
With this scenario at hand, there are sendmail directives that can be configured to instruct sendmail not to complain to sender and bounce failing mail immediately. Sendmail can also be configured to queue mails temporarily for a certain period of time while a delivery retry is being attempted.
Sendmail Tweak for Queueing Delay Time
Here are a few sendmail directives responsible for queueing on failed mails. Backup and modify your /etc/mail/sendmail.mc
Sendmail directive : confTO_QUEUEWARN
Defining sendmail directive confTO_QUEUEWARN tells sendmail not to complain and bounce mails immediately if it wasn't able to send mails to destination host for a particular period of time. This is most useful when computer hosts from your local network are sending mails using your server as their SMTP gateway while your sendmail SMTP server has no internet connection.
define(`confTO_QUEUEWARN', `4h')
The above sendmail directive instructs sendmail not to complain immediately for any delivery problems and queue mail temporarily to a maximum of 5 hours for later delivery. On most cases, sendmail sends a warning notice to sender informing him that there is problem delivering his previous emails and an attempt to deliver the mail would be made at a later time.
Sendmail directive : confTO_QUEUERETURN
If all sendmail attempts to deliver a particular mail during the 'confTO_QUEUEWARN' period of time, this directive instructs sendmail to bounce all emails with delivery problems to its sender and remove them from sendmail queues.
Naturally, all mails having delivery problems could not be kept or queued up into the sendmail server for all the time, they need to be either delivered successfully or bounced back to its sender for delivery failure status.
define(`confTO_QUEUERETURN', `6h')
The above sendmail directive instructs sendmail to bounce mails with delivery problems and deliver it back to its sender after 24 hours or 1 day delivery attempts.
Failed delivery attempts can be caused by a lot of reasons, one of them is internet connection or connectivity status. This could be your internet connection status, the host destination connection status, and the connection between the said two hosts.
If you configure sendmail to bounce back all failing mails immediately, you could get a lot of bounced back mails specially if you have intermittent internet connection or unpredictable ISP connection. Remember that instructing sendmail to bounce back failing mails does not mean less server load.
If you configure sendmail to bounce back email after a week, your sender could be notified on a very late period of time for a bouncing email. Too high value could also clogged down your email storage and could probably increase average server load.
For a full blown stand alone SMTP server, simply tweak your values with high consideration to your SMTP transaction rate, server storage mail capacity, server average load rate and resources.
Subscription
Categories
- HowTos (612)
- Linux Devices (40)
- Linux Diggs (620)
- Linux News (1541)
- Linux Videos (24)
Recent Posts
Blog Archive
-
▼
2008
(2301)
-
▼
July
(297)
- How To Kill Application Process ID (PID) The Faste...
- How To Install Fedora 9 From The Internet
- How To Install PHP5 and Apache HTTP Server
- How To Display The Number of Processors in Linux
- How To Prevent Alt+F1 and Alt+F2 TTY Console Login...
- How To Install Text-based File Manager
- How To Delete Linux Files Older Than 360 days
- How To Install VirtualBox on Fedora 9
- HowTo: Delete All Thumbs.db Recursively
- HowTo: Delete All Thumbs.db Recursively
- 10 Cool Open Source Easter Eggs
- KDE 4.1 rocks the desktop
- 10 Cool Open Source Easter Eggs
- KDE 4.1 rocks the desktop
- Roku's Netflix Player: a hands-on review
- PostPath cracked Exchange protocols for Postfix-ba...
- Yahoo, HP, Intel Give Ivory Towers a Stairway to t...
- Portugal Rings Up Big Order for Intel's Classmate PCs
- SSD vs. SATA RAID: A Performance Benchmark
- Roku's Netflix Player: a hands-on review
- PostPath cracked Exchange protocols for Postfix-ba...
- Yahoo, HP, Intel Give Ivory Towers a Stairway to t...
- Portugal Rings Up Big Order for Intel's Classmate PCs
- Floating Point Math in Bash
- SSD vs. SATA RAID: A Performance Benchmark
- How To Mount Remote Folder Location Via SSHFS
- How To Protect SSH From Multiple and Parallel Coor...
- How To Enable IP Forwarding in Linux
- spell check text file from terminal
- spell check text file from terminal
- How To Allow and Deny SSH Access To Specific Users
- Customer demand adds Linux to industrial computer ...
- Is OpenSolaris in hot water?
- Anatomy of the Linux file system
- Linux development on the PS 3 More than a toy - pa...
- Quotes from Bill Gates, Steve Jobs and Linus Torvalds
- Under Pressure, ISP Admits Secret Web Snooping in ...
- Open Web Foundation to Play Freedom Cop for Net Specs
- Customer demand adds Linux to industrial computer ...
- Is OpenSolaris in hot water?
- Anatomy of the Linux file system
- Linux development on the PS 3 More than a toy - pa...
- Quotes from Bill Gates, Steve Jobs and Linus Torvalds
- Installing Applications on Linux
- Under Pressure, ISP Admits Secret Web Snooping in ...
- Open Web Foundation to Play Freedom Cop for Net Specs
- Microsoft Becomes Just a Little More Like Apple
- Tux3, a Versioning Filesystem
- Anatomy of Linux loadable kernel modules
- Shuttleworth: Microsoft Does Not Want War
- The Open Call
- Google Gadgets for Linux -- Almost There
- Cloud Computing: When Computers Really Do Rule
- Consoles Sell Like Hotcakes, Yahoo Cuts a Deal, Sy...
- Microsoft Becomes Just a Little More Like Apple
- Tux3, a Versioning Filesystem
- Anatomy of Linux loadable kernel modules
- Shuttleworth: Microsoft Does Not Want War
- The Open Call
- Google Gadgets for Linux -- Almost There
- Cloud Computing: When Computers Really Do Rule
- Consoles Sell Like Hotcakes, Yahoo Cuts a Deal, Sy...
- How To Install Adobe Flash Player 10 in Fedora
- How To Add and Install Alternative Liberation Fonts
- Digg it: Top 1 Supercomputer is powered by Fedora
- How To Send System Message To FTP Clients via TCP ...
- Intel Switches From Ubuntu To Fedora For Mobile Linux
- Intel Switches From Ubuntu To Fedora For Mobile Linux
- How To Create Separate SSH Log File for Specific S...
- How To Allow and Deny SSH Access To Selected Hosts...
- Fedora 10 - Friends, Freedom, Features, and First
- Fedora 10 - Friends, Freedom, Features, and First
- The Mess That is Linux Volume Management
- Are We About to Witness a Real OS X virus?
- Security is No Secret
- Enterprise Storage Solution Using Nand Flash and ZFS
- Shuttleworth Sets Bar For Linux 'Beyond Apple'
- Why We Still Need the iPhone App Black Market
- DragonFly BSD 2.0 Released
- Interview with Mandriva's KDE Developer Helio Castro
- Mandriva and PTech Announce Low-cost Desktop
- The Coco Bidet and Toilet Technology
- The Mess That is Linux Volume Management
- Are We About to Witness a Real OS X virus?
- Security is No Secret
- Enterprise Storage Solution Using Nand Flash and ZFS
- Shuttleworth Sets Bar For Linux 'Beyond Apple'
- Why We Still Need the iPhone App Black Market
- DragonFly BSD 2.0 Released
- Interview with Mandriva's KDE Developer Helio Castro
- Mandriva and PTech Announce Low-cost Desktop
- The Coco Bidet and Toilet Technology
- Automatix Comes to Fedora 9 - FedoMATIX
- Automatix Comes to Fedora 9 - FedoMATIX
- #1 Supercomputer in the World Runs Fedora
- #1 Supercomputer in the World Runs Fedora
- How To Install An Extremely Fast, Lightweight, But...
- How To Bypass DNS Log Monitoring By Your ISP
- Veteran developer ditches Microsoft for open source
- Why not learn a little language while you work, Am...
-
▼
July
(297)
Friday, July 11, 2008
How To Configure Sendmail For Queueing Delay Time
Subscribe to:
Post Comments (Atom)
ILoveTux - howtos and news | About | Contact | TOS | Policy
0 comments:
Post a Comment