I modified a configuration line in the /etc/clamav/clamav-milter.conf file
I commented the line generated by the plugin
and replaced it by this one
And now I send without problems using the parameters MaxFileSize
No one is more or less correct this change, but now I can send attachments, and set its size
Now its my config and working fine:
Code
- # Begin Plugin::ClamAV
- #MilterSocket inet:32767@localhost
- MilterSocket /var/spool/postfix/clamav/clamav-milter.ctl
- FixStaleSocket true
- User clamav
- AllowSupplementaryGroups true
- ReadTimeout 120
- Foreground false
- PidFile /var/run/clamav/clamav-milter.pid
- ClamdSocket unix:/var/run/clamav/clamd.ctl
- OnClean Accept
- OnInfected Reject
- OnFail Defer
- AddHeader Replace
- LogSyslog true
- LogFacility LOG_MAIL
- LogVerbose false
- LogInfected Basic
- LogClean Off
- MaxFileSize 100M
- TemporaryDirectory /tmp
- LogFile /var/log/clamav/clamav-milter.log
- LogTime true
- LogFileUnlock false
- LogFileMaxSize 0M
- MilterSocketGroup clamav
- MilterSocketMode 666
- RejectMsg Blocked by ClamAV - FOUND VIRUS: %v
- # Ending Plugin::ClamAV