problems with tls/ssl

2007-08-24 Thread Philippe Trolliet
hi,
when i try to change the ssl/tls certificates i get an error in maillog with
following message:

Fatal error: tls_start_servertls() failed

here my cyrus config:
...
tls_cert_file: /etc/pki/cyrus-imapd/newcert.pem
tls_key_file: /etc/pki/cyrus-imapd/newreq.pem
tls_ca_file: /etc/pki/cyrus-imapd/cacert.pem
...

i used this howto to setup my own CA:
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/postfix_tls_support
.html

for the first time ssl worked just over imap. after a while my pop3s worked
too but before i got the above error message.
now i get the same error messages with an new certificate. both doesn´t
work, imaps und pop3s.
what´s going on?

regards
philippe


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


could not fetch new headers

2007-08-22 Thread Philippe Trolliet
hi,
i have a strange problem with the inbox of one user.
i´m using outlook 2000 as mail client. i created an imap connection to see
what happens.
the reason to test the account over imap was that the user had 2 passwords
with an ''-sign and could login with both of them over horde (just one is
allowed). but that´s another problem that will go to the horde list. to
exclude this problem i changed the password of the user to a password
without any special characters.
i created an imap-account in outlook and used an encrypted connection (port
993). this works for all my other accounts except for this special
user-account. when i try to check mail on this account i get the following
error message in outlook:

Could not fetch new headers in the inbox for account. An unknown error has
occured. Please save any existing work and restart the program.

i don´t know what the problem is. any other account works fine with these
settings.

regards
philippe


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


problem fetching new headers

2007-08-22 Thread Philippe Trolliet
hi,
i have a strange problem with the inbox of one user.
i´m using outlook 2000 as mail client. i created an imap connection to see
what happens.
the reason to test the account over imap was that the user had 2 passwords
with an ''-sign and could login with both of them over horde (just one is
allowed). but that´s another problem that will go to the horde list. to
exclude this problem i changed the password of the user to a password
without any special characters.
i created an imap-account in outlook and used an encrypted connection (port
993). this works for all my other accounts except for this special
user-account. when i try to check mail on this account i get the following
error message in outlook:

Could not fetch new headers in the inbox for account. An unknown error has
occured. Please save any existing work and restart the program.

i don´t know what the problem is. any other account works fine with these
settings.

regards
philippe


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


quota warning in message

2007-07-12 Thread Philippe Trolliet
hi,
i´m using cyrus-imapd on fedora core 6. i want to send a mail to the user
whose quota is over quotawarn:-parameter in imapd.conf.
i always thought that the quotawarn parameter itself will enable such a
feature but no mail is sent.
how can i notify the user per mail if his quota is over quotawarn?

regards
philippe


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


RE: problem with admin-user

2007-06-01 Thread Philippe Trolliet
now i need to specify an admin user for every single domain because of the
@domain.com.
in FC4 everything worked fine with the single admin account cyrus without a
realm.
is there any setting in the cyrus version of fedora core 6 or is this a bug?
please help

regards
philippe

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Philippe
 Trolliet
 Sent: Donnerstag, 31. Mai 2007 10:48
 To: Info-cyrus
 Subject: problem with admin-user


 hi,
 i installed a fresh FC6 system. my authentication is as follows: imapd -
 saslauthd - pam - mysql. i have a problem with the admin user.
 when i try
 to login over imtest or cyradm, those tools always append the
 domainname. on
 my former FC4 installation it wasn´t like that in case for the admin-user
 cyrus. there i had one user cyrus in my mysql database and i
 could log in as
 admin-user cyrus and the domainname hasn´t been appended automatically.
 now i need to have a real user [EMAIL PROTECTED] in my database. what
 happened here?
 i havn´t changed anything in the configuration of cyrus-imapd. my config
 files look as follows:

 /etc/imapd.conf:
 postmaster: postmaster
 configdirectory: /var/lib/imap
 partition-default: /var/spool/imap
 admins: cyrus
 sievedir: /var/lib/imap/sieve
 sieve_maxscriptsize: 320
 sieve_maxscripts: 5
 unixhierarchysep: yes
 altnamespace: yes
 sendmail: /usr/sbin/sendmail
 hashimapspool: true
 sasl_pwcheck_method: saslauthd
 sasl_mech_list: PLAIN LOGIN
 tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
 tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
 tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
 allowanonymouslogin: no
 allowplaintext: yes
 allowplainwithouttls: yes
 autocreatequota: 4
 reject8bit: no
 quotawarn: 90
 timeout: 30
 poptimeout: 10
 dracinterval: 0
 drachost: localhost
 servername: mail.domain.com
 virtdomains: yes
 lmtp_over_quota_perm_failure: 1

 /etc/imapd-local.conf:
 is the same as above.

 by the way, what is the difference between imapd.conf and
 imapd-local.conf?
 why is the domainname automatically appended to the admin-user cyrus now?

 regards
 philippe

 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

 __ NOD32 2300 (20070531) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


