[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mailertable in exim



* Heiko Heil <heiko_heil@yahoo.de> [09-08-02 09:24]:
 
> gibt es bei exim etwas vergleichbares zu der sendmail-mailertable
> Konfigurationsdatei? Damit war es möglich für bestimmte Domains einen
> smtp-Server anzugeben. Also z.B.
> t-online.de   smtp:smtprelay.t-online.de

Hallo Heiko,

sowas kann man bestimmt einrichten, siehe
/usr/share/doc/exim/spec.txt.gz 
6. FILE AND DATABASE LOOKUPS

Die Frage ist, ob sich der Aufwand lohnt. Ich habe meine 
beiden Smarthosts gleich in die exim.conf geschrieben:

# Send mail from *@gmx.de via mail.gmx.net
smarthost_mail_gmx_net:
  condition = ${if eq {${lc:$sender_address_domain}}{gmx\.de}{true} fail}:
  driver = domainlist
  transport = remote_smtp
  route_list = "* mail.gmx.net bydns_a"

# Send mail from *@online.de via auth.mail.onlinehome.de
smarthost_auth_mail_onlinehome_de:
  condition = ${if eq {${lc:$sender_address_domain}}{online\.de}{true} fail}:
  driver = domainlist
  transport = remote_smtp
  route_list = "* auth.mail.onlinehome.de bydns_a"

Gruss Uwe

Attachment: pgpUHjIbnmjd6.pgp
Description: PGP signature


Reply to: