First of all, I learned the philosophy of not setting default parameters. So if some values are missing, then they are defaults :)
> I'm seeing multiple problems > >> mydomain = roessner-net.de >> relay_domains = $mydestination lists.roessner-net.de > > mydestination should not be in relay_domains! > postconf -d relay_domains relay_domains = $mydestination See, this is default. I only added the list server > And what is mydestination defaulting to? > postconf -d mydestination mydestination = $myhostname, localhost.$mydomain, localhost As yours, too. > $ postconf -d mydestination > mydestination = $myhostname, localhost.$mydomain, localhost > > But you didn't define $myhostname explicitly. > So, danger lurks! Formerly was a correct default, but seems it changed: postconf -d myhostname myhostname = mx0.localdomain But this is not the problem, because roessner-net.com is and should and must be a virtual domain :) Please I fixed that little thing :) >> smtpd_recipient_restrictions = reject_non_fqdn_recipient >> reject_non_fqdn_sender reject_unknown_recipient_domain >> reject_unknown_sender_domain reject_unlisted_recipient > > reject_unlisted_recipient, OK! > >> reject_unauth_destination > >> virtual_alias_maps = proxy:ldap:/etc/postfix/ldap/virtual_aliases.cf >> virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap/virtual_domains.cf >> virtual_transport = lmtp:[127.0.0.1]:24 > > So: Which address class does "roessner-net.com" belong to? > >> Testing on command line: >> >> postmap -q "roessner-net.com" ldap:/etc/postfix/ldap/virtual_domains.cf >> virtualDomains > > Aha. According to this it's in virtual_mailbox_domains! > That's the error > Can I change the setup, to have roessner-net.com being virtual, not local. All my other domains are also in my ldap and are virtual. > > For your setup I'd say: > > * make roessner-net.com a relay_domain > * use transport_maps to transport it to localhost via LMTP > * use relay_recipient_maps > For virtual domains? Christian --- Roessner-Network-Solutions Bachelor of Science Informatik Nahrungsberg 81, 35390 Gießen F: +49 641 5879091, M: +49 176 93118939 USt-IdNr.: DE225643613 http://www.roessner-network-solutions.com
PGP.sig
Description: Signierter Teil der Nachricht