RE: problem with admin-user

2007-06-01 Thread Philippe Trolliet
i solved the problem. the domain name was automatically appended because of
a misconfiguration in /etc/hosts.
/etc/hosts before:
127.0.0.1   mail.domain.com localhost.localdomain   localhost
192.168.0.35mail.domain.com mail

/etc/hosts after:
127.0.0.1   localhost
192.168.0.35mail.domain.com mail

now i can login as user cyrus and can administer all domains with one user
again and the domain name isn´t appended anymore.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Philippe
 Trolliet
 Sent: Freitag, 1. Juni 2007 13:37
 To: Info-cyrus
 Subject: RE: problem with admin-user


 now i need to specify an admin user for every single domain because of the
 @domain.com.
 in FC4 everything worked fine with the single admin account cyrus
 without a
 realm.
 is there any setting in the cyrus version of fedora core 6 or is
 this a bug?
 please help

 regards
 philippe

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of Philippe
  Trolliet
  Sent: Donnerstag, 31. Mai 2007 10:48
  To: Info-cyrus
  Subject: problem with admin-user
 
 
  hi,
  i installed a fresh FC6 system. my authentication is as
 follows: imapd -
  saslauthd - pam - mysql. i have a problem with the admin user.
  when i try
  to login over imtest or cyradm, those tools always append the
  domainname. on
  my former FC4 installation it wasn´t like that in case for the
 admin-user
  cyrus. there i had one user cyrus in my mysql database and i
  could log in as
  admin-user cyrus and the domainname hasn´t been appended automatically.
  now i need to have a real user [EMAIL PROTECTED] in my database. what
  happened here?
  i havn´t changed anything in the configuration of cyrus-imapd. my config
  files look as follows:
 
  /etc/imapd.conf:
  postmaster: postmaster
  configdirectory: /var/lib/imap
  partition-default: /var/spool/imap
  admins: cyrus
  sievedir: /var/lib/imap/sieve
  sieve_maxscriptsize: 320
  sieve_maxscripts: 5
  unixhierarchysep: yes
  altnamespace: yes
  sendmail: /usr/sbin/sendmail
  hashimapspool: true
  sasl_pwcheck_method: saslauthd
  sasl_mech_list: PLAIN LOGIN
  tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
  tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
  tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
  allowanonymouslogin: no
  allowplaintext: yes
  allowplainwithouttls: yes
  autocreatequota: 4
  reject8bit: no
  quotawarn: 90
  timeout: 30
  poptimeout: 10
  dracinterval: 0
  drachost: localhost
  servername: mail.domain.com
  virtdomains: yes
  lmtp_over_quota_perm_failure: 1
 
  /etc/imapd-local.conf:
  is the same as above.
 
  by the way, what is the difference between imapd.conf and
  imapd-local.conf?
  why is the domainname automatically appended to the admin-user
 cyrus now?
 
  regards
  philippe
 
  
  Cyrus Home Page: http://cyrusimap.web.cmu.edu/
  Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
  List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 
  __ NOD32 2300 (20070531) Information __
 
  This message was checked by NOD32 antivirus system.
  http://www.eset.com
 
 

 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

 __ NOD32 2304 (20070601) Information __

 This message was checked by NOD32 antivirus system.
 http://www.eset.com




Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


