I have setup serveral mail filter rules for example: EBAY which should deliver all email from domain ebay.com to the EBAY folder under the INBOX. but clearly this does not work. mail from ebay.com comes to the INBOX only. now I specify MoveTo and EBAY under it.. is there something I've missed? does it need to be maybe INBOX/EBAY? anyway email does not go anywhere other than the INBOX. Also - since I've been playing with new roundcube (deb12) can we have users change their passwords in roundcube? did that not used to require an ispconfig plugin? Thanks till! HAPPY NEW YEAR
It works with ISPConfig Roundcube plugin. It still does. I guess this is latest installation howto: https://www.howtoforge.com/install-ispconfig-3-roundcube-plugins-on-debian-10/
thanks taleman - I just asked since the ispconfig auto installer for debian installs roundcube by default I thought maybe it had incorporated the plugins!
any thoughts on why mailfilter does not deliver the mail correctly? mail from ebay.com should go to the EBAY folder. I've tried both EBAY as the folder, and INBOX/EBAY as the folder. but emails keep appearing ONLY in the INBOX!
The most common reason for that is selecting wrong filter rule. e.g. use 'from is' while you should use 'from contains' as you likely did not specify the exact email from (which is not just the email address).
well we have: Name EBAY Source: From Domain ebay.com Action Move to: INBOX/EBAY (also tried just EBAY). INBOX/EBAY folder exists. but all email appears in inbox only! surely this would assign all email originating at ebay.com? Ill change Domain to 'Contains' and see if it makes a difference!
still trying to get to the bottom of the mail filter not working. where are the mail filters stored? need to check if they are actually existing anywhere as well as not working... arent they supposed to make entries in the /etc/dovecot/conf.d/90-sieve.conf? where are these rules written so I can try and see why they are being ignored?? thanks!
In the sieve files of the mailbox. Example: /var/vmail/test.int/test/.ispconfig.sieve /var/vmail/test.int/test/.ispconfig-before.sieve No. That file is not used; it does not belong to the ISPConfig dovecot setup.
well in my .ispconfig-before.sieve we find: --snip-- ### END FILTER_ID:3 ### BEGIN FILTER_ID:2 if header :regex "from" [".*ebay\\.com"] { fileinto "INBOX/EBAY"; stop; --snip-- I've also tried EBAY and INBOX.EBAY - but nothing works. but - email from ebay.com is NOT put into this folder (or anything other than inboxc!) what am I doing wrong??
Maybe we have an issue with double escaping here. Please try to change the line: Code: if header :regex "from" [".*ebay\\.com"] { to Code: if header :regex "from" [".*ebay\.com"] { and then compile the files with the commands: sievec .ispconfig-before.sieve sievec .ispconfig.sieve
I edited it in the folder and ran sievec now we will see! next day alas - still get emails in the INBOX ONLY! how can I see whats going on??? cdb.
AHA -- enlightenment? after verbosing and logging in maillog we find: --snip-- Mar 16 08:43:59 ns10 dovecot[1226262]: lmtp([email protected])<1712918><9IQ5L4/H1mcWIxoAAHWAhg>: Error: sieve: msgid=<0AB4A629-FEBFA6CF4A2-019591B7A552-00000000004808E6@starship>: failed to store into mailbox 'INBOX/EBAY': Invalid mailbox name: Name must not have '/' characters Mar 16 08:44:00 ns10 dovecot[1226262]: lmtp([email protected])<1712908><8q0zCY7H1mcMIxoAAHWAhg>: sieve: msgid=<0AAB1A56-16341379CAE-019591B93D92-000000000047F1B3@starship>: stored mail into mailbox 'INBOX' --snip-- what is the proper syntax? INBOX/EBAY appeared to be correct!' ENLIGHTENMENT - inspite of many counter examples, INBOX/WHATEVER is infact invalid. it must be INBOX.WHATEVER!! maybe ispconfig should throw an error when we put a / in the mailbox name??