Hello dear list,
I am using an OpenSMTPd mailserver with dovecot for quite a while. I now basically copied my entire config to setup a server for a friend of mine. However, when sending an email to one of his domains (that has a catchall configured in the virtual table), OpenSMTPd rejects this email with 550 Invalid recipient. If I SSH onto the server and use "echo foo | sendmail b...@domain.com" then the email is successfully delivered. My server runs under Debian 11. The server of my friend runs under OpenBSD 7.7, as I have experienced problems with OpenSMTPd + Debian 12 + OpenSSL. However, I cannot imagine that the OS has something to do with OpenSMTPd's virtual feature. From my friends smtpd.conf pki server1.domain.com cert "/etc/dovecot/server1.domain.com.cert" pki server1.domain.com key "/etc/dovecot/server1.domain.com.key" table aliases file:/etc/mail/aliases table vusers file:/etc/mail/vusers table vdoms file:/etc/mail/vdoms table relay-sources file:/etc/mail/relay-sources table passwd file:/etc/dovecot/passwd-file table special-control file:/etc/mail/special-control table vsenders file:/etc/mail/vsenders table blockedsenders file:/etc/mail/blockedsenders listen on 0.0.0.0 port 25 tls-require pki server1.domain.com listen on 0.0.0.0 port 587 tls-require pki server1.domain.com auth <passwd> listen on 0.0.0.0 port 465 smtps pki server1.domain.com auth <passwd> action "local" lmtp localhost:24 virtual <vusers> action "relay" relay host smtp://otherserver helo server1.domain.com match from mail-from <blockedsenders> for any reject match mail-from <blockedsenders> for any reject match from any for domain <vdoms> action "local" match from src <relay-sources> for any action "relay" match auth for any action "relay" vusers: @domain.com mailbox1, external.addr...@otherdomain.org s...@domain.com /dev/null vdoms: domain.com I cannot find any differences to my own config, table structure etc. Do you have any idea how to analyse this problem? I used smtpctl log verbose, but in /var/log/maillog there is no more information than just "550 invalid recipient". Thanks! Cheers, Simon
signature.asc
Description: PGP signature