problem with admin-user

2007-05-31 Thread Philippe Trolliet
hi,
i installed a fresh FC6 system. my authentication is as follows: imapd -
saslauthd - pam - mysql. i have a problem with the admin user. when i try
to login over imtest or cyradm, those tools always append the domainname. on
my former FC4 installation it wasn´t like that in case for the admin-user
cyrus. there i had one user cyrus in my mysql database and i could log in as
admin-user cyrus and the domainname hasn´t been appended automatically.
now i need to have a real user [EMAIL PROTECTED] in my database. what
happened here?
i havn´t changed anything in the configuration of cyrus-imapd. my config
files look as follows:

/etc/imapd.conf:
postmaster: postmaster
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
sievedir: /var/lib/imap/sieve
sieve_maxscriptsize: 320
sieve_maxscripts: 5
unixhierarchysep: yes
altnamespace: yes
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
allowanonymouslogin: no
allowplaintext: yes
allowplainwithouttls: yes
autocreatequota: 4
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
servername: mail.domain.com
virtdomains: yes
lmtp_over_quota_perm_failure: 1

/etc/imapd-local.conf:
is the same as above.

by the way, what is the difference between imapd.conf and imapd-local.conf?
why is the domainname automatically appended to the admin-user cyrus now?

regards
philippe


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


synchronization/backup mx

2007-05-15 Thread Philippe Trolliet
hi,
i´m looking for a strategy to synchronize the primary mailserver to a
backup/fallback server. i´ve read an article about backup strategy in the
cyrus wiki. but is there any other way to do this? e.g. with an internal
component of cyrus?
scenario:
a mail is stored in inbox on primary server.
the server stores a backup of the mail and config over a second network
interface on the backup/fallback mx.
is this possible or has this to be done manually with rsync/lvm snapshot?
can i realize this in some way with murder?

there is some other thing i want to know. is the backup mx (configured in
dns) automtically used if my primary mailserver goes down because of
hardware failure or anything else?

regards
philippe


--
I am using the free version of SPAMfighter for private users.
It has removed 6214 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


RE: shared mailboxes with virtual domain setup

2007-04-03 Thread Philippe Trolliet
i got it all working right know. i found out that outlook and thunderbird
don´t support acl´s. i´m using the horde client too and there it is possible
to define acl´s.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Philippe
 Trolliet
 Sent: Montag, 2. April 2007 14:21
 To: Info-cyrus
 Subject: shared mailboxes with virtual domain setup
 
 
 hi,
 i´m using cyrus-imapd-2.2.12-6.fc4 on fedora core 4 with virtual domains.
 virtual domain and user information is stored in a mysql database. the
 authentication works with sasl configured with pam.
 everything works fine. i can check mails over pop/imap and send mail. the
 usernames are of the following format [EMAIL PROTECTED]
 i want to create shared mailboxes with user-specific access rights. in the
 cyrus documentation i´ve seen that i have to use the command 
 cyradm for it.
 $ cyradm --user admin-user localhost
 
 i created a mailbox with the command:
 localhost cm shared.department1
 
 then i´ve set the access rights:
 localhost sam shared.department1 [EMAIL PROTECTED] lrs
 
 i get the error message:
 setaclmailbox: [EMAIL PROTECTED]: lrs: Invalid identifier
 
 i created the domains and accounts with a cvs version of web-cyradm.
 listmailbox produces the following output (changed usernames and domains):
 user/[EMAIL PROTECTED] (\HasNoChildren)
 user/[EMAIL PROTECTED] (\HasChildren)
 user/user1/[EMAIL PROTECTED] (\HasNoChildren)
 user/[EMAIL PROTECTED] (\HasNoChildren)
 
 why doesn´t the above command work?
 is it possible to define a shared mailbox for users that already have a
 mailbox?
 how can i setup an imap connection in outlook or thunderbird (the 
 user could
 already have an imap connection to his own mailbox)?
 is it possible to define a shared folder for a user-account? how can other
 users access this folder if they already have an imap connection?
 
 regards
 philippe
 
 
 --
 I am using the free version of SPAMfighter for private users.
 It has removed 4593 spam emails to date.
 Paying users do not have this message in their emails.
 Get the free SPAMfighter here: http://www.spamfighter.com/len
 
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
 
 __ NOD32 2162 (20070402) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 
 

