On Tue, Sep 23, 2003 at 02:09:48PM -0400, Jody Hay wrote :
> Hello -
>
> I am running debian testing with Exim (3.36) and Cyrus Imap (1.5.19).
>
> I'm having difficulty configuring exim to deliver mail to a shared
> folder.
>
> I created a shared folder with cyradm, like this:
>
> linux:/var/spool/cyrus/mail# cyradm -u mailadmin 127.0.0.1
> 127.0.0.1 password:
> 127.0.0.1> cm shared
> 127.0.0.1> sam shared anyone lrswipcda
> 127.0.0.1> lam shared
> anyone lrswipcda
>
> I can use cyrdeliver to send email to the folder:
> linux:/var/spool/cyrus/mail# cat sample_mail |cyrdeliver -m shared
>
> However, this will not work:
> linux:/var/spool/cyrus/mail# mail shared -s "Sample" < sample_mail
>
> Neither does this
> linux:/var/spool/cyrus/mail# mail bb+shared -s "Sample" < sample_mail
>
> They both result in error messages in the /var/log/exim/mainlog:
> ** shared: unknown local-part "shared" in domain "linux"
>
>
> Here is the transport section of exim.conf
> local_delivery:
> driver = pipe
> command = "/usr/sbin/cyrdeliver ${local_part}"
> return_path_add
> return_output
> prefix = ""
> user = cyrus
>
> Am I missing something else in the exim.conf?
You said that "cyrdeliver -m shared" works. But your exim command
doesn't use the -m switch; maybe that's the problem? Mine looks like
this:
cyrus:
driver = pipe
command = /usr/sbin/cyrdeliver -m ${substr_1:$local_part_suffix} -- $local_part
user = cyrus
group = mail
return_output
log_output
message_prefix =
message_suffix =
However, not that I'm using exim4; but I think the point is that you do not invoke the cyrdeliver command properly.
Have you tested what:
exim -bt shared
gives you on output?
Or even more information with
exim -d -bt shared
?
- Markus