]> git.proxmox.com Git - pmg-api.git/blob - templates/fetchmailrc.tt
PMG/Fetchmail.pm - implement disabled property
[pmg-api.git] / templates / fetchmailrc.tt
1 # auto-generated using template fetchmailrc.tt
2
3 set daemon 300
4 set no bouncemail
5
6 defaults:
7 antispam -1
8 batchlimit 100
9
10 smtphost [% ipconfig.int_ip %]/[% pmg.mail.ext_port %]
11
12 # proxmox settings (Do not delete this marker!!)
13 [% FOREACH item IN fetchmail_users.list('values') %]
14 [% IF item.disabled %]skip[% ELSE %]poll[% END -%]
15 [% item.id %] via '[% item.server %]'
16 user '[% item.user %]' pass '[% item.pass %]'
17 to '[% item.target %]'
18 protocol [% item.protocol %] port [% item.port %]
19 [% IF item.interval %] interval [% item.interval %]
20 [% END -%]
21 [% IF item.options %] [% item.options %]
22 [% END -%]
23 [% END %]