-- 
I am using the free version of SPAMfighter for private users.
It has removed 4610 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len

attachment: winmail.dat
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

shared mailboxes with virtual domain setup

2007-04-02 Thread Philippe Trolliet
hi,
i´m using cyrus-imapd-2.2.12-6.fc4 on fedora core 4 with virtual domains.
virtual domain and user information is stored in a mysql database. the
authentication works with sasl configured with pam.
everything works fine. i can check mails over pop/imap and send mail. the
usernames are of the following format [EMAIL PROTECTED]
i want to create shared mailboxes with user-specific access rights. in the
cyrus documentation i´ve seen that i have to use the command cyradm for it.
$ cyradm --user admin-user localhost

i created a mailbox with the command:
localhost cm shared.department1

then i´ve set the access rights:
localhost sam shared.department1 [EMAIL PROTECTED] lrs

i get the error message:
setaclmailbox: [EMAIL PROTECTED]: lrs: Invalid identifier

i created the domains and accounts with a cvs version of web-cyradm.
listmailbox produces the following output (changed usernames and domains):
user/[EMAIL PROTECTED] (\HasNoChildren)
user/[EMAIL PROTECTED] (\HasChildren)
user/user1/[EMAIL PROTECTED] (\HasNoChildren)
user/[EMAIL PROTECTED] (\HasNoChildren)

why doesn´t the above command work?
is it possible to define a shared mailbox for users that already have a
mailbox?
how can i setup an imap connection in outlook or thunderbird (the user could
already have an imap connection to his own mailbox)?
is it possible to define a shared folder for a user-account? how can other
users access this folder if they already have an imap connection?

regards
philippe


--
I am using the free version of SPAMfighter for private users.
It has removed 4593 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


RE: squatter indexing folders that dont exist anymore

2007-03-16 Thread Philippe Trolliet
hi,
i activated squatter because i got error messages that there are no indexes
for the dirs. recently i created some test folders and after a while i
deleted them. squatter is still indexing those folders which don´t exist
anymore. in horde and in the outlook subscription dialog those folders
aren´t visible too. i deleted some folders with outlook and some with horde.
here a snippet of my maillog:

Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/Trash...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/drafts...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/fdkfhdfj...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/sent-mail...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test12...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test123...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test2...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test2/test3...
Mar 12 11:53:51 mail squatter[2596]: done indexing mailboxes

the only folders that still exist are Trash, sent-mail, drafts and spam.
first question: why isn´t the folder spam listed above?
second: why is squatter still indexing the deleted folders?

regards
philippe


i found out that the above mentioned directories have been deleted under:
/var/spool/imap/domain/...

but the directories still exist in:
/var/spool/imap/p/user/...

what´s happening here?

-- 
I am using the free version of SPAMfighter for private users.
It has removed 4100 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len

attachment: winmail.dat
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Re: per-user quotas

2007-03-14 Thread Philippe Trolliet


Andrew Morgan wrote:
 On Tue, 13 Mar 2007, Philippe Trolliet wrote:
 
 you are my hero. ;) thank you. finally i´m able to test it on thursday.

 but it seems that cyrus knows in some way which quota the specific user
 has. is it possible that cyrus communicates with postfix and asks
 postfix about the quota of the recipient?
 i´ve set autocreatequota to 40 MB and in postfix i´ve set the quota for
 the test-account to 10MB. i send some mail with big attachments to this
 test account. the mailbox of the user has a size of something over 10MB
 now and doesn´t accept any mail. the messages aren´t delivered and
 deferred now. so i think there is a way cyrus talks to postfix about
 per-user quotas.
 
 I don't know what setting a quota in postfix does...  You can view the
 quota in Cyrus by running cyradm and executing the command lq
 user.username.
 
 Andy

