Postfix 3.3.0, on OpenSuse 15.0

Hi to all,


my first post, as a list newbie :-)

I'm using postfix, along with dovecot, for about two years now, on my VPS.
virtual_mailbox_domains for virtual domains of recipients, virtual_mailbox_maps 
for recipient's addresses. Both stored
in MariaDB/MySql.

Works fine.

Starting a while ago, I've added getmail, for syncing my email accounts at 
commercial ISPs (like the sender address of
this email, michae...@rocketmail.com, a yahoo account) to my own VPS.

The getmail part itself also works fine and stable.

But I recognized an ugly self-made side effect today, for the first time:

Let's say my VPS' domain is EXAMPLE.COM, as written above used as a postfix 
virtual domain.
So one of my private email addresses would be mich...@example.com.

To get my postfix server to accept both "direct" emails (for 
mich...@example.com) and "getmail-ed" emails (for
michae...@rocketmail.com), I've currently added "rocketmail.com" as (postfix) 
"virtual domain".
As said, works fine for receiving "getmail-ed" mails.

BUT, today I wanted via Thunderbird to send an email from sender 
mich...@example.com to someone_e...@rocketmail.com.

And Thunderbird immediately shows me the postfix error msg "5.1.1 / Recipient 
address rejected. User unknown in virtual
mailbox table".

So it seems that currently my postfix server, listening secured (on port 587) 
for relaying my emails, "remembers" that
he's also listening unsecured (on port 25) to receive emails for "virtual 
domain" rocketmail.com.

Any hints how to tell postfix that he shouldn't try to catch all emails for a 
virtual domain, but only the ones for
existing (getmail) virtual users, defined in virtual_mailbox_maps?

(Of course) I've searched the net and esp. this mailing list's archives before 
subscribing and posting, found this old
answer https://marc.info/?l=postfix-users&m=118760792501033. Which might lead 
into the right direction, also for my
issue, but I'm not sure.


Regards,
Michael

Reply via email to