Closed rokyo249 closed 5 months ago
I don't believe that this behavior is supported currently unfortunately. I don't think this would be very hard to implement, perhaps another mail server entirely for the admin emails could be added as a configuration option. I will take a look and see about the feasibility of adding something like this.
If you are running an MTA on the same host as arbiter (as it appears you are if you are mailing root@localhost), it may be possible to configure forwarding to different addresses there. This would just translate to the local MTA being used as the mail_server
in the arbiter configuration, and rules to forward all emails but the admin ones to the regular mail server. I am by no means an expert on this, so please let me know if I am missing something.
I now just made a script that moves all the arbiter mails to a specific folder in the admin mail account, so it doesn't spam the inbox ;-)
Hi,
I am trying to get Arbiter2 (v2.1.0) to send the copies of all user mail notifications to
/var/mail/root
instead of a real email address, while notifications to the users should still go to their actual email address through our mail server.Is there a way to do this? If I set the parameter
admin_mails
toroot@localhost
it tries to send this though our mail server (which is configured in themail_server
parameter in the sameconfig.toml
) which doesn't know whoroot@localhost
is. However, if I want the user notifications to arrive at the users' mail addresses, I need to have themail_server
parameter set correctly, or they won't arrive. Is there a way to tell Arbiter to not use the mail server foradmin_emails
but just for everything else?Thanks and best regards