Re: Cyrus-imap problem
Hi Subhasha, Error Message. relay=/var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp], delay=0, status=bounced (host /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp] said: 550-Mailbox unknown. Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command) Have you created the mailbox? You need to create a user AND a mailbox. It could also be an authentication problem (LMTP supports authentication), however, if I'm not mistaken, LMTP over local socket is preauthenticated to a user having sufficient privileges. Baltasar _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ www.former03.de 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: Adding a X-Delivered-To header
Hi Ram, On 14.02.2008, at 06:30, ram wrote: Can I configure cyrus deliver command to insert a X-Delivered-To header for every mail I looked up the man page for deliver(8) There is mention of inserting the envelope sender not the recipient If I'm not mistaken, there is no such option in Cyrus. You'd have to do it in your MTA if you need it. In Postfix you could use enable_original_recipient which would add an X-Original-To header (done by the cleanup process, thus also works when delivering to cyrus via lmtp). I don't have much experience with other MTAs so I can't say anything about them. Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestra§e 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de PGP.sig Description: This is a digitally signed message part 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: cyradm
Hi Daniel, On 14.01.2008, at 10:21, Daniel Aquino wrote: On Jan 14, 2008 4:14 AM, FORMER 03 | Baltasar Cevc [EMAIL PROTECTED] wrote: Please note that the usual setup with virtual domains is to have / as hierarchy separator. Using ., you cannot have usernames as some.name. So maybe you should consider changing it. Can you point me to some docs on this? I havn't seen this... http://cyrusimap.web.cmu.edu/imapd/altnamespace.html#unixhiersep You should probably read the whole document because it explains the possible side effects. http://cyrusimap.web.cmu.edu/imapd/install-virtdomains.html That page says nothing about replacing . with / You're right, the documentation is not optimal there. By the way: please try not to cite all the old mails when replying. We've already read them ;-) Baltasar _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ 80797 muenchen _ [EMAIL PROTECTED] _ www.former03.de _ fon 089.322112.29 _ fax 089.322112.11 _ mobil 0171.405.14.33 _ geschäftsführer _ sebastian fiedler _ gert zellentin _ handelsregister _ HRB München 148468 _ steuer _ ust.-id DE 2291076876 PGP.sig Description: This is a digitally signed message part 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: cyradm
On 14.01.2008, at 10:55, Daniel Aquino wrote: unixhierarchysep: no I have the above option set in imapd.conf isn't it better to leave it like that ? I find the whole ^ thing more confusing... It solely depends on what you need - if you are happy with localparts (left hand side of the email address) without dots, you're fine. Otherwise you should switch. Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestra§e 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de PGP.sig Description: This is a digitally signed message part 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: syslog-ng
You can specify the syslog facility for cyrus at compile time. I think its some local by default. Syslog-NG can also filter on the program string, you could use that, too. There is no way that's 100 % sure, though. Some other program could use the same facility or program name. That's how the syslog protocol works. Baltasar _ FORMER 03 GmbH _ www.former03.de PGP.sig Description: This is a digitally signed message part 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: Virtual Domains
Hi Jarod, On Fri, 03 Aug 2007 03:06:51 -0400 Jarod Watkins [EMAIL PROTECTED] wrote: I have been searching google for the past 2 days trying to figure out how to finish setting up my Cyrus email system. I am almost there, however I cannot deliver emails from postfix to the virtual users in cyrus. After looking through the logs, its as if postfix isn't supplying the whole email address to Cyrus, or Cyrus is just stripping out it. Can anyone tell me what I have configured wrong? What's your virtual domains setting in imapd.conf (virtdomains parameter)? Baltasar 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: Virtual Domains
Hi Jarod, does the stripping ocurr whichever the setting of virtdomains is? Setting it to userid is quite common. Is your domain.tld the defaultdomain? In that case, cyrus substitutes it by the hostname, if I remember the behaviour right. You could post imapd.conf. Using lmtp, Postfix should not be to be blamed, I think. One setting that makes trouble sometimes is unixhierarchysep, it should be set to 1 (on) when using virtualdomains (at least when you're using a dot somewhere in any of the usernames. What's your sasl_sql_select statement. It should probably be something like the following config: sasl_sql_hostnames: sql_host(s) sasl_sql_user: sql_user sasl_sql_passwd: pass sasl_sql_database:db sasl_sql_select: SELECT `password` FROM `view_users` WHERE `email`=[EMAIL PROTECTED]; An option could be to test delivery with the lmtptest command which allows you to manually talk to cyrus lmtpd. Baltasar 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: sieve vacation with postfix
On 17.07.2007, at 17:30, Jeffrey McDonald wrote: Hi, I'm trying to use sieve to setup a vacation message. The important parameters for delivery (from what I've gathered from a search of the archive) are: ... I don't see any errors in the log files and I see no message ever recieved by the postfix daemon from the sieve filter. The /usr/lib/sendmail executable is setup to sendmail.postfix and this executable sends mail properly if executed outside of sieve. Have you configured your sendmail path in imapd.conf? As sieve keeps track of any vacation messages, try to delete the duplicate database before testing so that it will start from a clean system (this database contains the vacation state, too). Hope that helps, Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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: sieve vacation with postfix
Hi Jeff, On 18.07.2007, at 22:36, Jeffrey McDonald wrote: Hi, thanks for your response, I can't find any documentation about clearing the vacation database for sieve, can you point me to the command or documentation for that? thanks in advance, jeff Delete the duplicate database (it's a file called deliver.db in you configdirectory which is not the /etc/... path but rather /var/ spool/cyrus/imap or something like that). That database contains vacation informatio, too. Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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: Permission denied with creating mailboxes
Hi Manfred, On 07.07.2007, at 11:41, Manfred Rebentisch wrote: Hello, I use debian etch with cyrus 2.2 and sasl2. cyradm --user cyrus --server localhost IMAP Password: localhost localhost localhost cm users.testusr createmailbox: Permission denied I cannot find out, why this happens. There are no log messages, no information about the reasons. It should be nice to get reasons from the program... I do check the ownership of files (/etc/sasldb2, /var/lib/cyrus/*, / imap/*) and so on. I think, the user cyrus has not the right to create mailboxes. But I don't know, how to set this right. What's your admin setting in imapd.conf? Is the cyrus user listed there? If not, you should add it - cyrus is the default for the admin username, but you may use anything you like. If you change the setting, you may not do admin jobs using the cyrus user. If you don't have an admin or admins (I don't know the exact name of the option - please refer to the documentation for that), you should try to add it to your config. Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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: Sieve vacation does not catch alias-address es ? [auf Viren überprüft]
Hi, On 16.05.2007, at 18:57, [EMAIL PROTECTED] wrote: I'm not sure. Maybe you have to put more than a address into brackets (addr,addr) to group them. What really is bothering me is that if I only have the [EMAIL PROTECTED] in the brackets, and send a message to [EMAIL PROTECTED], the rule works. But if there is either only the firstname.lastname alias, or both firstname.lastname alias and the username address, then it does not work. So I'm thinking that I have two problems interacting, the proper way to manage multiple addresses in the vacation filter itself (several addresses not working), as well as (postfix) problem with the alias-managing where the address is translated with the help of the virtual_aliases-rules. As far as I know, sieve checks the To-Header in order to determine whether the mail was personally addresses and sends vacation notices only if they were. Maybe try something like the following - this is created by a Horde Ingo and I assume it should work: I don't use vacation at the moment 68: # Abwesenheitsnachricht 69: if allof ( not exists [list-help, list-unsubscribe, list- subscribe, list-owner, list-post, list-archive, list-id], not header :comparator i;ascii-casemap :is Precedence list,bulk ) { 70: vacation :days 7 :addresses [baltasar DT cevc AT former03 DT de, baltasar AT cevc-topp DT de] :subject Out of office I'm not here at the moment. 71: ; 72: } Hope that helps, Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de PGP.sig Description: This is a digitally signed message part 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: Quota with Cyrus !!!
Hi Donatien, I have a problem to define and to use the quota on my Cyrus Server. I have install this : cyrus-admin-2.2, cyrus-clients-2.2, cyrus- common-2.2 and cyrus-imapd-2.2 all of this package works on Debian etch server, and my mail server work fine with Cyrus IMAP, Postfix, Sasl, SSL / TLS, PAM modules and Winbind with authentication trow Windows Active Directory!!! But when i try to define quota, my user are over quota, but he can send mail and receive them ?? What is the problem with my server Also i can't use quota -f or quota user.username when i logge on cyrus user to my server May that be the quota tool of your OS and not of cyrus - some systems provide their own tools for quota which set a disk quota. Cyrus quotas are seperated of system quotas. But i can setquota user.username or listquotaroot user.username What is lqr mailbox in which mails are received in cyradm show? -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de PGP.sig Description: This is a digitally signed message part 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: corruption when using sieve vacation message?
Hi Edwin, It's strange that this corrupts the duplicate DB, and I don't know why it could do that. Vacation won't work without a sendmail given, though. Maybe the problem will disappear if vacation works fine. Try correcting that by specifying the path to sendmail in imapd.conf - like sendmail: /usr/sbin/sendmail Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de PGP.sig Description: This is a digitally signed message part 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: I have a domain with MX now, how to use it ?
On 24.04.2007, at 13:36, JOYDEEP wrote: Mogens Melander wrote: On Tue, April 24, 2007 08:07, JOYDEEP wrote: dear list, I have a domain where I can configure MX record :-) Say it is example.com I have 2 question here. Man, you need to read some documentation :^) I agree. 1) what should be the entries in /etc/imapd.conf file to receive mail via example.com to [EMAIL PROTECTED] Nothing to configure in imapd.conf, it's in your MTA. 2) what should be the MX record of example.com the server at hosteurope.de must know it's suposed to accept mail for SOA example.com. bla, bla @ MX 10 mx0.hosteurope.de. Thanks for the configuration but I can't do anything with hosteurope.de. So I have given a new domain where I can access its MX I am really confused :-( could any one kindly guide ? Maybe start reading a book on the topic of mailservers. It's _really_ dangerous to mess with a mailserver without knowing what it does. Do a test setup that isn't connected to the public internet and do the learning by doing there. If you don't know how the setup has to be done correctly, you'll end up having a useless system that is prone to sending spam and forwarding other kinds of malware. As of software: cyrus is just a system that stores and servers mail that has already been appropriately managed by a mail transfer agent (MTA). You'll need a software here - there are lots of good programs (Exim, qmail, postfix, sendmail, just to name four of them). For a beginner I'd recommend postfix on linux, all the others are very good, too, but much more difficult to set up. If you're a client of Hosteurope, you coudl also consider using a managed service, they will do everything for you. It's a lot of money, but it's more expensive if you fail to do it yourself. If you just want to forward one address, use a provider's mailserver. E.g. if you registered the domain with Host Europe, use a webpack. You don't need a VPS or dedicated server. Virtually any ISP will provide you with mailservices, so ask your provider about that. Cyrus is not the software for you if you don't want to server mailboxes in a bigger scale. Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de PGP.sig Description: This is a digitally signed message part 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: IOERROR: fstating sieve script ??
Hi, On 15.03.2007, at 04:12, BipinDas wrote: I am used the autocreatepatch 2.3.1. It works fine. But when a mailbox created my /var/log/syslog shows the following error. Let me know why this happened and how to fix it. --- -- Mar 14 12:28:43 cyrus lmtpunix[12454]: IOERROR: fstating sieve script /var/spool/sieve/d/divya/defaultbc: No such file or directory. It's just an informational message - turn down the logging level in syslogd.conf (or whatever your log daemon config file ist called) to make it disappear. The message just tells you that sieve did not find a filter script for the user - thus all messages will be put into the inbox without filtering. Hope that clarifies things ;-) Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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: Pop3
Hi Lars, On 02.02.2007, at 11:00, lars ebeling wrote: Dear all, I have 2 mailservers, host1 and host2. Host1 is my main server. On host1 I run qpopper and postfix. On host2 I am running Cyrus Imap and postfix. How do I configure cyrus imapd.conf on host2 to connect host1 and fetch a copies of the mails? As Hans already answered Cyrus is not the system to do that. Look for tools like fetchmail and use them to do it (you will have to pipe the mails trough the postfix, though, if I'm not mistaken). Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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: Can Sieve Do This?
Hi Kevin, On 05.02.2007, at 23:06, Kevin Kruzich wrote: Greetings, I'd like to create a sieve rule that copies all received messages to a folder named INBOX/BACKUP-username. This would be set to a limit such as size or number of messages in which the first in would be deleted. Is it possible to do this with the current implementation of sieve? I'm using cyrus-imapd-utils-2.2.12-3.RHEL4.1 Sieve only affects the current message; so you would need some other tool for deleting the messages. I am not aware of a standard solution for this; however somebody else on the list may know something. Hope that answers your question. Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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: One mail folder with two names?
Hi Ivan, On 05.02.2007, at 10:14, Ivan Doležal wrote: I'd like to make their life easier by providing the same mail folder under different names. It was pretty straighforward with UW-IMAP touch Sent ln -s Sent OdeslanAOE- poAWE-ta #UTF-7 indeed but how could I do the same trick in Cyrus the ehm... correct way? I don't think that messing with the filesystem would be helpful with cyrus, and I've never heard that somebody did something like that. For webmailers, you could alter the default folder names or the code, though. That's what we did in our environment. However, that's only good for a small amount of different client apps, I have to admit. However, I don't see any nice solution to this... Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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: Strange cyrus behaviour
Hi Pavel, On 21.01.2007, at 15:03, Semenenko Pavel wrote: I have cyrus server on 2.6.18-gentoo-r6. When I try restart cyrus (from console), I get this messages in log. master[2712]: process 3073 exited, signaled to death by 13 master[2712]: service pop3 pid 3073 in READY state: terminated abnormally master[2712]: process 3074 exited, signaled to death by 13 master[2712]: service lmtpunix pid 3074 in READY state: terminated abnormally master[2712]: process 3075 exited, signaled to death by 13 master[2712]: service imap pid 3075 in READY state: terminated abnormally Is that the whole log output (do you have your syslog level set to debug)? None of cyrus services starting. In ps aufx I have something about it: cyrusmaster | -defunct -defunct -defunct I assume there are still network sockets open in the old instance (cyrus master opens the sockets) - try to check that using netstat and/or lsof. Baltasar -- Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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: DB type comparison
On 19.01.2007, at 01:02, Blake Hudson wrote: I know I've seen it before, but I've been having a hard time finding a good comparison of the different db types supported by cyrus and their respective strengths/weaknesses. Does anyone have a link they could share? There's a short information about all the supported backends and their features in the wiki: http://cyrusimap.web.cmu.edu/twiki/bin/view/Cyrus/WhatDatabaseBackend Hope that's helps, Baltasar Baltasar Cevc _ FORMER 03 GmbH _ infanteriestraße 19 haus 6 eg _ D-80797 muenchen _ http://www.former03.de 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