[Mimedefang] sanity Check: MD -> SpamAssassing checks ~/.spamassassin/user_prefs

David F. Skoll dfs at roaringpenguin.com
Thu Aug 2 13:23:27 EDT 2012


On Thu, 02 Aug 2012 13:13:45 -0400
"Kevin A. McGrail" <KMcGrail at pccc.com> wrote:

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

Which may not work 100%.  MD runs as "defang" and sendmail -bv is not
guaranteed to be accurate for non-root users:

$ /usr/sbin/sendmail -bv dfs at roaringpenguin.com
Notice: -bv may give misleading output for non-privileged user

Also, if you shell out, make sure you do NOT do something like:

      open(IN, "/usr/sbin/sendmail -bv $recipient|");

Reasons why left as an exercise for the reader.

Regards,

David.



More information about the MIMEDefang mailing list