i have these settings in postfix:

/etc/postfix/main.cf:
...
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps =
proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn
his diskspace quota, please try again later.
virtual_overquota_bounce = yes
...

/etc/postfix/mysql-virtual_mailbox_limit_maps.cf:

user = user
password = pw
hosts = localhost
dbname = postfixadmin
query = SELECT quota FROM mailbox WHERE username='%s'

in my cyrus config i have autocreatequota enabled with 40 MB.
with postfixadmin i´ve set the user quota for my test account to 10MB
and seems that cyrus knows in some way about this quota. but i don´t
know how and why.

regards
philippe

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


per-user quotas

2007-03-13 Thread Philippe Trolliet
hi,
i´m using postfix and cyrus-imapd with virtual users and domains. is it
possible to get imapd to work with per-user quotas? i saw that there are
some patches out there for postfix. but the developers of postfix recommend
filesystem quotas.
i´m asking this because dovecot has the ability to use per-user quotas.

regards
philippe

--
I am using the free version of SPAMfighter for private users.
It has removed 4012 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len


Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: per-user quotas

2007-03-13 Thread Philippe Trolliet
Hi,
in the log i see following message:
...
Mar 13 12:17:41 mail lmtpunix[10500]:
verify_user(novaware.de!user.p^trolliet) failed: Over quota
Mar 13 12:17:41 mail postfix/pipe[10689]: E644F5E44F9:
to=[EMAIL PROTECTED], relay=cyrus, delay=1, status=deferred
(temporary failure)
...
in one of the mailinglist archives i read sth about the error codes. my
problem is that the message is not bounced and so the sender is not
notified. it is stuck somewhere in the postfix-queue.
i have virtual users and domains and i´m using per-user quotas stored in
a mysql-db. i can set the quota for every single user.

what do i have to configure that cyrus bounces the message over the lmtp
if a quota exceeds? in the archives somebody said sth about the error
codes too. how can i do this in the cyrus configuration?

is there any way to tell cyrus to read the per-user quota settings from
the mysql-db like in dovecot? or is this just done in postfix?


Michael Menge wrote:
 Hi
 
 what do you mean with per-user quotas?
 Cyrus has its own quota system, where you can set the quota for each user,
 or even  on subfolders. In case of quota exceeding cyrus will reject the
 message in the lmtp protocol with a 4xx or a 5xx error, depending of how
 you configure cyrus.
 
 As far as i know, there is no need of filesystem based quota
 or patching postfix.
 
 Quoting Philippe Trolliet [EMAIL PROTECTED]:
 
 hi,
 i´m using postfix and cyrus-imapd with virtual users and domains. is it
 possible to get imapd to work with per-user quotas? i saw that there are
 some patches out there for postfix. but the developers of postfix
 recommend
 filesystem quotas.
 i´m asking this because dovecot has the ability to use per-user quotas.

 regards
 philippe

 -- 
 I am using the free version of SPAMfighter for private users.
 It has removed 4012 spam emails to date.
 Paying users do not have this message in their emails.
 Get the free SPAMfighter here: http://www.spamfighter.com/len

 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

 
 
 
 
 
 M.Menge Tel.: (49) 7071/29-70316
 Universitaet Tuebingen  Fax.: (49) 7071/29-5912
 Zentrum fuer Datenverarbeitung  mail:
 [EMAIL PROTECTED]
 Waechterstrasse 76
 72074 Tuebingen
 
 
 
 
 
 Cyrus Home Page: http://cyrusimap.web.cmu.edu/
 Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
 List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: per-user quotas

2007-03-13 Thread Philippe Trolliet
you are my hero. ;) thank you. finally i´m able to test it on thursday.

but it seems that cyrus knows in some way which quota the specific user
has. is it possible that cyrus communicates with postfix and asks
postfix about the quota of the recipient?
i´ve set autocreatequota to 40 MB and in postfix i´ve set the quota for
the test-account to 10MB. i send some mail with big attachments to this
test account. the mailbox of the user has a size of something over 10MB
now and doesn´t accept any mail. the messages aren´t delivered and
deferred now. so i think there is a way cyrus talks to postfix about
per-user quotas.


