2015-08-29 15:00 GMT+02:00 Gilles Chehade <[email protected]>: > On Thu, Aug 27, 2015 at 05:27:29PM +0200, Donovan Watteau wrote: >> Hi, >> >> I'm configuring OpenSMTPD 5.7.1p1 on Debian 7.8. >> >> I'm looking for something like this: >> >> # Use this when "From: [email protected]" is set: >> accept for any relay via $myrelay >> # Keep default relay in all other cases: >> accept for any relay >> >> So, having read smtpd.conf(5), I thought "sender" would be what I'm looking >> for: >> >> accept sender "[email protected]" for any relay via $myrelay >> accept for any relay >> >> Unfortunately, my email is never relayed through $myrelay, although >> "From: [email protected]" is set. Am I misunderstanding what "sender" is >> about? >> > > It uses the SMTP-level sender, not the DATA-level sender.
OK, thanks, but I still don't know if there's a way to achieve something like this # Use this when "From: [email protected]" (or any other header...) is set: accept for any relay via $myrelay # Keep default relay in all other cases: accept for any relay with OpenSMTPD. Is it possible? impossible? impossible but there might be a way to work around this? Thanks. -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
