- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mailing Loop Avoidance
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2001 12:13 PM
тАО12-31-2001 12:13 PM
Mailing Loop Avoidance
However, if a mail bounces from this list for any reason a mailing loop will be created since the return message goes back to root, which is then forwarded back to the list address. Repeat ad infinitum.
What is the best way to avoid this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2001 01:04 PM
тАО12-31-2001 01:04 PM
Re: Mailing Loop Avoidance
Make sure there aren't any errors ;-).
The elegant way:
Use procmail to add extended headers to the e-mail. Use the same recipe to distribute to the list. The recipe should anchor on the extended header and deliver mail to a local recipient (not the list) if the head is found.
Save a local copy for safe keeping.
The recipe might look something like this:
:0 c
* !^X-Loop: mail-to-root
| formail -A "X-Loop: mail-to-root" | $SENDMAIL -oi list@domain.com
:0
localmailbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2002 10:47 AM
тАО01-01-2002 10:47 AM
Re: Mailing Loop Avoidance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2002 11:05 AM
тАО01-01-2002 11:05 AM
Re: Mailing Loop Avoidance
What do you want the bounces to do? Do you want them sent back to the originating server (but not to root), or would you want them sent to a separate account?
When the messages arrive at your central server, what is the sender being set to? Is it a generic root@yourcompany.com, or root@host.yourcompany.com, or something else?
Rgds, Robin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2002 08:38 AM
тАО01-02-2002 08:38 AM
Re: Mailing Loop Avoidance
Thanks for the good procmail suggestion. Since we don't have procmail available on HP-UX by default, I'm holding this as a final option since implementing it enterprise-wide is likely to be more time/effort than just cleaning up from the ocassional mail storm.
Also, once we have an Exchange server involved the 25 max hops can get muddled since Exchange seems to be generating a fresh new no-hops message for each bounced mail. (Maybe mailing loop is the wrong term, perhaps mail amplifier is more descriptive...
Robin:
Unfortunately, I have little control over what happens to the bounces. They will be sent back to root at the original server by the Exchange server managing the mailing list.
The sender (From: line) is left unaltered (root@host.domain).