View the Most Wanted LQ Wiki articles.
LinuxQuestions.org > Linux Wiki > Cyrus

From LQWiki

Jump to: navigation, search

Cyrus is an program that offers a mail service. It is an implementation as well of the imap as of the pop protocol.

Contents

Web Site

http://cyrusimap.web.cmu.edu/

How to ...

Create a mailbox

cyradm --user youruser --auth plain localhost
cm youruser

TroubleShooting

Invalid login

-ERR [AUTH] Invalid login
  • Solution: Add your user to cyrus' authentication file:
saslpasswd2 -c myuser
And make sure the sasl authentication daemon is started:
/etc/init.d/saslauthd start

Permission denied for postfix

  • Symptome: You are using postfix as MTA. You send a mail using sendmail. Afterwards, mailq delivers a permission denied error:
mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
2547D8346E5      282 Sat Jan  5 11:32:18  root@kolossus.site
       (connect to kolossus.site[/var/lib/imap/socket/lmtp]: Permission denied)
                                          whoever@localhost.site
-- 0 Kbytes in 1 Request.
postfix is configured to run as user postfix:
ll /var/spool/postfix/deferred/
total 16
drwx------ 2 postfix postfix 4096 Jan  5 12:43 2
[...]
the user postfix cannot write-access /var/lib/imap/socket/:
sudo -u postfix touch /var/lib/imap/socket/postfix-tmp
touch: cannot touch `/var/lib/imap/socket/postfix-tmp': Permission denied
  • Reason: Your postfix is not allowed to write to cyrus' lmtp socket /var/lib/imap/socket/lmtp
  • Solution: Set the permissions that postfix can access your cyrus socket, e.g.:
chmod 777 /var/lib/imap /var/lib/imap/socket
flush your mail queue using postqueue -f

See also


Personal tools