Mailscanner generated duplicate message.
Mark Sapiro
mark at msapiro.net
Sun Dec 23 17:03:24 GMT 2007
Hugo van der Kooij wrote:
>
>Mark Sapiro wrote:
>> CentOS 5
>> Mailscanner 4.65.3
>> Postfix 2.3.3
>>
>> This is a fairly new server install, running only a few weeks.
>
>What changes have you made to the config?
[root at sbh16 ~]# diff /etc/MailScanner/MailScanner.conf.orig
/etc/MailScanner/MailScanner.conf
58c58
< %org-name% = yoursite
---
> %org-name% = GPC
65c65
< %org-long-name% = Your Organisation Name Here
---
> %org-long-name% = Grizzly Peak Cyclists
72c72
< %web-site% = www.your-organisation.com
---
> %web-site% = sbh16.songbird.com
78c78
< %report-dir% = /etc/MailScanner/reports/en
---
> %report-dir% = /etc/MailScanner/reports/local
115c115
< Run As User =
---
> Run As User = postfix
120c120
< Run As Group =
---
> Run As Group = postfix
149c149
< Incoming Queue Dir = /var/spool/mqueue.in
---
> Incoming Queue Dir = /var/spool/postfix/hold
153c153
< Outgoing Queue Dir = /var/spool/mqueue
---
> Outgoing Queue Dir = /var/spool/postfix/incoming
180c180
< MTA = sendmail
---
> MTA = postfix
185c185
< Sendmail = /usr/sbin/sendmail
---
> Sendmail = /usr/sbin/sendmail.postfix
195c195
< Sendmail2 = /usr/sbin/sendmail
---
> Sendmail2 = /usr/sbin/sendmail.postfix
309c309
< Scan Messages = yes
---
> Scan Messages = %rules-dir%/scan.messages.rules
414c414
< Unrar Command = /usr/bin/unrar
---
> #Unrar Command = /usr/bin/unrar
568c568
< Virus Scanners = auto
---
> Virus Scanners = clamd
748,749c748,749
< Clamd Socket = /tmp/clamd
< Clamd Lock File = # /var/lock/subsys/clamd
---
> Clamd Socket = /tmp/clamd.socket
> Clamd Lock File = /var/lock/subsys/clamd
1211c1211
< Information Header = X-%org-name%-MailScanner-Information:
---
> #Information Header = X-%org-name%-MailScanner-Information:
1258c1258
< Minimum Stars If On Spam List = 0
---
> Minimum Stars If On Spam List = 1
1280c1280
< Always Include SpamAssassin Report = no
---
> Always Include SpamAssassin Report = yes
1297c1297
< Hostname = the %org-name% ($HOSTNAME) MailScanner
---
> Hostname = the %org-name% MailScanner
1309c1309
< Sign Clean Messages = yes
---
> Sign Clean Messages = no
1374c1374,1375
< Notify Senders = yes
---
> # Think about this one (Notify Senders) - MAS
> Notify Senders = no
1651c1652
< Notices To = postmaster
---
> Notices To = msapiro+virus at sbh16.songbird.com
1656c1657
< Local Postmaster = postmaster
---
> Local Postmaster = postmaster at sbh16.songbird.com
1771c1772
< Max Spam Check Size = 200k
---
> Max Spam Check Size = 400k
1889c1890
< Max SpamAssassin Size = 200k
---
> Max SpamAssassin Size = 200k continue 200k
1896c1897
< Required SpamAssassin Score = 6
---
> Required SpamAssassin Score = 5
1902c1903
< High SpamAssassin Score = 10
---
> High SpamAssassin Score = 9
1910c1911
< SpamAssassin Auto Whitelist = yes
---
> SpamAssassin Auto Whitelist = no
2076c2077,2078
< Spam Actions = deliver header "X-Spam-Status: Yes"
---
> #Spam Actions = deliver header "X-Spam-Status: Yes"
> Spam Actions = store forward msapiro+spam at sbh16.songbird.com
2114c2116,2117
< High Scoring Spam Actions = deliver header "X-Spam-Status: Yes"
---
> #High Scoring Spam Actions = deliver header "X-Spam-Status: Yes"
> High Scoring Spam Actions = store
2306,2307c2309,2310
< #SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
< SpamAssassin User State Dir =
---
> SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin
> #SpamAssassin User State Dir =
2340c2343
< SpamAssassin Local State Dir = # /var/lib/spamassassin
---
> SpamAssassin Local State Dir = /var/lib/spamassassin
[root at sbh16 ~]#
>Did you verify that ony one instance of MailScanner was started and that
>it is starting postfix and postfix is not started by itself?
Yes
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list