Andrew Morgan wrote:
 On Tue, 13 Mar 2007, Philippe Trolliet wrote:
 
 Hi,
 in the log i see following message:
 ...
 Mar 13 12:17:41 mail lmtpunix[10500]:
 verify_user(novaware.de!user.p^trolliet) failed: Over quota
 Mar 13 12:17:41 mail postfix/pipe[10689]: E644F5E44F9:
 to=[EMAIL PROTECTED], relay=cyrus, delay=1, status=deferred
 (temporary failure)
 ...
 in one of the mailinglist archives i read sth about the error codes. my
 problem is that the message is not bounced and so the sender is not
 notified. it is stuck somewhere in the postfix-queue.
 i have virtual users and domains and i´m using per-user quotas stored in
 a mysql-db. i can set the quota for every single user.

 what do i have to configure that cyrus bounces the message over the lmtp
 if a quota exceeds? in the archives somebody said sth about the error
 codes too. how can i do this in the cyrus configuration?
 
 In /etc/imapd.conf:
 
 lmtp_over_quota_perm_failure: 1
 
 is there any way to tell cyrus to read the per-user quota settings from
 the mysql-db like in dovecot? or is this just done in postfix?
 
 Cyrus stores quotas in its own quota files.  I'm not aware of any way to
 read a quota from mysql.
 
 Andy

Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


squatter indexing folders that dont exist anymore

2007-03-12 Thread Philippe Trolliet
hi,
i activated squatter because i got error messages that there are no indexes
for the dirs. recently i created some test folders and after a while i
deleted them. squatter is still indexing those folders which don´t exist
anymore. in horde and in the outlook subscription dialog those folders
aren´t visible too. i deleted some folders with outlook and some with horde.
here a snippet of my maillog:

Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/Trash...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/drafts...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/fdkfhdfj...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/sent-mail...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test12...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test123...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test2...
Mar 12 11:53:51 mail squatter[2596]: indexing mailbox
user/p.trolliet.novaware.de/test2/test3...
Mar 12 11:53:51 mail squatter[2596]: done indexing mailboxes

the only folders that still exist are Trash, sent-mail, drafts and spam.
first question: why isn´t the folder spam listed above?
second: why is squatter still indexing the deleted folders?

regards
philippe

-- 
I am using the free version of SPAMfighter for private users.
It has removed 3991 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len

attachment: winmail.dat
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

RE: problem with aliases as distributor/mailinglist

