Jeffrey Mark Siskind wrote: > I did not modify /etc/mailname. It contained whatever the debian installer > put there or perhaps what dpkg-reconfigure exim4-config put there with the > answers to the questions I put in my original post. These are the same > answers I have given under wheezy and previous releases. I did the same > configuration under wheezy and previous releases. It used to work and > stopped working with a fresh install of jessie.
I would bet you do not recall what you answered to the questions regarding mail config when installing wheezy. If you have a backup copy of /etc/exim4 you could diff and see. Regarding receiving mails from root from one machine and routing them to another you should tell the local exim what to do. It used to ask related question when configure/reconfigure. The most simple way to do this is to use the default satellite config. This is also good for the reason that you usually have one MX for your domain. Then for the root account you usually define alias to some admin user account/mailbox. Just keep it as simple as possible example of test envs /etc/exim4/update-exim4.conf.conf MX server dc_eximconfig_configtype='internet' dc_other_hostnames='mxhost; test.home; *.test.home' dc_local_interfaces='192.168.40.40; 127.0.0.1; 127.0.0.1.10025' disable_ipv6=true dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='false' #dc_hide_mailname='' dc_mailname_in_oh='true' MX client dc_eximconfig_configtype='satellite' dc_other_hostnames='' dc_local_interfaces='127.0.0.1' dc_readhost='test.home' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='192.168.40.40' CFILEMODE='644' dc_use_split_config='false' dc_hide_mailname='true' dc_mailname_in_oh='true' On both we do something similar to 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: admin_account Resulting in From: Cron Daemon <[email protected]> To: [email protected] From: Cron Daemon <[email protected]> To: [email protected] In the MX machine mailbox for the admin_account Return-path: <[email protected]> Envelope-to: [email protected] Delivery-date: Thu, 18 Aug 2016 06:00:21 +0200 Received: from Debian-exim by mxhost with bogoscanned (Exim 4.84_2) (envelope-from <[email protected]>) id 1baEVB-00058w-1p for [email protected]; Thu, 18 Aug 2016 06:00:21 +0200 Received: from localhost ([127.0.0.1]) by mxhost with esmtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1baEVA-00058s-UM for [email protected]; Thu, 18 Aug 2016 06:00:20 +0200 Received: from mxhost ([127.0.0.1]) by localhost (localhost.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5TP3FA85aYiP for <[email protected]>; Thu, 18 Aug 2016 06:00:20 +0200 (CEST) Received: from maistor.test.home ([192.168.40.80]) by mxhost with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <[email protected]>) id 1baEVA-00058n-Pf for [email protected]; Thu, 18 Aug 2016 06:00:20 +0200 Received: from root by maistor.test.home with local (Exim 4.84_2) (envelope-from <[email protected]>) id 1baEVA-0002Oy-I4 for [email protected]; Thu, 18 Aug 2016 06:00:20 +0200 From: [email protected] (Cron Daemon) To: [email protected]

