Hi,

I'm new to most of this, but trying to learn, and hence wondering if 
someone is able to help me with the following:

I have a server (Debian Etch) running exim4 as MTA/MDA, and I'm planning 
on running amavisd-new so I can test an anti-virus plugin.

I've set up exim4 absolutely straight, for local delivery, so that I can 
use f.ex. Evolution to send and receive mail to [EMAIL PROTECTED] This is 
working fine to start with.

But - when I install and configure amavisd-new, I can no longer send and 
receive mail to [EMAIL PROTECTED] This happens when I add the following to 
the exim4 config file,
as per the README-eximv-v4 documentation:

# instruct Exim to pass all mail using SMTP to amavisd,
# except the mail that just came-in back to Exim from amavisd
# through the local port 10025, as these messages were already
# checked and approved by amavisd
amavis:
        driver = manualroute
        condition = "${if eq {$interface_port}{10025} {0}{1}}"
        # if scanning incoming mails, uncomment the following line and
        # change local_domains accordingly
        # domains = +local_domains
        transport = amavis
        route_list = "* localhost byname"
        self = send

# SMTP transport to be used for the Exim -> amavisd path;
# by default amavisd listens on the loopback interface on port 10024
# (amavisd.conf: $inet_socket_port = "10024")
amavis:
       driver = smtp
       port = 10024
       allow_localhost

# Tell Exim to accept SMTP also (besides the usual port 25) on the
# loopback interface (localhost) on port 10025, which is where
# the checked messaged come from amavisd back to Exim
# (amavisd.conf: $relayhost = "127.0.0.1"; $relayhost_port = "10025")
local_interfaces = 0.0.0.0.25 : 127.0.0.1.10025


In the case of local_interfaces, I just edit out what's allready there, 
and add the above file:

# listen on all all interfaces?
#.ifdef MAIN_LOCAL_INTERFACES
#local_interfaces = MAIN_LOCAL_INTERFACES
#.else
#DEBCONFlistenonpublicDEBCONF
#.endif
local_interfaces = 0.0.0.0.25 : 127.0.0.1.10025


In amavisd.conf, the only changes I've made are these:

$daemon_user  = 'amavis';     # (no default;  customary: vscan or amavis), 
-u
$daemon_group = 'amavis';     # (no default;  customary: vscan or amavis), 
-g

$mydomain = 'norman.local';   # a convenient default for other settings

I'm not sure of the $mydomain. The machine is just a standalone machine, 
and it's not really configured with a FQDN. I've tried using @mydomain = 
'localhost', but it didn't make any difference.

As mentioned, when I'm sending mail to [EMAIL PROTECTED], it doesn't appear 
in the inbox. When I remove the above changes to the exim4 config file 
(reset the configuration to default, so that there's no routing to 
amavis), both the old mail (the mail that "disappeared" after adding the 
above lines) and new mail to [EMAIL PROTECTED] is received. So the problem if 
with my amavisd-new configuration, and not exim4.

Obviously, I'm missing some important routing or transport config, but I 
cannot see what, so I'm grateful for any advice.

Thanks in advance,
Regards,
Frank Høvin
-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to