Next
Previous
Contents
Every Administrator who has tried to receive e-mail, for more then one
recipient, through a single mailbox from the provider, knows the problems
about multi-mail-drop and mail-loops. After reading tons of discriptions
about envelope and header addressing,there is still no real solution in sight.
For example, you have registered a domain with a provider and you have a
mailbox with that provider, in which all mail for this domain comes in. You
have set up Sendmail and Fetchmail to receive mail from the mailbox
and deliver it to the local mailboxes.
Everything works fine till the first user wants to receive mail from a
mailing list. When this type of mail comes in, Sendmail reads the address
of the mail list within the "To:" header and sends the mail back to mail list.
From the list, the mail is sent to all recipients again and to us. This type
of mail will loop 20 or 30 times before detected by the administrator
and the loop is stopped.
To avoid such loops for more than one recipient,I have written this mail
filter. The mail filter searches for a specified domainpart in the e-mail
addresses and replaces the original "To:" line with the mail addresses that
fit the domain. The filter also searches for matching envelope addresses
and adds the first matching found to the "To:" line.
- Prepare mails for deliver after fetching them from remote mailbox
- Prevent mail-loops by rewrite To:-line to include only receipients of a given
domain
- Rewrite domainpart from offical domain to local domain
- Redirect mails to a given address
- Detect invalid mailheader and send to postmaster
- Use SMTP or local MDA for resending mails
- Replace VB-Worm-Virus typical file extensions with .txt
- filter multiple domains from one multidrop mailbox
- Disable <iframe> and <script> tags in HTML mail (Nimda Virus)
- Domain-routing (replace domain with another)
- From address (sender or domain) spam filter
- Detect X-Mailer: ...Mass Sender... headerlines (Spam)
- Scan for virus in attachments with external scanner
See ChangeLog from the archive
1.2.1 Important changes:
Version V0.9.2:
Version V0.9.3:
Next
Previous
Contents