On Wed, Nov 21, 2018 at 02:24:25PM -0600, Mark Kane wrote:
> On 2018-11-19 17:26, Matt Schwartz wrote:
> > So, I've come across an interesting error with OpenSMTPD 6.4.0. I
> > tried sending an email to a virtual user whom I know does not exist on
> > my system. The user is [email protected]. Instead of an error
> > indicating that the user does not exist, I get the following NDR
> > error: 524 5.2.4 Mailing list expansion problem. My virtual users are
> > stored in a file called virtuals.
> 
> I ran into this as well and was seeing outbound backscatter for spam to
> non-existent virtuals. One solution is generating a separate file with a
> list of valid addresses based on the virtual entries, and using a mailaddr
> table with rcpt-to so they error with 550 at SMTP-time:
> 
> match from any for domain <vdomains> rcpt-to <addrs> action ...
> 
> Not sure if there's a better way to accomplish this though.
> 

that's the correct way of handling it in my opinion


-- 
Gilles Chehade                                                 @poolpOrg

https://www.poolp.org                 tip me: https://paypal.me/poolpOrg

-- 
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to