0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

short documentation added, path to deliver as configuration option

This commit is contained in:
Stefan M. Hessenauer 2020-02-11 23:49:50 +01:00
parent 352ae80395
commit 416a71d604

View File

@ -29,6 +29,12 @@ our $db_password="CHANGE_ME!";
# Where to create a lockfile; please ensure path exists.
our $run_dir="/var/run/fetchmail";
# in case you want to use dovecot deliver to put the mail directly into the users mailbox,
# set "mda" in the fetchmail table to the keyword "dovecot".
# Where the delivery binary is located
$dovecot_deliver = "/usr/lib/dovecot/deliver";
# instead of changing this script, you can put your settings to /etc/mail/postfixadmin/fetchmail.conf
# just use perl syntax there to fill the variables listed above (without the "our" keyword). Example:
# $db_username = 'mail';
@ -108,7 +114,7 @@ map{
if ($mda) {
if ($mda eq "dovecot") {
$cmd.=" mda \"/usr/lib/dovecot/deliver -d ${mailbox}\" ";
$cmd.=" mda \"${dovecot_deliver} -d ${mailbox}\" ";
} else {
$cmd.=" mda ".$mda
}