Hi, everyone! My question is not Gentoo related but, well, I'm used to this list so I ask here. Please, forgive me the off-topic. I decided to try postfix. My question is how do I disable the local delivery and use only virtual domains?
It seemed to me that the right thing to do is to put "myorigin=localhost", "mydestination=localhost" and additionally define virtual domain(s). This worked w/o problem until I tried to subscribe to gentoo-amd64 list. Then I got bounce from gentoo mail reading that it required a real domain name, not "localhost'. My first thought was to make mydestination=the.virtual.domain.name but it appears to be forbidden. If I have the virtual domain "example.com" I can't set "mydestination=example.com". As workaround I put an additional name in the DNS and set "mydestination=new-name.example.com". Then the bounce from gentoo mail was that my postfix says "550 no such local user" - Yeah, right, absolutely correct! The user is [EMAIL PROTECTED], not [EMAIL PROTECTED] The only way I found to make things work was to create a local user w/ nologin and nohome: *useradd -d /dev/null -s /bin/false xxx* and make an alias for him: *echo xxx: [EMAIL PROTECTED] >> /etc/mail/aliases* && newaliases && postfix reload This way is clumsy! Please, advise me how to do it right. -- Best regards, Daniel -- [email protected] mailing list

