On 21 November 2017 14:01:11 GMT+00:00, Gonzalo <[email protected]> wrote:
>The setup works just fine, but I have a problem with users trying to send
>mails to there's self. From roundcube (using 127.0.0.1) or from a mail
>client, always gets "550 Invalid recipient"

The problem is that you have only configured virtual users for external 
connections.

When roundcube (which you say uses localhost) or your users (authenticating on 
port 587) send an email, they hit this rule:

accept from local for local alias <aliases>  ...

That uses the <aliases> table, which evidently does not contain your virtual 
users.

When external (not from local) connections are made, they hit this rule:

accept from any for domain <domains> virtual <virtuals> ...

That uses the <virtuals> table, which I guess contains all your virtual users, 
which is why it works.


-- 
Charles

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to