On Sat, Dec 27, 2014 at 11:56:29AM +0000, Florian Obser wrote:
> Hi,
> 
> so I want to run smtpd(8) as a backup MX and configure the list of
> valid email addresses so that the backup MX rejects invalid
> email addresses on accepting the message and not bounce
> the mail alter on when it tries to deliver to the primary
> mail server.
> Currently I have this:
> accept from any for domain <domains> recipient <recipients> \
>       relay backup hostname "primary.mx.example.com"
> 
> Assuming I have example.com in the domains table and
> u...@example.com in the recipient table smptd rejects
> rcpt to: <user+...@example.com>
> with
> 550 Invalid recipient
> 
> rcpt to: <u...@example.com>
> works just fine.
> 
> This is on -current.
> 
> How can I get +TAG to work on the backup MX?
> 

At the moment, "recipient" is unaware of "+" tagging you can only backup
a full domain or specific untagged recipients.

This doesn't seem too hard to implement though, I'll see if I can get it
done this week.

-- 
Gilles Chehade

https://www.poolp.org                                          @poolpOrg

Reply via email to