OPNsense Forum

English Forums => General Discussion => Topic started by: RGN01 on July 30, 2021, 06:35:37 PM

Title: SMTP plugin (send only)
Post by: RGN01 on July 30, 2021, 06:35:37 PM
I'm fairly new to OPNSense and a complete noob when it comes to adding plugins so please be gentle!

I wish to add the mail gateway module to allow various devices to send automated email alerts through it, rather than external accounts like Gmail.

I've reviewed the documentation https://docs.opnsense.org/manual/how-tos/mailgateway.html (https://docs.opnsense.org/manual/how-tos/mailgateway.html) and it mentions adding ClamAV, Redis and RSpamd in addition to Postfix - so my question is: are these essential if I just want the outgoing capability?

Thanks.
Title: Re: SMTP plugin (send only)
Post by: fabian on July 30, 2021, 06:40:33 PM
You would need only postfix without the plugin.
Title: Re: SMTP plugin (send only)
Post by: RGN01 on July 30, 2021, 06:51:25 PM
Thank you, fabian
Title: Re: SMTP plugin (send only)
Post by: RGN01 on July 30, 2021, 08:03:21 PM
Wow, that was painless. Thanks again!

Another question, if I may: the log is empty despite me sending emails and I can't find a setting to turn it on. Are these settings documented somewhere? I can't find them on the page I referenced earlier.
Title: Re: SMTP plugin (send only)
Post by: fabian on July 30, 2021, 11:37:16 PM
If you don't use the plugin, there won't be an UI. The logging is in the system log or somewhere in /var/log
Title: Re: SMTP plugin (send only)
Post by: mimugmail on July 31, 2021, 12:07:41 AM
And If you use the plugin you need to disable circular Log in System : Settings : Logging
Title: Re: SMTP plugin (send only)
Post by: RGN01 on August 01, 2021, 09:35:15 AM
Thanks, all.