@downhillschrott: Da Du im anderen Thread gemeint hast Du suchst noch nach so einer Lösung, hier mal die Eckpunkte meiner Exim Config. Vielleicht hilft's Dir ja Dein Setup zum Laufen zu bekommen.
![:)](/images/smilies/smile.gif)
Abhängig von der sendenden Emailadresse wird ein anderer Transport verwendet. Man beachte, der User heidi.nachnahme@gmx.at verwendet einen anderen Mailserver als robin.nachnahme@gmx.net.
root@fizzi:/etc/exim4# cat passwd.client# password file used when the local exim is authenticating to a remote
# host as a client.
#
# see exim4_passwd_client(5) for more documentation
#
# Example:
### target.mail.server.example:login
![:p](/images/smilies/tongue.gif)
assword
robin.###@gmx.net:robin.###@gmx.net:robin.###@gmx.net:mail.gmx.net:robinsGMXuser:robinsGMXpasswort
Tanja.+++@gmx.net:tanja.+++@gmx.net:tanja.+++@gmx.net:mail.gmx.net:tanjasGMXuser:tanjasGMXpasswort
heidi.***@gmx.at:heidi.***@gmx.at:heidi.***@gmx.at:mail.gmx.at:heidisGMXuser:heidisGMXpasswort
root@fizzi:/etc/exim4# cat conf.d/router/101_exim4-config_gmx### router/101_exim4-config_gmx
#################################
# These routers handle all the GMX stuff.
bsox_router:
driver = manualroute
senders = robin.###@gmx.net
transport = bsox2GMX
route_list = * mail.gmx.net::587
no_more
tanja_router:
driver = manualroute
senders = tanja.+++@gmx.net
transport = tanja2GMX
route_list = * mail.gmx.net::587
no_more
heidi_router:
driver = manualroute
senders = heidi.***@gmx.at
transport = heidi2GMX
route_list = * mail.gmx.at::587
no_more
root@fizzi:/etc/exim4# cat conf.d/transport/30_exim4-config_gmx### transport/30_exim4-config_gmx
#################################
# This transport is used for delivering messages over SMTP connections
# to a smarthost. The local host tries to authenticate.
# This transport is used for smarthost and satellite configurations.
exim2zarafa:
driver = smtp
bsox2GMX:
driver = smtp
hosts_require_auth = mail.gmx.net
headers_add = X-processed-by: MACRO_HEADER_ADDED bsox2GMX
hosts_try_auth = <; ${if exists{CONFDIR/passwd.bsox} \
{\
${lookup{$host}nwildlsearch{CONFDIR/passwd.bsox}{$host_address}}\
}\
{} \
}
tanja2GMX:
driver = smtp
hosts_require_auth = mail.gmx.net
headers_add = X-processed-by: MACRO_HEADER_ADDED tanja2GMX
hosts_try_auth = <; ${if exists{CONFDIR/passwd.tanja} \
{\
${lookup{$host}nwildlsearch{CONFDIR/passwd.tanja}{$host_address}}\
}\
{} \
}
heidi2GMX:
driver = smtp
hosts_require_auth = mail.gmx.at
headers_add = X-processed-by: MACRO_HEADER_ADDED heidi2GMX
hosts_try_auth = <; ${if exists{CONFDIR/passwd.heidi} \
{\
${lookup{$host}nwildlsearch{CONFDIR/passwd.heidi}{$host_address}}\
}\
{} \
}
.ifdef REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
.endif
.ifdef REMOTE_SMTP_HEADERS_REWRITE
headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE
.endif
.ifdef REMOTE_SMTP_RETURN_PATH
return_path = REMOTE_SMTP_RETURN_PATH
.endif
.ifdef REMOTE_SMTP_HELO_DATA
helo_data=REMOTE_SMTP_HELO_DATA
.endif
.ifdef TLS_DH_MIN_BITS
tls_dh_min_bits = TLS_DH_MIN_BITS
.endif
Und abgeholt werden die Mails mit fetchmail:
root@fizzi:/etc/exim4# cat /etc/fetchmailrcset postmaster "postmaster"
set bouncemail
set no spambounce
set properties ""
set daemon 2
set no syslog
set logfile "/var/log/fetchmail.log"
poll pop.gmx.net with proto POP3
localdomains gmx.net
user 'robin.nachnahme@gmx.net' there with password 'robinsGMXpasswort' is 'robin.nachnahme@gmx.net' here
# ## fetchall geht nicht wenn option "keep" gesetzt ist
# fetchall
options
ssl
# keep
# sslfingerprint "51:81:34:E3:72:47:BF:1C:B4:FA:20:C8:BD:C2:E3:23"
# sslfingerprint "A3:E9:37:B7:B3:40:5C:B4:F7:2D:4E:CB:F0:BD
![:D](/images/smilies/biggrin.gif)
0
![:D](/images/smilies/biggrin.gif)
A"
# siehe
https://www.geiststreicher.org/2014...gmx-und-web-de/ sslfingerprint "56:1E:B0:93:42:8C:FA
![:D](/images/smilies/biggrin.gif)
3:CC:3E:CC:52:F1:72:E5:21"
sslcertck
# mda "/usr/bin/zarafa-dagent user"
# die Schreibweise ist etwas ungewöhnlich. Das bedeutet, der zarafa(Kopano)dagent lauscht auf 127.0.0.1 Port TCP 2003.
smtphost 127.0.0.1/2003
flush
no ssl
lmtp
usw. für die restlichen User.