[Mimedefang] Access to sendmail marco client_addr

2014-05-05 Thread Benoit Panizzon
Hello We use MIMEdefang in conjunction with postfix. Postfix does not set a macro if_addr. According to the Postfix Milter documentation, all milters should use client_addr instead. According to the MIMEDefang documentation, read_commands_file would populate if_addr but does not populate clien

Re: [Mimedefang] Access to sendmail marco client_addr

2014-05-05 Thread Benoit Panizzon
Well, after some more RTFM and stumbling over a thread about documentation issues with global variables: http://lists.roaringpenguin.com/pipermail/mimedefang/2010-May/035763.html I constate that $RelayAddr is available in filter_begin but read_commands_file is not. Benoit Panizzon -- I m p r o

Re: [Mimedefang] Access to sendmail marco client_addr

2014-05-05 Thread Jan-Pieter Cornet
On 2014-5-5 13:07 , Benoit Panizzon wrote: > Well, after some more RTFM and stumbling over a thread about documentation > issues with global variables: > http://lists.roaringpenguin.com/pipermail/mimedefang/2010-May/035763.html > > I constate that $RelayAddr is available in filter_begin but > re

Re: [Mimedefang] Access to sendmail marco client_addr

2014-05-05 Thread Mark Costlow
I did the same thing here, for exactly the same reasons. Here are my notes about which filter function I ended up using: # # If the current connection is using auth, determine if that user has # sent from too many different IPs recently. # # This has to be done in filter_sender because: # # * In

Re: [Mimedefang] Get the name of the AV scanning engine used

2014-05-05 Thread Jon Rowlan
> I have been trawling through mimedefang.pl and I can see where it enumerates the AV engines list. > But I would like to be able to identify the actual engine used that detected the virus. > I can't see that its in the $Scanner object that is used to actually run the scan. > Can anyone guide me pl

Re: [Mimedefang] md_syslog not working Mimedefang 2.71

2014-05-05 Thread Jon Rowlan
On Mon, 28 Apr 2014, Jon Rowlan wrote: >Clamdscan works fine at the command line, its just that I am struggling >to get the clam scan of any kind working via the socket. Did you configure MIMEdefang somehow to use that socket? This is my /etc/mail/mimedefang.pl.conf on a debian server: --

Re: [Mimedefang] Access to sendmail marco client_addr

2014-05-05 Thread Richard Laager
On Mon, 2014-05-05 at 11:03 -0600, Mark Costlow wrote: > We've found that this approach works and is valuable, although it has > been tricky to determine what a "safe" number of IPs is to allow. In > particular, smartphones roaming around the city tend to look like they > are connecting from many