# return if ($SendmailMacros{daemon_name}) = "MSA"; You can't use arithmetic comparison on a string value: use "eq" instead:
return if ($SendmailMacros{daemon_name}) eq "MSA"; Also, there are Sendmail "auth" macros which are a more reliable method of determining who connected and how - they will give you a username, rather than this approach, which only shows that the sender was on an internal connection. Best Wishes, Paul. -- ------------------------------------------------------- Paul Murphy Head of I.T. Argenta Discovery Tel. 01279 645 554 Fax. 01279 645 646 _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com http://lists.roaringpenguin.com/mailman/listinfo/mimedefang