2007-03-06 Thread Philippe Trolliet
 hi,
 i recently asked on the postfix mailing list but there they told 
 me that it
 is a problem with cyrus.
 
 i´m using postfix on fc4 with virtual users and domains stored in a mysql
 db.
 on my former mailserver i used aliases as 
 mailingslists/distributor. a mail
 sent to [EMAIL PROTECTED] has been delivered to all the 
 mail addresses
 defined in a seperate file for that alias.
 
 now i tried the same and defined an alias [EMAIL PROTECTED] in the
 appropriate mysql-table. for that alias i defined 2 test mail 
 accounts. each
 account/mail-address on a seperate line. the mail is delivered to the
 accounts but the sender gets a undelivered mail returned to sender with
 following content:
 
 
 This is the Postfix program at host mail.novaware.de.
 
 I'm sorry to have to inform you that your message could not
 be delivered to one or more recipients. It's attached below.
 
 For further assistance, please send mail to postmaster
 
 If you do so, please include this problem report. You can
 delete your own text from the attached returned message.
 
   The Postfix program
 
 [EMAIL PROTECTED]: data format error. Command output: : Mailbox does not
 exist
 
 [EMAIL PROTECTED]: data format error. Command output: : 
 Mailbox does
 not exist
 
 
 here the snippet of my log file:
 
 [snip]
 ...
 Mar  6 11:05:59 mail postfix/smtp[29631]: 17D4C5E44B4:
 to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED],
 relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, 
 id=23575-01,
 from MTA([127.0.0.1]:10025): 250 Ok: queued as 4D5E05E44E2)
 Mar  6 10:05:59 mail postfix/smtp[29631]: 17D4C5E44B4:
 to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED],
 relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 2.6.0 Ok, 
 id=23575-01,
 from MTA([127.0.0.1]:10025): 250 Ok: queued as 4D5E05E44E2)
 ...
 [snip]
 ...
 Mar  6 11:05:59 mail lmtpunix[29557]: IOERROR: fstating sieve script
 /var/lib/imap/sieve/domain/n/novaware.de/l/lulu/defaultbc: No such file or
 directory
 Mar  6 11:05:59 mail lmtpunix[29557]: duplicate_check:
 [EMAIL PROTECTED] 
 novaware.de!user.lulu 0
 Mar  6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484028
 Mar  6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484028
 Mar  6 11:05:59 mail lmtpunix[29557]: duplicate_mark:
 [EMAIL PROTECTED] novaware.de!user.lulu
 1173175559 10
 Mar  6 11:05:59 mail lmtpunix[29557]: duplicate_check:
 [EMAIL PROTECTED]
 novaware.de!user.p^trolliet 0
 Mar  6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484029
 Mar  6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484029
 Mar  6 11:05:59 mail lmtpunix[29557]: duplicate_mark:
 [EMAIL PROTECTED]
 novaware.de!user.p^trolliet 1173175559 54
 Mar  6 11:05:59 mail lmtpunix[29557]: mystore: starting txn 2147484030
 Mar  6 11:05:59 mail lmtpunix[29557]: mystore: committing txn 2147484030
 Mar  6 11:05:59 mail lmtpunix[29557]: duplicate_mark:
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] 1173175559 0
 Mar  6 11:05:59 mail postfix/pipe[29636]: 4D5E05E44E2:
 to=[EMAIL PROTECTED], relay=cyrus, delay=0, status=bounced (data format
 error. Command output: : Mailbox does not exist )
 Mar  6 11:05:59 mail postfix/pipe[29636]: 4D5E05E44E2:
 to=[EMAIL PROTECTED], relay=cyrus, delay=0, status=bounced (data
 format error. Command output: : Mailbox does not exist )
 Mar  6 11:05:59 mail postfix/cleanup[29628]: 66E935E44EB:
 message-id=[EMAIL PROTECTED]
 Mar  6 11:05:59 mail postfix/qmgr[23547]: 66E935E44EB: from=, size=3863,
 nrcpt=1 (queue active)
 Mar  6 11:05:59 mail postfix/qmgr[23547]: 4D5E05E44E2: removed
 Mar  6 11:05:59 mail lmtpunix[29638]: accepted connection
 Mar  6 11:05:59 mail lmtpunix[29638]: lmtp connection preauth'd as postman
 Mar  6 11:05:59 mail lmtpunix[29638]: IOERROR: fstating sieve script
 /var/lib/imap/sieve/domain/n/novathink.de/c/checkov/defaultbc: No 
 such file
 or directory
 Mar  6 11:05:59 mail lmtpunix[29638]: duplicate_check:
 [EMAIL PROTECTED] novathink.de!user.checkov 0
 Mar  6 11:05:59 mail lmtpunix[29638]: mystore: starting txn 2147484031
 Mar  6 11:05:59 mail lmtpunix[29638]: mystore: committing txn 2147484031
 Mar  6 11:05:59 mail lmtpunix[29638]: duplicate_mark:
 [EMAIL PROTECTED] novathink.de!user.checkov
 1173175559 5
 Mar  6 11:05:59 mail postfix/pipe[29640]: 66E935E44EB:
 to=[EMAIL PROTECTED], relay=cyrus, delay=0, status=sent 
 (novathink.de)
 Mar  6 11:05:59 mail postfix/qmgr[23547]: 66E935E44EB: removed
 
 
 
 the mail is delivered to the accounts but the sender gets the above mail
 (mail is being delivered with postfix and delivery is ok. then the mail is
 delivered again but with lmtpunix). what´s the problem here? how 
 can i solve
 this problem?
 why is the mail delivered