On Wed, Jan 15, 2014 at 11:22:13PM +0100, Maurice Janssen wrote: > On Wed, Jan 15, 2014 at 10:33:00PM +0100, Erwin van Maanen wrote: > >Hi Maurice, > > > >I do something similar, but with the root alias straight to my external > >adress. > I tried three scenarios: > - external address in /etc/mail/aliases > - external address in /root/.forward (and no alias for root in > /etc/mail/aliases) > - external addres in /home/maurice/.forward (and maurice in /root/.forward). > > I see no difference, unfortunately. > > >In the receiving mail i get proper from headers from the cron jobs and such: > >From: Charlie Root <[email protected]> > > Is this for cronjobs that send their output through mail(1) ? In that case, > I also see a full domain in the From: header. > But for other cronjobs (like a simple "echo foo" as a test case) that don't > pipe the output to mail(1), smtpd tries to send the mail with a From header > without the domain part (only "From: root") and those emails are rejected > by the SMTP at the receiving end (sendmail). > > >Maybe you could try a double alias: local delivery (if you need it) and > >directly to the external address, to avoid the forward coming from > >"maurice". > >Something like: > >root: [email protected], maurice > > Thanks for the suggestion, but it doesn't work for me. > > Maurice >
Hi, There's an issue opened about this, it needs to be investigated. We didn't get too many complaints so it wasn't high priority but it'll be fixed hopefully not in too long https://github.com/poolpOrg/OpenSMTPD/issues/174 -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
