2 msgpostfix + gmail + multiusers
2 msgstrange question regarding lmtp

Updated amavisd-new; can't send/receive mail
\ Mac OS X Server Administrator (14 Jun 2007)
. \ Noel Jones (14 Jun 2007)
. \ mouss (15 Jun 2007)

8 msgRPM 'n stuff
7 msgDSN setup
4 msgLocal Users on Virtual Domains?
5 msgpostfix + courier + active directory 2003
12 msgFail to test postfix
2 msgGlobal groups
7 msgAbout creating database
3 msgMisunderstanding of transport map format VS mas...
2 msgProblems Backscatter
5 msgquestion about receive_override_options
4 msgspecific whitelisting
3 msgReal unknown host ???
2 msgAnother question about logs...
4 msgfallback_relay not getting used
3 msgMaildir
6 msgOutgoing Mail Copy
1 msgClose to getting SASL and SMTP AUTH on OS X wor...
Subject:Updated amavisd-new; can't send/receive mail
Group:Postfix-users
From:Mac OS X Server Administrator
Date:14 Jun 2007


 

I've updated amavisd-new to version 2.5.1.


Now I can't get mail:


SMTP logs show


relay=none, delay=0, status=deferred (connect to 127.0.0.1[
127.0.0.1<http://127.0.0.1/>]:
Connection refused


when sending messages.

To work around this, for now, I've disabled amavisd-new by removing it from
/etc/postfix/main.cf:


content_filter =
# smtp-amavis:[127.0.0.1]:10024


and reloading Postfix.


Googling suggests that amavisd-new isn't running, and ps confirms it:


ps -aux | grep amavisd


returns nothing but the grep command.


Starting amavisd-new


sudo /bin/launchctl load /System/Library/LaunchDaemons
/org.amavis.amavisd.plist


generates the following error in SMTP logs:


Jun 14 15:15:31 hostname amavis[2098]: starting. /usr/bin/amavisd at
hostname.redacted.tld amavisd-new-2.5.1 (20070531), Unicode aware
Jun 14 15:15:31 hostname amavis[2098]: Perl version
5.008006
Jun 14 15:15:31 hostname amavis[2098]: (!)Net::Server:
2007/06/14-15:15:31 No such group "vscan"\n\n at line 469 in file
/Library/Perl/5.8.6/Net/Server.pm

But I don't see any references to "vscan" at all in /Library/Perl/5.8.6/Net
/Server.pm...


'vscan' was the user and group specified in amavisd.conf:

$daemon_user = 'vscan'
$daemon_group = 'vscan'

But I have no such user or group, so I changed them to 'amavisd' (which does
exist, as a user and a group). This gets me closer, as restarting Postfix
now generates more output from amavisd-new, but it still rejects messages...

When launching amavisd-new, I get the following in SMTP log:

(!!)TROUBLE in pre_loop_hook: TEMPBASE directory inaccessible, Permission
denied: /var/amavis/tmp at /usr/bin/amavisd line 7882

So I

$ chmod -R 777 /var/amavis/tmp

but I still get the same errors.

Any help tracking this down would be appreciated!



© 2004-2008 readlist.com