On Wed, Feb 04, 2015 at 03:51:23AM -0300, Hugo Osvaldo Barrera wrote:
> 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?
>
This
> table myuserbase { user => user:10:100:/tmp }
Should read:
> table myuserbase { user => 10:100:/tmp }
--
Gilles Chehade
https://www.poolp.org @poolpOrg
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]