Re: Site-wide Sieve script
Alexandros Vellis wrote: BTW, [OFF], the Squirrelmail plugin also supports a spam rule function for Joe User, since version 0.9.7, with a 'simple' and 'advanced' configuration page. The philosophy is the same with yours. Yes Iam offerring avelsieve for per user email filtering. With regard to the original question, I'm guessing that whatever program/script creates your users in whatever your authentication method, could be modified to create a default SIEVE script in the proper directory spool/sieve/.. as well, and that script be made active.? A little cumbersome as opposed to a site-wide SIEVE script, but it might just work. I was thinking on the same lines, while a user is added to the database , using your patch for cyrus users INBOX/Sent INBOX/Trash would be auto created on post. simultaneously script would also add default fileinto INBOX/Spam folder sieve script to /usr/sieve/u/username.domain directory. and this would have the same affect as site-wide sieve script. Regards Sarwar Ansari
Site-wide Sieve script
Hello, I am using spamassassin to to tag spam and would like to file the spam in users INBOX/Spam folder. Is it possible to have a site-wide sieve script which will filter all the incoming mails, and be called before the per user sieve scripts. This would save users the hassle of explicitly invoking the anti-spam sieve script, to file spam when they first sign-in. will appreciate insights by sys admins already using spamassassin to filter spam, and file it in spam folder. Regards Sarwar Ansari
postfix + cyrus + mysql; Mailbox does not exist
duplicate.db = db3-nosync tls.db = db3-nosync Regards Sarwar Ansari Indiaaccess
RE: postfix + cyrus + mysql; Mailbox does not exist
Mitu, The error is because you don't have the user added with cyradm in Cyrus. Are you having unixhierarchysep: yesin your imapd.conf ? Otherwise you will not be able to add users to Cyrus with . in their names. It might help if you post your imapd.conf . I have added this users in web-cyradm also with cyradm the mailbox does appear in /var/spool/imap |-- sarwaransari | `-- ns3 | `-- indiaaccess | `-- com | |-- cyrus.cache | |-- cyrus.header | `-- cyrus.index imapd.conf --- postmaster: postmaster configdirectory: /var/imap partition-default: /var/spool/imap admins: cyrus allowanonymouslogin: no allowplaintext: yes sasl_mech_list: PLAIN servername: ns3.indiaaccess.com autocreatequota: 1 reject8bit: no quotawarn: 90 timeout: 30 poptimeout: 10 dracinterval: 0 drachost: localhost sasl_pwcheck_method: saslauthd sievedir: /usr/sieve sendmail: /usr/sbin/sendmail sieve_maxscriptsize: 32 sieve_maxscripts: 5 # #unixhierarchysep: yes # #Added by sarwar #altnamespace: yes tls_ca_file: /var/imap/server.pem tls_cert_file: /var/imap/server.pem tls_key_file: /var/imap/server.pem Regards Sarwar Ansari Indiaaccess -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, January 11, 2003 12:57 AM To: [EMAIL PROTECTED] Subject: Re: postfix + cyrus + mysql; Mailbox does not exist * Sarwar Ansari [EMAIL PROTECTED] [10-01-03 12:18]: Hi, I am using postfix 2.0.0.1 and cyrus 2.1.11 +mysql to auth my mails are not being delivered, the postfix logs show error, (data format error. Command output: sarwaransari.ns3.indiaaccess.com: Mailbox does not exist) can somebody please tell me is it a postfix config problem or cyrus's. and if possible the solution grin I have been at this problem for days, tried various options. The error is because you don't have the user added with cyradm in Cyrus. Are you having unixhierarchysep: yesin your imapd.conf ? Otherwise you will not be able to add users to Cyrus with . in their names. It might help if you post your imapd.conf . mitu
postfix + cyrus + mysql; Mailbox does not exist
Mitu, You were right, I did have have unixhierarchysep: yes commented in my /etc/imapd.conf I have uncommented the line created another user via cyradm but the same problem (Also after creating the user in Web-Cyradm, do I have create mailbox via command line cyradm.) here is my list mail box in cyradm ns3.indiaaccess.com lm Drafts (\HasNoChildren) Sent (\HasNoChildren) Trash (\HasNoChildren) sarwar.ns3.indiaaccess.com (\HasNoChildren) sarwar/indiaaccess/org (\HasNoChildren) sarwaransari/ns3/indiaaccess/com (\HasNoChildren) user/sarwar.ns3.indiaaccess.com (\HasNoChildren) ns3.indiaaccess.com Also when I try to login via SQ to imap user the auth log says: - Jan 10 22:05:26 ns3 saslauthd[2508]: pam_sm_authenticate called. Jan 10 22:05:26 ns3 saslauthd[2508]: dbuser changed. Jan 10 22:05:26 ns3 saslauthd[2508]: dbpasswd changed. Jan 10 22:05:26 ns3 saslauthd[2508]: host changed. Jan 10 22:05:26 ns3 saslauthd[2508]: database changed. Jan 10 22:05:26 ns3 saslauthd[2508]: table changed. Jan 10 22:05:26 ns3 saslauthd[2508]: usercolumn changed. Jan 10 22:05:26 ns3 saslauthd[2508]: passwdcolumn changed. Jan 10 22:05:26 ns3 saslauthd[2508]: crypt changed. Jan 10 22:05:26 ns3 saslauthd[2508]: db_connect called. Jan 10 22:05:26 ns3 saslauthd[2508]: returning 0 . Jan 10 22:05:26 ns3 saslauthd[2508]: db_checkpasswd called. Jan 10 22:05:26 ns3 saslauthd[2508]: pam_mysql: where clause = Jan 10 22:05:26 ns3 saslauthd[2508]: SELECT password FROM accountuser WHERE username='sarwar.ns3.indiaaccess.com' Jan 10 22:05:26 ns3 saslauthd[2508]: returning 7 . Jan 10 22:05:26 ns3 saslauthd[2508]: returning 7 after db_checkpasswd. Jan 10 22:05:26 ns3 saslauthd[2508]: AUTHFAIL: user=sarwar.ns3.indiaaccess.com service=imap realm= [PAM auth error] Jan 10 22:05:26 ns3 imapd[2652]: badlogin: [192.168.0.100] plaintext sarwar.ns3.indiaaccess.com SASL(-13): authentication failure: checkpass failed Regards Sarwar Ansari Indiaaaccess -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, January 11, 2003 12:57 AM To: [EMAIL PROTECTED] Subject: Re: postfix + cyrus + mysql; Mailbox does not exist * Sarwar Ansari [EMAIL PROTECTED] [10-01-03 12:18]: Hi, I am using postfix 2.0.0.1 and cyrus 2.1.11 +mysql to auth my mails are not being delivered, the postfix logs show error, (data format error. Command output: sarwaransari.ns3.indiaaccess.com: Mailbox does not exist) can somebody please tell me is it a postfix config problem or cyrus's. and if possible the solution grin I have been at this problem for days, tried various options. The error is because you don't have the user added with cyradm in Cyrus. Are you having unixhierarchysep: yesin your imapd.conf ? Otherwise you will not be able to add users to Cyrus with . in their names. It might help if you post your imapd.conf . mitu