Ich habe alles konfiguriert aber ich sehe nicht, dass amavis seine arbeit tut.
Meine mails hole ich via fetchmail ab.
Code: Alles auswählen
asas@maggie:/etc/exim4/conf.d$ cat transport/01_exim4-config_amavis
# 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
Code: Alles auswählen
asas@maggie:/etc/exim4/conf.d$ cat router/01_exim4-config_amavis
# 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
Code: Alles auswählen
# $mydomain serves as a quick default for some other configuration settings.
# More refined control is available with each individual setting further down.
# $mydomain is never used directly by the program.
$mydomain = 'simpson.de'; # (no useful default)
# POSTFIX, or SENDMAIL in dual-MTA setup, or EXIM V4
# (set host and port number as required; host can be specified
# as IP address or DNS name (A or CNAME, but MX is ignored)
$forward_method = 'smtp:127.0.0.1:10025'; # where to forward checked mail
$notify_method = $forward_method; # where to submit notifications
Code: Alles auswählen
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='0.0.0.0.25 : 127.0.0.1.10025'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='maggie.simpson.de:10025'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
Nix.
In den mail headern sehe ich nicht, dass es ueber amavis gelaufen ist.