konstantin-m...@gmx.de wrote:
Hallo!
My postfix receives mails but I can not send mails via SMTP. This is a part of
my log file:
Jun 24 20:49:48 serverxyz postfix/smtpd[30748]: NOQUEUE: reject: RCPT from
xxxx-123456.pool.mediaWays.net[xx.xx.xx.xx]: 550 5.1.1 <myusername.qwer...@web.de>: Recipient
address rejected: User unknown in virtual mailbox table; from=<myusern...@qwertdomain.net>
to=<myusername.qwer...@web.de> proto=ESMTP helo=<myusername-laptop>
Postfix thinks web.de is a virtual_mailbox_domain. This has
nothing to do with SASL.
The authentication seams to work. But postfix will not relay my message to the
next SMTP server. I thought I could reach the behavior with the following
configuration:
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination
The SASL configuration looks correct, but your
virtual_mailbox_domains table is matching web.de.
Test with (all one line in case it gets wrapped):
# postmap -q web.de mysql:/etc/postfix/mysql_virtual-domains.cf
-- Noel Jones