I'm trying to clean up my setup and not have it refer to a system user at all.
I also want to get rid of aliases and simply use a catch all.

I currently have:

    table catchall { "@" => hugo }  # hugo is a real system user.
    table mydomains { "*.barrera.io", "barrera.io" }
    # [...]
    accept from any for domain <mydomains> virtual <catchall> \
      deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -d [email protected]"

Reading the man page and the list a bit, I concluded that this should work:

    table catchall { "@" => user } # user does not exist as a system user
    table mydomains { "*.barrera.io", "barrera.io" }
    table myuserbase { user => user:10:100:/tmp }
    # [...]
    accept from any for domain <mydomains> virtual <catchall> userbase 
<myuserbase> \
      deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -d [email protected]"

Alas, it does not. When sending email to [email protected], smtpd returns 451.
I got this with `smtpd -dv`:

    debug: aliases_virtual_get: '[email protected]' resolved to 1 nodes
    smtp-in: Failed command on session 58068d7cbc47df70: "RCPT 
TO:<[email protected]>" => 451 Temporary failure

What am I doing wrong? Any hints?

Thanks!

-- 
Hugo Osvaldo Barrera
A: Because we read from top to bottom, left to right.
Q: Why should I start my reply below the quoted text?

Attachment: pgp0KrcZddDdB.pgp
Description: PGP signature

Reply via email to