Helló! Belső levelezés kiszolgálására kipróbáltam az iRedMail csomagot. Nagyon megnyerő a dolog, viszont szeretném ha adott smtp-ről leszedné a leveleket procmail szétszorná a virtuális userek között.
Sajnos eddig no sikerrel Kb 3 leirast találtam, de sajnso szegényes angoltudásom miatt nem igen jött ösze a dolog. valaki tud segiteni?
fetchmail igy jolehet? :
-----
set daemon 600
set logfile /home/user/.fetchmail.log
set no bouncemail
poll pop.gmail.com proto POP3 auth password no dns user "user@gmail.com" pass "password" is user keep ssl
mda "/usr/bin/procmail -d %T"
-----
És itt egy iredmailforumos tyutyurel: http://www.iredmail.org/forum/topic480-iredmail-support-faq-how-to-use-procmail-to-deliver-mail-peruser-setting.html
de nem vágom.
1. :adjam a postfix master.cf hez ezt
------
procmail unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} EXTENSION=${extension} /etc/procmailrc
------
2.: procmailrc hez ezt(kicserélni az maildirt):
-----
MAILBOX="/var/vmail/vmail01/$DOMAIN/$USER/"
-----
3.: aztán a fileok
-----
touch /var/log/procmail.log
chown vmail:vmail /var/log/procmail.log
chmod 0700 /var/log/procmail.log
------
4: EZT ABSZOLUT NEM ÉRTETTEM MEG GOOGLE TRANSLATEL SEM LETTEM OKOSABB én nem találom a phpmyqdminban az adott táblát amit elvileg átkéne irni ha jol értettem... :(
Set transport of this user in your MYSQL/LDAP backend.
In MySQL backend, change value of 'transport' column in vmail.mailbox table. set to 'procmail' (this is what we defined in postfix master.cf).
In OpenLDAP backend, change value of 'mtaTransport' attribute of this user.
Be CAREFUL, maildir generated by iRedMail is hashed, but seems procmail can't find them, so maybe you should change maildir related paths in SQL/LDAP of this user, so that it can receive mails. e.g.
In MySQL backend, you may want to change value of 'storagebasedirectory' and 'maildir' columns in vmail.mailbox table.
In LDAP backend, you may want to change value of 'storageBaseDirectory' and 'mailMessageStore' attributes.
It's a good idea to not mix procmail mailboxes and default LDA mailboxes, you may want to use /var/vmail/procmail01 as storageBaseDirectory instead of /var/vmail/vmail01 which used by default LDA. And don't forget to set correct file permission:
:
Ráadásul a main.cf be irando cuccot is ha bemásolom valami missing '=' re panaszkodik a postfix logja... :(
PLS segitsetek.