Hi, thanks for reply.

On Wed, 01 Dec 2021 02:42:27 +0900,
Andreas Metzler <ametz...@bebt.de> wrote:
> 
> Hmm. Works for me:
> ametzler@argenau:~$ /usr/sbin/exim  -bP | grep message_id
> message_id_header_domain = midonly.argenau.bebt.de
> message_id_header_text = blah
> ametzler@argenau:~$ printf 'To: ametzler@localhost\nFrom: 
> ametzler@localhost\nSubject: test\n\nblah\n' | /usr/sbin/sendmail -t
> You have mail in /var/mail/ametzler
> 
> Anything special on your system?

My settings is as follows:
1. simple smarthost settings
   % cat update-exim4.conf.conf | grep -v ^#
   
   dc_eximconfig_configtype='smarthost'
   dc_other_hostnames=''
   dc_local_interfaces='127.0.0.1 ; ::1'
   dc_readhost='localhost'
   dc_relay_domains=''
   dc_minimaldns='false'
   dc_relay_nets=''
   dc_smarthost='mydomain.smtp.server::587'  <-- replaced
   CFILEMODE='644'
   dc_use_split_config='false'
   dc_hide_mailname='true'
   dc_mailname_in_oh='true'
   dc_localdelivery='maildir_home'

2. exim4.conf.localmacros as follows:
   % cat exim4.conf.localmacros
   MAILDIR_HOME_MAILDIR_LOCATION = $home/Maildir/INBOX
   message_id_header_domain = does.not.exist.domain <-- replaced
   message_id_header_text = hogehero                <-- replaced

...the exim4 started to check if the header_domain
can be resolved properly? 

Best Wishes,
Youhei

--
Youhei SASAKI <uwab...@gfd-dennou.org>
              <uwab...@debian.or.jp>
GPG fingerprint:
  4096/RSA: 66A4 EA70 4FE2 4055 8D6A C2E6 9394 F354 891D 7E07

Reply via email to