open...@bgone.net (Ivo Chutkin), 2018.05.01 (Tue) 09:48 (CEST):
> Hello misc,
> 
> I have strange problem with mail.
> 
> I edit  /etc/mail/aliases to set well known aliases like:
> 
> # Well-known aliases -- these should be filled in!
> root:myn...@mydomain.net
> manager:root
> dumper:root
> 
> Then I run newaliases but mail is still delivered to local user.
> 
> I also run makemap -t aliases /etc/mail/aliases with no effect.
> 
> Here is mail log:
> 
> May  1 08:31:24 dns12 smtpd[7943]: smtp-in: New session fdcad19418c8f68d
> from host dns12.domain.eu [local]
> 
> May  1 08:31:24 dns12 smtpd[7943]: smtp-in: Accepted message 4c55f050 on
> session fdcad19418c8f68d: from=<r...@dns12.domain.eu>,
> to=<r...@dns12.domain.eu>, size=2250, ndest=1, proto=ESMTP
> 
> May  1 08:31:24 dns12 smtpd[7943]: smtp-in: Closing session fdcad19418c8f68d
> 
> May  1 08:31:24 dns12 smtpd[7943]: delivery: Ok for 4c55f0507959f826:
> from=<r...@dns12.domain.eu>, to=<r...@dns12.domain.eu>, user=myname,
> method=mbox, delay=0s, stat=Delivered
> 
> It happens on 6.1 and 6.2 but not on all machines I run.
> 
> Am I missing something obvious?

$ doas smtpctl update table aliases
-- OR -- 
$ doas rcctl restart smtpd

assuming that you have the default of 

"table aliases file:/etc/mail/aliases"

in your smtpd.conf(5), which you didn't show, grrr!

Marcus

Reply via email to