Hi all,
I have been using a gentoo mail gateway for many years - its currently running under LXC and is upgraded using a generic LXC "golden master" image with the various email related packages being installed and config files copied across roughly a month or two apart. This is always a trial, particularly with permissions and has become much worse with gentoo's attempt at using the acct packages to manage user and group ID's.
The latest problem driving me up the wall is amavis-new wouldn't start after the upgrade. I have postfix sending email to port 1024 where amavis is listening (this time required a new setting in amavisd.conf not previously needed) but postfix now wont accept email back from amavis on port 10025 so mail is mostly queued (some leaks at times - no idea why).
The main error message is:
Jul 2 10:00:14 mail amavis[6074]: (06074-02-3) about to connect
to smtp:[127.0.0.1]:10025, JZ76UHvsOKBa FWD from
<root@localdomain> -> <wdk@localhost>
Jul 2 10:00:14 mail amavis[6074]: (06074-02-3) smtp session:
setting up a new session
Jul 2 10:00:14 mail amavis[6074]: (06074-02-3) new socket using
IO::Socket::IP to [127.0.0.1]:10025, timeout 35
Jul 2 10:00:14 mail amavis[6074]: (06074-02-3) (!)connect to
[127.0.0.1]:10025 failed, attempt #1: Unrecognised protocol tcp at
/usr/sbin/amavisd line 8392.
Jul 2 10:00:14 mail amavis[6074]: (06074-02-3) mail_via_smtp:
session failed: All attempts (1) failed connecting to
smtp:[127.0.0.1]:10025
and what has thrown me: I can stop amavisd, then log in as user
"amavis" and run "amavisd -c /etc/amavisd.conf debug" then
everything works as intended! WHY?
I am preparing a new mail gateway LXC image as a clean install to
try and straighten out the underlying permissions, but a fix for
my current dilemma would be appreciated!
BillK