Outgoing mail getting blocked
Scott Silva
ssilva at SGVWATER.COM
Thu Dec 8 18:21:03 GMT 2005
[ The following text is in the "ISO-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Ed Wallig spake the following on 12/8/2005 5:06 AM:
> Thanks Scott, I'll have a look but won't that setting turn off the file
> check feature for incoming mail as well?
>
> - Ed
>
> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
> Of Scott Silva
> Sent: Wednesday, December 07, 2005 5:09 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Outgoing mail getting blocked
>
> Ed Wallig spake the following on 12/7/2005 1:22 PM:
>
>>Hi,
>>
>>Using MailScanner and ClamAV - I sometimes need to send zipped
>>executables to my remote locations for software patches, etc (no FTP).
>>MailScanner is catching the exe file in the zip file and kicking it
>>back. Granted, I can change the extension to .xyz or something like
>>that before zipping it but I'd like to write a rule that allows these
>>files from my domain if it comes from my internal mail server - is
>>that possible? If so, can someone provide an example?
>>
>>If its not possible, is there another alternative that leaves the
>>extension scanning functionality in place but allows outbound delivery
>>for certain files?
>>
>>
>>Thanks,
>>
>> - Ed Wallig
>
> Ed,
> Look for this in MailScanner.conf;
>
> # The maximum depth to which zip archives will be unpacked, to allow for #
> checking filenames and filetypes within zip archives.
> #
> # Note: This setting does *not* affect virus scanning in archives at all.
> #
> # To disable this feature set this to 0.
> # A common useful setting is this option = 0, and Allow Password-Protected #
> Archives = no. That block password-protected archives but does not do # any
> filename/filetype checks on the files within the archive.
> # This can also be the filename of a ruleset.
> Maximum Archive Depth = 0
>
>
>
If you want to scan incoming archives and not outgoing, you will have to
use a ruleset instead of a fixed number.
Some examples here;
http://wiki.mailscanner.info/doku.php?id=documentation:configuration:rulesets:examples&s=ruleset
--
/-----------------------\ |~~\_____/~~\__ |
| MailScanner; The best |___________ \N1____====== )-+
| protection on the net!| ~~~|/~~ |
\-----------------------/ ()
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list