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

Re: exim4 under jessie vs wheezy



   I would bet you do not recall what you answered to the questions regarding
   mail config when installing wheezy.

I kept records of what I answered to those questions when installing sarge,
etch, lenny, squeeze, and wheezy.

   If you have a backup copy of /etc/exim4 you could diff and see.

All my machines save two have been upgraded to jessie. One (thakaa) is running
wheezy and one is runnign squeeze. I just tried on the machine running wheezy.

I just tried thakaa (wheezy) and it did correctly send mail that was addressed
to root to qobi@purdue.edu. But it did not on upplysingaoflun (jessie).

I don't understand the files in /etc/exim4. I didn't create them. I just ran
dpkg-reconfigure exim4-config and edited /etc/aliases and
/etc/exim4/passwd.client (and more recently /etc/mailname on upplysingaoflun;
it has been unchanged on thakaa since install).

Any help on how to fix this would be appreciated.

    Jeff (http://engineering.purdue.edu/~qobi)
-------------------------------------------------------------------------------
qobi@thakaa>diff -r -q /tmp/{upplysingaoflun,thakaa}/
Files /tmp/upplysingaoflun/exim4/conf.d/auth/30_exim4-config_examples and /tmp/thakaa/exim4/conf.d/auth/30_exim4-config_examples differ
Files /tmp/upplysingaoflun/exim4/conf.d/router/200_exim4-config_primary and /tmp/thakaa/exim4/conf.d/router/200_exim4-config_primary differ
Files /tmp/upplysingaoflun/exim4/conf.d/router/500_exim4-config_hubuser and /tmp/thakaa/exim4/conf.d/router/500_exim4-config_hubuser differ
Files /tmp/upplysingaoflun/exim4/conf.d/transport/30_exim4-config_maildrop_pipe and /tmp/thakaa/exim4/conf.d/transport/30_exim4-config_maildrop_pipe differ
Files /tmp/upplysingaoflun/exim4/conf.d/transport/30_exim4-config_remote_smtp and /tmp/thakaa/exim4/conf.d/transport/30_exim4-config_remote_smtp differ
Files /tmp/upplysingaoflun/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost and /tmp/thakaa/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost differ
Files /tmp/upplysingaoflun/exim4/exim4.conf.template and /tmp/thakaa/exim4/exim4.conf.template differ
qobi@thakaa>

qobi@thakaa>diff -r /tmp/{upplysingaoflun,thakaa}/
diff -r /tmp/upplysingaoflun/exim4/conf.d/auth/30_exim4-config_examples /tmp/thakaa/exim4/conf.d/auth/30_exim4-config_examples
39c39
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
54c54
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
80c80
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
91c91
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
100c100
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
109c109
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
127c127
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
136c136
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
155c155
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
170c170
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
191c191
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
225c225
<   client_send = "<; ${if !eq{$tls_out_cipher}{}\
---
>   client_send = "<; ${if !eq{$tls_cipher}{}\
241c241
<                           {!eq{$tls_out_cipher}{}}\
---
>                           {!eq{$tls_cipher}{}}\



diff -r /tmp/upplysingaoflun/exim4/conf.d/router/200_exim4-config_primary /tmp/thakaa/exim4/conf.d/router/200_exim4-config_primary
82c82
<   host_find_failed = ignore
---
>   host_find_failed = defer



diff -r /tmp/upplysingaoflun/exim4/conf.d/router/500_exim4-config_hubuser /tmp/thakaa/exim4/conf.d/router/500_exim4-config_hubuser
26c26
<   host_find_failed = ignore
---
>   host_find_failed = defer



diff -r /tmp/upplysingaoflun/exim4/conf.d/transport/30_exim4-config_maildrop_pipe /tmp/thakaa/exim4/conf.d/transport/30_exim4-config_maildrop_pipe
7,8d6
<   message_prefix =
<   message_suffix =



diff -r /tmp/upplysingaoflun/exim4/conf.d/transport/30_exim4-config_remote_smtp /tmp/thakaa/exim4/conf.d/transport/30_exim4-config_remote_smtp
42,47d41
< .ifdef REMOTE_SMTP_TLS_CERTIFICATE
< tls_certificate = REMOTE_SMTP_TLS_CERTIFICATE
< .endif
< .ifdef REMOTE_SMTP_PRIVATEKEY
< tls_privatekey = REMOTE_SMTP_PRIVATEKEY
< .endif



diff -r /tmp/upplysingaoflun/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost /tmp/thakaa/exim4/conf.d/transport/30_exim4-config_remote_smtp_smarthost
33,38d32
< .ifdef REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
< tls_certificate = REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
< .endif
< .ifdef REMOTE_SMTP_SMARTHOST_PRIVATEKEY
< tls_privatekey = REMOTE_SMTP_SMARTHOST_PRIVATEKEY
< .endif



diff -r /tmp/upplysingaoflun/exim4/exim4.conf.template /tmp/thakaa/exim4/exim4.conf.template
1108c1108
<   host_find_failed = ignore
---
>   host_find_failed = defer
1226c1226
<   host_find_failed = ignore
---
>   host_find_failed = defer
1579,1580d1578
<   message_prefix =
<   message_suffix =
1648,1653d1645
< .ifdef REMOTE_SMTP_TLS_CERTIFICATE
< tls_certificate = REMOTE_SMTP_TLS_CERTIFICATE
< .endif
< .ifdef REMOTE_SMTP_PRIVATEKEY
< tls_privatekey = REMOTE_SMTP_PRIVATEKEY
< .endif
1692,1697d1683
< .ifdef REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
< tls_certificate = REMOTE_SMTP_SMARTHOST_TLS_CERTIFICATE
< .endif
< .ifdef REMOTE_SMTP_SMARTHOST_PRIVATEKEY
< tls_privatekey = REMOTE_SMTP_SMARTHOST_PRIVATEKEY
< .endif
1849c1835
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1864c1850
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1890c1876
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1901c1887
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1910c1896
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1919c1905
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1937c1923
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1946c1932
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1965c1951
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
1980c1966
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
2001c1987
< #   server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
---
> #   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
2035c2021
<   client_send = "<; ${if !eq{$tls_out_cipher}{}\
---
>   client_send = "<; ${if !eq{$tls_cipher}{}\
2051c2037
<                           {!eq{$tls_out_cipher}{}}\
---
>                           {!eq{$tls_cipher}{}}\
qobi@thakaa>

qobi@thakaa>cat /etc/aliases
# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: qobi@purdue.edu
qobi@thakaa>cat /etc/mailname 
thakaa.ecn.purdue.edu
qobi@thakaa>ls -l /etc/aliases
-rw-r--r-- 1 root root 207 Aug 18 11:10 /etc/aliases
qobi@thakaa>ls -l /etc/mailname
-rw-r--r-- 1 root root 22 Apr  4 15:43 /etc/mailname
qobi@thakaa>

qobi@upplysingaoflun>cat /etc/aliases
# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: qobi@purdue.edu
qobi@upplysingaoflun>cat /etc/mailname
ecn.purdue.edu
qobi@upplysingaoflun>ls -l /etc/aliases
-rw-r--r-- 1 root root 207 Aug 11 16:21 /etc/aliases
qobi@upplysingaoflun>ls -l /etc/mailname
-rw-r--r-- 1 root root 15 Aug 17 18:34 /etc/mailname
qobi@upplysingaoflun>


Reply to: