MailWatch icon indicating copy to clipboard operation
MailWatch copied to clipboard

Quarantine defaults in conf.php

Open thctlo opened this issue 11 years ago • 0 comments

Hai,

In conf.php we have the part : define(QUARANTINE_MAIL_HOST, '127.0.0.1'); define(QUARANTINE_ etc .....

since this is static it would be nice to add language options here. for example. ( and sorry im not a programmer, but something like this.

define(QUARANTINE_MAIL_HOST, '127.0.0.1'); define(QUARANTINE_LANG, 'nl');

if exist conf.quarantie.$QUARANTINE_LANG$.conf include conf.quarantie.$QUARANTINE_LANG$.conf else
use default config. end

and in conf.quarantie.nl.conf ( or something like gelow, which is more universal )

define(QUARANTINE_FROM_ADDR, 'MailAdmin'); define(QUARANTINE_REPORT_FROM_NAME, 'AntiSpam Administrator'); define(QUARANTINE_REPORT_SUBJECT, 'Message Quarantine Report'); define(QUARANTINE_SUBJECT, 'E-mail vrijgegeven van mailserver quarantaine'); define(QUARANTINE_MSG_BODY, 'Als bijlage vindt u de e-mail die door AntiSpam Server om redenen van spam in quarantaine gehouden was. Open de bijlage om het bericht te kunnen bekijken. Voor vragen kunt u terecht bij uw mail beheerder. Met vriendelijke groet,

Uw mailserver beheerder');

Wel... the dutch language is there. ;-)

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

thctlo avatar Jan 13 '14 13:01 thctlo