Exim4: when sending as smarthost to root it sends 2 e-mails (1 to alias, 1 to root)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have a Debian 9 home file server (hostname NAS). I configured Exim4 as Smarthost, no local mail. When I send a e-mail to root, it picks up the alias in /etc/aliases and sends it to my outlook.com address. However, a second email gets also sent, to root@NAS delivered to the Outlook smtp server. And this results in a Undelivery notice from Microsoft to my outlook.com address. I tried various configurations, but to no avail.



Below is my configuration.



dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='NAS'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp-mail.outlook.com::587'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'









share|improve this question























  • Please edit your question to include the command you use to "send e-mail to root", the lines it generates into /var/log/exim4/mainlog and the contents of your /etc/aliases. Also, explaining what you want to achieve might help us suggest better approaches. For example, the dc_readhost='NAS' setting is surprising, did you look up its documentation in man update-exim4.conf?
    – Ferenc Wágner
    Aug 31 at 7:02














up vote
0
down vote

favorite












I have a Debian 9 home file server (hostname NAS). I configured Exim4 as Smarthost, no local mail. When I send a e-mail to root, it picks up the alias in /etc/aliases and sends it to my outlook.com address. However, a second email gets also sent, to root@NAS delivered to the Outlook smtp server. And this results in a Undelivery notice from Microsoft to my outlook.com address. I tried various configurations, but to no avail.



Below is my configuration.



dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='NAS'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp-mail.outlook.com::587'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'









share|improve this question























  • Please edit your question to include the command you use to "send e-mail to root", the lines it generates into /var/log/exim4/mainlog and the contents of your /etc/aliases. Also, explaining what you want to achieve might help us suggest better approaches. For example, the dc_readhost='NAS' setting is surprising, did you look up its documentation in man update-exim4.conf?
    – Ferenc Wágner
    Aug 31 at 7:02












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a Debian 9 home file server (hostname NAS). I configured Exim4 as Smarthost, no local mail. When I send a e-mail to root, it picks up the alias in /etc/aliases and sends it to my outlook.com address. However, a second email gets also sent, to root@NAS delivered to the Outlook smtp server. And this results in a Undelivery notice from Microsoft to my outlook.com address. I tried various configurations, but to no avail.



Below is my configuration.



dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='NAS'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp-mail.outlook.com::587'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'









share|improve this question















I have a Debian 9 home file server (hostname NAS). I configured Exim4 as Smarthost, no local mail. When I send a e-mail to root, it picks up the alias in /etc/aliases and sends it to my outlook.com address. However, a second email gets also sent, to root@NAS delivered to the Outlook smtp server. And this results in a Undelivery notice from Microsoft to my outlook.com address. I tried various configurations, but to no avail.



Below is my configuration.



dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='NAS'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp-mail.outlook.com::587'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'






debian email exim






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 29 at 7:41









Rui F Ribeiro

36.8k1271117




36.8k1271117










asked Aug 29 at 7:14









Ralph J

1




1











  • Please edit your question to include the command you use to "send e-mail to root", the lines it generates into /var/log/exim4/mainlog and the contents of your /etc/aliases. Also, explaining what you want to achieve might help us suggest better approaches. For example, the dc_readhost='NAS' setting is surprising, did you look up its documentation in man update-exim4.conf?
    – Ferenc Wágner
    Aug 31 at 7:02
















  • Please edit your question to include the command you use to "send e-mail to root", the lines it generates into /var/log/exim4/mainlog and the contents of your /etc/aliases. Also, explaining what you want to achieve might help us suggest better approaches. For example, the dc_readhost='NAS' setting is surprising, did you look up its documentation in man update-exim4.conf?
    – Ferenc Wágner
    Aug 31 at 7:02















Please edit your question to include the command you use to "send e-mail to root", the lines it generates into /var/log/exim4/mainlog and the contents of your /etc/aliases. Also, explaining what you want to achieve might help us suggest better approaches. For example, the dc_readhost='NAS' setting is surprising, did you look up its documentation in man update-exim4.conf?
– Ferenc Wágner
Aug 31 at 7:02




Please edit your question to include the command you use to "send e-mail to root", the lines it generates into /var/log/exim4/mainlog and the contents of your /etc/aliases. Also, explaining what you want to achieve might help us suggest better approaches. For example, the dc_readhost='NAS' setting is surprising, did you look up its documentation in man update-exim4.conf?
– Ferenc Wágner
Aug 31 at 7:02















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f465441%2fexim4-when-sending-as-smarthost-to-root-it-sends-2-e-mails-1-to-alias-1-to-ro%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f465441%2fexim4-when-sending-as-smarthost-to-root-it-sends-2-e-mails-1-to-alias-1-to-ro%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay