Remove single recipient from multi-recipient envelope.

Glenn Steen glenn.steen at gmail.com
Mon Feb 27 22:43:10 GMT 2006


On 27/02/06, Nathan Olson <naolson at gmail.com> wrote:
> I need to remove a single recipient from a multi-recipient envelope.
>
> I tried a ruleset, highspam.rules:
> To: *@example.com delete
> FromOrTo: default deliver
>
> High Scoring Spam Actions = highspam
>
> When a message comes in that has envelope recipients
> foo at example.com and bar at somethingelse.com sendmail
> creates a single queue file and a single data file.  I'd like
> just foo at example.com stripped off before the message is placed
> in the outgoing sendmail queue.  Currently, the whole message
> is deleted.
>
> Is this possible through MailScanner and/or sendmail?
>
> Thanks,
> Nate
Why not just make an alias for foo at example.com to /dev/null? Simple
and effective:-)

--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list