Hi, it's me again, I trimmed it a bit more. https://ssl.schlittermann.de/hg/exim-smart-config/file/default/exim4.conf
# this is by no way a complete configuration file! # it's just intended as a starting point # source: hg clone https://ssl.schlittermann.de/hg/exim-smart-config # The providers file # ------------------ # All relevant information about the smart providers is stored # in one place. This place is the "providers" file. The structure # is simple. It consists of lines as in the example: # # # sender |servers[::port] |user|password # # -----------+-----------------+----+--------- # [email protected] foobar.com foo secret # [email protected] a.com:b.com::25 foo sicrit # *@bar.com bar.com/mx:25 fuz secret2 # * smtp.gmail.com xxx baz # # Note: the "servers::[port]" field is used as "route_data", thus all # rules for route_data apply (see spec.txt, 20.3). # - multiple servers are colon (:) separated # - you can use indirect lists by appending /mx # - you can specifiy a port number numerically (per default we use 587) PROVIDERS = <your file name for the providers file here> # some macros to ease the understanding ADDRESS_DATA = ${sg{${lookup{$sender_address}lsearch*@{PROVIDERS}}}{\\s+}{\t}} SMARTHOST = ${extract{1}{\t}{$address_data}} USER = ${extract{2}{\t}{$address_data}} PASS = ${extract{3}{\t}{$address_data}} domainlist local_domains = @ begin router # the first router routes according the sender_address smarthost: driver = manualroute address_data = ADDRESS_DATA route_data = SMARTHOST transport = smtp_auth # in case you don't have a '*' line in your providers file dnslookup: driver = dnslookup domains = !+local_domains transport = smtp no_more begin transport smtp_auth: driver = smtp port = submission hosts_require_auth = * smtp: driver = smtp begin authenticators plain: driver = plaintext public_name = PLAIN client_send = ^USER^PASS login: driver = plaintext public_name = LOGIN client_send = :USER:PASS Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: 7CBF764A - gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A - (gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-
signature.asc
Description: Digital signature
-- ## List details at https://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/
