I have setup opendmarc to run daily the aggregate reports, it works perfect but every time I change some thing on the ispconfig3 control panel, it will restore the postfix main.cf to ispconfig defaults, I did follow the https://www.howtoforge.com/communit...-for-custom-postfix-and-dovecot-config.86559/ and after creating a custom config file at: /usr/local/ispconfig/server/conf-custom/install/postfix_custom.conf.master first I add just the custom lines for Postfix in /usr/local/ispconfig/server/conf-custom/install/postfix_custom.conf.master then I tried the whole file main.cf modified to the template /usr/local/ispconfig/server/conf-custom/install/postfix_custom.conf.master and both templates fail Am I missing something? Running Ubuntu 20.04 ISPConfig 3.2.8p1 Thanks
A few settings are hard coded in the server plugin, what is it you are changing? Fwiw you can just configure rspamd to send those reports, no need for opendmarc for just that.
well I need to add/change the following: Code: smtpd_milters = local:opendkim/opendkim.sock,local:opendmarc/opendmarc.sock,inet:localhost:11332 non_smtpd_milters = $smtpd_milters,inet:localhost:11332 the only reason I installed opendkim also, it is for Verification I knew that rspmad and/or amavis handles DKIM signing and the verification I wasn't sure, because I couldn't find it on the mail logs but besides that I tried to setup rspmad, couldn't get it right, maybe I did not find the right information how to do so Thanks for your help
Rspamd puts dmarc and dkim results in authentication-results (and arc) headers, as well as in rspamd.log.
thanks for the info, could you direct me to where I can find more info how to get the rspamd to handle the reports? or if is not too much to ask how to do this? thanks again
Indeed these are two that are set in the server plugin called from the server_update event: Code: $ grep milters server/plugins-available/postfix_server_plugin.inc.php exec("postconf -e 'smtpd_milters = inet:localhost:11332'"); exec("postconf -e 'non_smtpd_milters = inet:localhost:11332'"); exec("postconf -X 'smtpd_milters'"); exec("postconf -X 'non_smtpd_milters'"); There currently is no way provided to override that behavior. The documentation is https://rspamd.com/doc/modules/dmarc.html#reporting on what to put in your local.d/dmarc.conf.
One suggestion, you will want to setup a noreply type account to be the sender of your dmarc reports, as (depending on the size of your email userbase) it will receive a tremendous number of bounces.