[Mimedefang] expand recipients (was Re: sanity Check: MD -> SpamAssassing checks ~/.spamassassin/user_prefs)

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Fri Aug 3 03:10:37 EDT 2012


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

On Thu, 2 Aug 2012, Kevin A. McGrail wrote:

> Or just shell out and run sendmail -bv [email address]

I have a sendmail process for VRFY and EXPN running on localhost*) for 
this purpose, so you don't have to shell out. But parsing becomes more 
problematic, because you need to detect "local" recipient from the final 
destination domain. There is no "deliverable: mailer local".

*) There had been a post about IP-based protection for EXPN

# Hide EXPN command for non-locals
Scheck_expn
R$*             $: $&{client_addr}
R127.0.0.1      $@ OK
R10.1.1.1       $@ OK   some backup MX
...
R$*             $#error $@ 5.5.1 $: "502 Command not implemented"

so one could have EXPN enabled in any MTA or even protect it with 
authentification.

Kind regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBUBt5bf41+pMevzVSAQL9wQf8C6Ran2BoFnr/JEoy83ABk+th5hVVkAMr
b1DcM/p3Fbps7WFNtekVaGkX47xn2SP2HyjH2HE2VBjNsr4aEr1X/liQapAq8OBk
Zf8RdcrlYLVKgeXcFFVLM4LJPvKC6jKKXDQf0YjmUIPryPYSUYAZyG/f+NaUGhwI
i7IgBhzBYvgB4w6BtAl40hz89yq0MtH18YwgbDlLkU/tOiKhd49gLqwHzLODEY1R
WJ5nyka+tcUXclrcAE2AnneCeOD7yQPdYySuepQ81mO3scCP9l2HzsA+26Ej6c5Q
Xzxv263RyfqJoE3lQrGXoPdpQQETfnbguFylOS3SH3NzUoy5jScWvg==
=J2Ud
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list