[exim] restart Exim whenever IP is changed.

Top Page
Delete this message
Reply to this message
Author: sam wun
Date:  
To: exim-users
Subject: [exim] restart Exim whenever IP is changed.
Hi,

I found that when the public IP of the Exim mail server is changed, Exim
stop sending email to external mail server. The error is as follow:
2004-10-26 14:57:14 1CMLGc-000A03-83 ** sam_sam.com.au@localhost
R=localuser T=local_delivery_lmtp: LMTP error after MAIL
FROM:<root@??? mydomain.net >: 501 5.5.4 Syntax error in parameters
2004-10-26 14:57:14 1CMLGc-000A0B-I3 Error while reading message with no
usable sender address (R=1CMLGc-000A03-83): at least one malformed re
cipient address: root@??? mydomain.net - malformed address:
mydomain.net may not follow root@???
2004-10-26 14:57:14 1CMLGc-000A03-83 Process failed (1) when writing
error message to root@??? mydomain.net (frozen)
2004-10-26 15:01:24 1CMLKa-000A15-KI <= sam.wun@???
H=([192.168.4.235]) [192.168.4.235] P=esmtpa
A=sasl_cram_md5:sam.wun@??? S=1430 id=417DF640.7030502@???

After restart Exim, it behaves as usual.
To deal with this issue, I wonder if putting kill -HUP <pid of Exim> in the ppp.linkup script will solve the problem?

Thanks
Sam