Sendmail / Mailscanner issues

Per olof Ljungmark peo at intersonic.se
Sun May 28 13:06:57 PDT 2006


Per olof Ljungmark wrote:
> Robert Davison wrote:
>> I've installed sendmail on a 6.1 system. It will send mail internally 
>> and externally with no problem. I've now put MailScanner into the mix. 
>> I've done what I believe to be the necessary configuration, but am 
>> getting the following error in the maillog file....
>>      May 29 20:47:51 luey MailScanner[540]: MailScanner E-Mail Virus 
>> Scanner version 4.50.15 starting...
>> May 29 20:47:51 luey MailScanner[540]: Read 701 hostnames from the 
>> phishing whitelist
>> May 29 20:47:51 luey MailScanner[540]: Using SpamAssassin results cache
>> May 29 20:47:51 luey MailScanner[540]: Connected to SpamAssassin cache 
>> database
>> May 29 20:47:51 luey MailScanner[540]: Enabling SpamAssassin 
>> auto-whitelist functionality...
>> May 29 20:47:53 luey MailScanner[540]: ClamAV scanner using unrar 
>> command /usr/local/bin/unrar
>> May 29 20:47:53 luey MailScanner[540]: Using locktype = flock
>> May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: from=root, 
>> size=37, class=0, nrcpts=1, 
>> msgid=<200605291950.k4TJo27K000552 at luey.casezero.net>, 
>> relay=root at localhost
>> May 29 20:50:02 luey sendmail[552]: k4TJo27K000552: to=rob_27ma, 
>> ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, 
>> pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 
>> Connection refused by [127.0.0.1]
>>
>>   Can anyone identify from this what is causing the connection to be 
>> refused ??
> 
> MailScanner config? What tcp port is it supposed to listen to? Is 
> sendmail configured to relay to that port? Can you telnet to it ok?

Hmm, it does not look like MailScanner uses tcp at all, rather looks 
directly at queued spool files. If that is the case it could be a 
permissions problem for the sendmail spool directory for instance. Sorry 
for the waste of bandwidth...


More information about the freebsd-questions mailing list