Fetchmail/Sendmail rejects

Malcolm Kay malcolm.kay at internode.on.net
Sat Aug 14 17:18:22 PDT 2004


On Sunday 15 August 2004 00:12, Lowell Gilbert wrote:
> Alex de Kruijff <freebsd at akruijff.dds.nl> writes:
> > On Sat, Aug 14, 2004 at 05:40:58PM +0930, Malcolm Kay wrote:
> > > Is there some reasonable way of disposing of these messages.
> >
> > Fetchmail (nor getmail) will do this for you.
>
> Specifically, see the "SPAM FILTERING" section of the fetchmail(1)
> manual, and the --antispam option.
>
> Figure out what kind of error response sendmail is giving for the
> problem messages, and make sure fetchmail knows that it is allowed to
> throw those messages away.

On Sunday 15 August 2004 04:15, SD wrote:
>
> "-Z 451" on cli will have fetchmail trash all messages for which MTA
> returns code 451. There's an equivilent fetchmailrc option (antispam
> iirc).

Thanks guys for the responses -- this really looks the way to go.

Does anyone know how sendmail distinguishes between:
 reject=451 4.1.8 Domain of sender address ................ does not resolve
 reject=553 5.1.8 .......... Domain of sender address .............. does not exist
It seems the former is to be interpreted as a 'temporary' condition while the latter
is to be interpreted as 'permanent' (and is by default deleted by fetchmail)?

Thanks

Malcolm



More information about the freebsd-questions mailing list