On Sunday 15 August 2004 00:56, Malcolm Kay wrote:
> On Sunday 15 August 2004 04:34, you wrote:
> > Malcolm Kay wrote:
> > > I run fetchmail in daemon mode to download
> > > POP3 mail from my ISP.
> > >
> > > Sendmail rejects many messages as for example:
> > > Aug 14 16:59:33 beta sm-mta[35000]: i7E7DYje035000:
> > >   ruleset=check_mail, arg1=<[EMAIL PROTECTED]>,
> > >   relay=localhost.home [127.0.0.1], reject=451
> > >   4.1.8 Domain of sender address
> > > [EMAIL PROTECTED] does not resolve
> > >
> > > I am quite happy to have these rejected but it seems they don't
> > > get deleted at the ISP end and clog up the mail box, I think
> > > eventually confusing fetchmail.
> > >
> > > Is there some reasonable way of disposing of these messages. I
> > > would prefer not to download these into my normal user mailbox
> > > but I would be quite happy to divert them to some pseudo user
> > > setup for the purpose. I would imagine sendmail can be coaxed
> > > into doing this, but how?
> > >
> > > Responding to 2 or 3 lists using a valid e-mail address means
> > > that I receive a lot of spam including much with unresolvable
> > > addresses.
> >
> > have a look at mail/filtermail
>
> I've just downloaded this port and find it quite interesting. However
> it seems not to offer very much in this particular case as the
> criteria used are similar to those used by my ISP to reject mail --
> I'm able to set the level. But I don't see a way of getting
> filtermail to reject based on domain name resolution.
>
> Others have pointed out that spam filtering in fetchmail can be used
> to delete mail based on the error code returned by sendmail. It seems
> it might also be reasonable to change sendmail.cf to issue a 553
> error in place of the 451 as the 553 invoking messages are deleted by
> fetchmail by default.

No need. Assuming you do want to reject (trash) the email you can 
specify multiple return codes to fetchmail.

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to