[Pkg-exim4-users] Why the DKIM-Signature header isn't created when a mail is relayed to the smarthost ?

Satoru Otsubo trnsnt at otip.jp
Mon Nov 26 17:11:39 UTC 2012


> (2)
> Therefore I modified transport/30_exim4-config_remote_smtp_smarthost as follows:
> 
> #####################################################
> ### transport/30_exim4-config_remote_smtp_smarthost
> #####################################################
> 
> ### transport/30_exim4-config_remote_smtp_smarthost
> #################################
> 
> # 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.
> 
> remote_smtp_smarthost:
>   debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
>   driver = smtp
>   hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \
>         {\
>         ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$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 DKIM_DOMAIN
> dkim_domain = DKIM_DOMAIN
> .endif
> .ifdef DKIM_SELECTOR
> dkim_selector = DKIM_SELECTOR
> .endif
> .ifdef DKIM_PRIVATE_KEY
> dkim_private_key = DKIM_PRIVATE_KEY
> .endif
> .ifdef DKIM_CANON
> dkim_canon = DKIM_CANON
> .endif
> .ifdef DKIM_STRICT
> dkim_strict = DKIM_STRICT
> .endif
> .ifdef DKIM_SIGN_HEADERS
> dkim_sign_headers = DKIM_SIGN_HEADERS
> .endif
> #####################################################
> ### end transport/30_exim4-config_remote_smtp_smarthost
> #####################################################
> 
> And
> #  /etc/init.d/exim4 restart
> 

Can anyone reply me on whether my approach of (2) is correct ?


Thanks,
Satoru
-- 
Satoru Otsubo <trnsnt at otip.jp>



More information about the Pkg-exim4-users mailing list