Hi all,
I have a FreeBSD 14.2 server set up with OpenSMTPD as an e-mail smart/relay host for other servers that use DMA.
This works great except a small annoyance for me : when sending a mail from the OpenSMTPD host, the sender is user@host.domain.com and I would like to have user@domain.com. I know I can add -f sender when sending with the mail command and add MAILFROM in crontabs, but would like to have it done globally at the OpenSMTPD level.
Could not find a solution, only that this could be done with filters...
Any help appreciated.
I have a FreeBSD 14.2 server set up with OpenSMTPD as an e-mail smart/relay host for other servers that use DMA.
This works great except a small annoyance for me : when sending a mail from the OpenSMTPD host, the sender is user@host.domain.com and I would like to have user@domain.com. I know I can add -f sender when sending with the mail command and add MAILFROM in crontabs, but would like to have it done globally at the OpenSMTPD level.
Could not find a solution, only that this could be done with filters...
Any help appreciated.