This would be inappropriate because your MTA has already accepted the mail
for delivery, which is usually assumed to mean that the address is valid.
While your bounce message might be useful to a human recipient, if you're
hoping to convince a spam machine or mailing list to stop sending to that
address you would need to block its receipt by the MTA in the first place.

If you're using Postfix, you can get the MySQL patch which allows you to
have every incoming address looked up in the aliases table, and only
accepted if there is a valid entry. Check the archives for more detail...

Aaron


On Tue, 15 Apr 2003, Eric Soroos wrote:

> > Hi,
> >
> > sure that's possible: if you create an alias and the deliver_to field
> > starts with a pipe sign ('|'), a pipe will be opened to the command
> > following the pipe sign and the mail will be send to it. So if you
> > create an alias using dbmail-adduser like this:
> >
> > dbmail-adduser f [EMAIL PROTECTED] '| cat > /dev/null'
> >
> > all the mail to [EMAIL PROTECTED] will be forwarded to /dev/null.
> >
> >
>
> Is there a way to bounce such mail with an Error: No Such User?  (similar
> to the way that sendmail does it in the virtusertable?)
> eric
>
>
> _______________________________________________
> Dbmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
>

Reply via email to