Stop Sendmail from bouncing unknown user?

Stewart M. Ives ivessm at softecusa.com
Wed Jan 5 14:10:19 GMT 2005


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Brian,

I'm no expert on sendmail but this might work for you.

In the sendmail.mc file I have put the following:

dnl # The following will route all mis-addressed mail to xxxxbad
dnl # account and NOT return a user unknown msg. Started 20041024
define(`LUSER_RELAY',`local:xxxxbad')

So far it has worked and routed all such mail to the account "xxxxbad".

Don't foget to create such an account.  Name it what ever you like.

I go into this account every once in a while and delete all the mail out of
it.

Don't forget to regen your sendmail.cf file after you change the .mc file.

Hope this helps.

stew

---------- Original Message -----------
From: Brian Lewis <test at NEXTMILL.NET>
To: MAILSCANNER at JISCMAIL.AC.UK
Sent: Wed, 5 Jan 2005 06:46:33 +0000
Subject: Stop Sendmail from bouncing unknown user?

> I would like to configure Sendmail outgoing to not generate a 'bounce
> reply' if the target user is 'unknown or invalid'.  Basically if Sendmail
> Outgoing is unable to deliver it then it should keep attempting to
> deliver, but if its told by the receiving server the user doesn't exist
> then I don't want it to reply back to the spammer that it doesn't
> exist, instead it should just discard the email.  Anyone know if
> Sendmail can be configured in this way?  Sick of seeing the server
> attempt to delivery thousands of invalid or unknown user replies
> usually to invalid FROM addresses.
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
------- End of Original Message -------

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list