Hi, I've several domains which are all forwarded to my own address (as you may conclude if you've followed my recent emails to the list).
I'm trying to use lmtp instead of an lda. I currently just pass the recipient
(eg: the mailbox to which the email is saved) as an argument to the lda. Of
course, lmtp doesn't have this, so I need to change the "RCPT TO" that smtpd
passes via lmtp.
I'm currently using:
table catchall { "@" => user }
table mydomains { "*.barrera.io", "barrera.io" }
table myuserbase { user => 1000:1000:/var/empty }
# [...]
accept from any for domain <mydomains> virtual <catchall> userbase
<myuserbase> [...]
So emails are currenly mapped to user@$DOMAIN ($DOMAIN being the domain it was
sent to). I'd basically need to map them to user@domain (domain being a static
value regardless of original recipient).
How do I achieve this? Am I doing something wrong?
I tried:
table catchall { "@" => [email protected] }
But this resulted in more errors, and I suspect it was not the correct
approach.
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?
pgpdfOQDOJxmZ.pgp
Description: PGP signature
