Hello misc@,

I'm currently trying to set up an OpenSMTPd server on OpenBSD5.5.

With my modifications I always got an 550 Invalid recipient error, so I changed back to the original config (cp /usr/src/etc/mail/smtpd.conf /etc/mail/smtpd.conf) and fired it up again. After this change I noticed that I also receive the Invalid recipient error when trying to send a message to myself (echo "test" | mail -s test martijn)

Currently there are no files in /var/spool/smtpd (find /var/spool/smtpd -type f) so I reckon it shouldn't be some weird caching problem.

When running smtpd in debug mode I do notice that multiple rules match:
# smtpd -dv -T rules
<snip>
debug: smtp: new client on listener: 0x173ee9066700
smtp-in: New session 5732c93a0e5446c7 from host 1000@localhost [local]
rule matched: accept from <localhost> for domain <localnames> alias aliases deliver to mbox
rule matched: accept from <localhost> for  domain <anydestination> relay
smtp-in: Failed command on session 5732c93a0e5446c7: "RCPT TO:<[email protected]> " => 550 Invalid recipient
smtp-in: Received disconnect from session 5732c93a0e5446c7
debug: smtp: 0x1740eef7a000: deleting session: disconnected

If someone could point me in the right direction I would be most appreciative.

Sincerely,

Martijn van Duren

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to