[Mimedefang] Small syntax question
Paul Murphy
Paul.Murphy at argentadiscovery.com
Mon Dec 11 15:16:17 EST 2006
# 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
More information about the MIMEDefang
mailing list