OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Reject when no from

From: Curtis Vaughan (cavaughangmail.com)
Date: Mon Apr 02 2007 - 13:16:46 CDT


These are legitimate messages precisely having to do with a
postmaster informing the sender that the email has not been received
within 30 days. The problem is that it goes to my boss and they drive
him crazy, which in turn drives me crazy. The easy solution is just
to have these notifications go to me. Then if something in fact does
need to be done I can address the issue.

Ronnie Red sent the following reply I think to me directly and not to
the list. However, this doesn't seem to be the correct solution.

> You must accept from the null sender. <>
> That is the address used to return undeliverable mail.
>
> However you can limit it to on one recipient . (It should only be
> going to one address.)
> I believe it is:
>
> In main.cf
> Under the section:
> smtp_recipient_restrictions=
> put this line:
> reject_multi_recipient_bounce
> somewhere after permit_mynetworks
>
> Someone correct me if I'm wrong.

On 31.03.2007, at 2:07, Magnus Bäck wrote:

> On Saturday, March 31, 2007 at 01:56 CEST,
> Curtis Vaughan <cavaughangmail.com> wrote:
>
>> Trying to figure out how to reject messages that are from "from=<>"
>
> No, those are bounces that must not be rejected.
>
>> In fact I would like it to also forward any such message to me, so
>> that I can preview them and forward them to the appropriate recipient
>> if they are legitimate emails.
>
> You could use the REDIRECT feature of an access map used together
> with a check_sender_access restriction.
>
> But why go through all this trouble? Let illegitimate messages get
> caught by your regular spam checks.
>
> --
> Magnus Bäck
> magnusdsek.lth.se