Re: [Vserver] Localhost definition problem with Postfix/Amavisd-new

From: Baltasar Cevc <baltasar_at_cevc-topp.de>
Date: Tue 15 May 2007 - 10:09:15 BST
Message-Id: <C315B2F4-67E2-464D-9E53-E488910667AC@cevc-topp.de>

HI Alejandro,

> But I can't put the mail server to work because the Postfix can't
> establish a connection to the amavisd. Because of the variety of
> components I suspect that amavisd-new, spamassassin or clamav are
> hardcoded to 127.0.0.1, so I can't use a private non-routable IP as
> localhost.
> I use exactly that setup in an vserver. Clamd can use sockets

to communicate, in amavisd-new you can set all the IP-Adresses.
The setup does not use spamd, as amavisd-new has native support
for SpamAssassin.
Try modifying your amavisd and clamd settings to reflect that,
it should definitively work.
In amavisd.conf the following variables should do

########################################################################
######
# M T A I N T E R F A C E A N D D O M A I N S
########################################################################
######
# where to forward checked mail
$forward_method = 'smtp:1.2.3.4:fromamavis';
# where to submit notifications
$notify_method = 'smtp:1.2.3.4:fromamavis';
# where to listen for incoming mail
$inet_socket_port = 2005;
$inet_socket_bind = '1.2.3.4';
# allow connections from these hosts only
@inet_acl = qw( 127.0.0.1 ::1 1.2.3.4 );

Hope that helps,
Baltasar

((( Baltasar Cevc

) World wide web:
   # http://www.openairkino.net/ (a project for the local youth;
German only)
   # http://technik.juz-kirchheim.de/ (programming and admin projects)
   # http://baltasar.cevc-topp.de/ (private homepage)
) Phone:
   +49 176 23 22 08 22
)

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Tue May 15 12:16:44 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 15 May 2007 - 12:16:49 BST by hypermail 2.1.8