Hello,
I got a problem with local emails on my FreeBSD box after last upgrade of OpenSMTPd 6.6.4p1.
Previously it worked well, but now:
I have this in my smtpd.conf:
I agree that sender address is not correct, but I don't see where can I specify correct hostname in mail command (of course $HOST is set properly).
All the non-local emails are working well.
Aliases is untouched, /etc/dma/dma.conf is also has all the lines commented.
Apparently it is a regression after recent bugfix in OpenSMTPd, but I think the problem is not directly related to that MTA, but more in my environment config.
Probably dma.conf has to be configured properly to set "MAIL FROM:" correctly, this is what I'm going to try.
Any help is welcome...
I got a problem with local emails on my FreeBSD box after last upgrade of OpenSMTPd 6.6.4p1.
Previously it worked well, but now:
Code:
$ mail -v root
Subject: test
some message
.
EOT
<<< 220 # ESMTP OpenSMTPD
>>> EHLO localhost
<<< 250-# Hello localhost [local], pleased to meet you
<<< 250-8BITMIME
<<< 250-ENHANCEDSTATUSCODES
<<< 250-SIZE 36700160
<<< 250 HELP
>>> MAIL FROM:<alex@#>
<<< 553 5.1.0 Sender address syntax error
sendmail: command failed: 553 5.1.0 Sender address syntax error
I have this in my smtpd.conf:
Code:
listen on $lan_addr inet4 port 25 \
mask-src
action local_mails \
lmtp "/var/run/dovecot/lmtp" \
alias <aliases>
match from local for local \
action local_mails
I agree that sender address is not correct, but I don't see where can I specify correct hostname in mail command (of course $HOST is set properly).
All the non-local emails are working well.
Aliases is untouched, /etc/dma/dma.conf is also has all the lines commented.
Apparently it is a regression after recent bugfix in OpenSMTPd, but I think the problem is not directly related to that MTA, but more in my environment config.
Probably dma.conf has to be configured properly to set "MAIL FROM:" correctly, this is what I'm going to try.
Any help is welcome...