November 23, 2019 5:08 PM, "Implausibility" <> wrote:

> Hi again.
> My mail server has been running fine since last weekend, and I'm trying to 
> expand its functionality
> by including the ability to send and receive mail for my list of domains, and 
> for eMail addresses
> which forward to locally defined users -- but I can't seem to get it working, 
> and I think the issue
> is my (mis-)understanding of how the match parameter works...
> In order to get virtual users working, I've added three lines to the config:
>> table vusers file:/etc/mail/vusers
>> action "vusers" maildir junk virtual <vusers>
>> match from any for domain <domains> rcpt-to virtual <vusers> action "vusers"

your match rule is not correct, I'm not sure what you want to do:

- rcpt-to lacks a table parameter, but I'm unsure if it's even needed here
- virtual <vusers> can't be in the match rule, it must be in your action, which 
is already the case

> I was able to get mail delivered for local users to my virtual domains 
> previously without issue.
> But I can't get virtual addresses working...
> I've tried a half a dozen varieties of the match command, and I keep getting 
> 'syntax error', and it
> doesn't give me any hint as to what exactly the problem is. I want to accept 
> eMail from any
> destination, to the domains defined in the domains table, that are sending to 
> recipients listed in
> the vusers table, to deliver them to the maildir for access via Dovecot IMAP.

Reply via email to