Configuring sendmail to drop invalid users

Matt Brodeur mbrodeur+mailscanner at NEXTTIME.COM
Tue Sep 28 17:34:53 IST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Sep 28, 2004 at 04:17:14PM +0800, kfliong wrote:

> I now want to refine script by allowing only mails sent to valid users.
> Those mails send to invalid users currently goes to catchall account. And I
> have configured catchall to go to /dev/null. But this is not good enough as
> these mails are still keep in queues and then processed by mailscanner. Is
> there a way to drop these mails directly from MTA level?

   It sounds like you're looking for a way to have a relay look up
valid users during the SMTP transaction.  There are several ways to do
this, such as LDAP/NIS, script-generated access.db, or something
simple like this:
http://www.milter.info/milter-ahead/index.shtml
   This is a milter that calls ahead to your final delivery host to
check incoming addresses.  It's easy to set up and works well, as long
as the internal host accepts the "MAIL FROM: <>" syntax.

- --
Matt Brodeur                                                       RHCE
MBrodeur at NextTime.com                           http://www.NextTime.com

Give me ambiguity or give me something else.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBWZKtc8/WFSz+GKMRApl4AJ9Z8RkbMAfcMWGE0iG1OgDlsczDAwCghRZZ
FHYaKxTic02TtK7JbsBfgX0=
=CerH
-----END PGP SIGNATURE-----

------------------------ 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).



More information about the MailScanner mailing list