Enable Moodle's mail-bounce policy to avoid spam-like behavior

Enable Moodle's mail-bounce policy to avoid spam-like behavior

by i idearius -
Number of replies: 0

As user's e-mail addresses are not fully updated, mail bounces are mounting and my provider thought spam was being sent by Moodle.

So I'm trying to implement Moodle's mail-bounce policy as described in http://docs.moodle.org/20/en/Email_processing#Enable_bounce_handling, but run into troubles.

In my case, the Moodle installation has only an IP address (no domain name) and e-mail is handled by an external server: in cPanel, "MX Entry Maintenance" > "Email Routing" is set to "Remote Mail Exchanger".

I don't know what to put in this part of the config.php:


$CFG->mailprefix = 'mdl+'; // + is the separator for Exim and Postfix.
$CFG->mailprefix = 'mdl-'; // - is the separator for qmail
$CFG->maildomain = 'youremaildomain.com';


Should I ask the people running the "Remote Mail Exchanger"?
Or as Moodle sends e-mail by it self, "mdl+" should be used to match Exim on my server? What about the domain name? Should I use the IP address?

Any help will be much appreciated.

Average of ratings: -