Hello,

I want to add rule, which will use Google SMTP server to relay only
these emails, in which I use from as [email protected] (@company.com)

Like
mail -r [email protected]
     -r from-addr
             Use from-addr as the from address in the message and envelope.
             Overrides any from options in the startup files.


I'm not sure, how to replace local with something from local domain
"@company.com"

And how ho to use twice @ in via
accept from local for any relay via 
tls+auth://[email protected]@googlesmtpserver.com:587 auth <secrets>

Could you please help me with the rule? I'm on OpenBSD 6.3 stable.

Thank you,
Jiri

-- 
Jiri Navratil, https://kouc.navratil.cz, +420 222 767 131

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to