[Exim] cyrus troubles

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Theodore Knab
Fecha:  
A: exim-users
Asunto: [Exim] cyrus troubles
Hello, I using Exim with Cyrus.

At the bottom of this email is a response from the Cryus list.

They said that this was an Exim configuration problem.

Could this be a rewrite problem ?

Here is my problem:

I created a shell account for one user.
From there I ran a sh mboxtocyrus /var/spool/mail/.

Mail for this first user works using Cyrus IMAP.

Additional users were created differently. Others do not have shell
accounts.

I used the cyradm tool:

sh cyradm -u cyrus localhost

#create mailbox/user
localhost> cm user.s
#change permissions so that cyrus can modify the folder.
localhost> sam user.s cyrus all
localhost> quit

I set their password:
% saslpasswd s

Although all users can log into the IMAP server and create folders,
only the first user with a shell account can receive email.

I thought that Cyrus does not need shell accounts.

How do I get around this ?

I am using Exim 3.34 for my MTA.

Parts of my default Exim config file that I modified:
--------------------------------------------------

          qualify_domain = washmail.washcoll.edu
          local_domains = localhost:washmail.washcoll.edu
          relay_domains = washcoll.edu
          host_lookup = *
          host_accept_relay = 127.0.0.1 : ::::1 :192.146.226.0/24:209.243.0.0/24
          trusted_users = mail
          local_delivery:
                  driver = pipe
                  command = "/usr/sbin/cyrdeliver \
                     ${local_part}"
                  return_path_add
                  return_output
                  prefix = ""
                  user = cyrus


          error from mailier :
          -------------------------------


          command = "/usr/sbin/cyrdeliver ${local_part}"


          X-Failed-Recipients: s@???


          A message that you sent could not be delivered to one or more
          of its
          recipients. This is a permanent error. The following
          address(es) failed:


>>>>>>
 >>>>>>           s@???
 >>>>>>                 unknown local-part "s" in domain
 >>>>>>                "washmail.washcoll.edu"



My Response from the Cyrus list:
-----------------------------------

> I thought that cyrus does not need shell accounts.


It does not.

>
> How do I get around this ?
>
> I am using exim as for my MTA.
>
>           command = "/usr/sbin/cyrdeliver ${local_part}"

>
> X-Failed-Recipients: s@???
>
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es)
> failed:
>
>   s@???
>       unknown local-part "s" in domain "washmail.washcoll.edu"

>


This is an error from exim its self. you need to configure
exim not to check for local users. Unfortunately I have never
configured exim. I can tell you it is not popular on the cyrus
mailing list in general (postfix/sendmail seems to be the main
base). So you might not get too much help but it is worth posting
any answer you may find to the list.



--
----------------------
GNU PGP public key
http://www.annapolislinux.org/docs/public_key/GnuPG.txt
---------------------
Ted Knab