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