RE: [Exim] exim + cyrus subfolder posting

Pàgina inicial
Delete this message
Reply to this message
Autor: Thomas Baumann
Data:  
A: exim-users@exim.org
Assumpte: RE: [Exim] exim + cyrus subfolder posting
When doing it in a shell like
# cat << EOF | /usr/cyrus/bin/deliver -m list.exim -- tirili
> Subject: ...
> From: ...
> To: ...
>
> text...
> EOF

the email is posted directly into the folder tirili.list.exim,

so where is the fault ?

do you have one more idea ?

thanks

- tom



Zitat von Bernard Stern <stern@???>:

> On Tue, 20 Aug 2002 12:57:29 +0200 Thomas Baumann wrote:
>
> > I tried this with
>
> > local_user_cyrus:
> > driver = smartuser
> > suffix = +*
>
> > but when sending a mail, it is only in the INBOX.
>
> > Do you have any other ideas ?
>
> it really is no longer an exim issue as your mail is delivered
> into the cyrus realm... Have you already had a look at the content
> of the cyrus mailboxes file? If you had, then the error is trivial:
> the user mailboxes look like this:
>
> user.<username>
> user.<username>.<subfolder>
>
> wheras your transport command only picks up the <username>.<subfolder>
> part. Your transport command needs to be fixed.
>
> There is also an info-cyrus archive accessible via anonymous IMAP
> that is probably better for cyrus-specific stuff.
>
> Anyway, HTH.
>
> Bernard Stern, SWITCH
>
> PS: please don't send me personal copies (unless it's really not of
>     general interest for the list), those mails I'm getting from the
>     list are plenty enough :-))

>
> > thanks
>
> > - tom
>
>
> > Zitat von Bernard Stern <stern@???>:
>
> >> On Mon, 19 Aug 2002 14:30:49 +0200 Thomas Baumann wrote:
> >>
> >> > Hello list,
> >>
> >> > cyrus imap server supports posting directly into subfolders,
> >> > e.g. mail to cyrus-user+subfolder.subsubfolder@mydomain should
> >> > post mail directly into subfolder.subsubfolder,
> >> > so how is exim to configure to give this information directly
> >> > to the cyrus server.
> >>
> >> > my config (exim 3.35) looks like:
> >>
> >> > local_delivery_cyrus:
> >> >   headers_add = "X-added: local_cyrus ${tod_log}\n"
> >> >   driver = pipe
> >> >   command = /usr/cyrus/bin/deliver \
> >> >             -m ${substr_1:$local_part_suffix} -- $local_part

> >>
> >> well in my config I'm making usage of the -a deliver option; don't
> >> you need it?
> >>
> >> > user = cyrus
> >> > group = mail
> >> > #return_path_add
> >> > return_output
> >> > log_output
> >> > prefix = ""
> >> > suffix = ""
> >>
> >> > local_user_cyrus:
> >> >     driver = smartuser
> >> >     suffix = .*

> >>
> >> this is probably the culprit: it should be suffix = +*, since
> >> what you want is cyrus-user+blah.gargl@domain.
> >> Also, you might want a condition statement to ensure that if the
> >> blah.gargl subfolder does not exist, the director is ignored and
> >> delivery happens normally.
> >>
> >> >     suffix_optional = yes
> >> >     transport = local_delivery_cyrus

> >>
> >>
> >> HTH,
> >>
> >> Bernard Stern, SWITCH
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
>
>
>



--
Thomas Baumann // tirili+list.exim@???

-------------------------------------------------
This mail sent through tiri.li webmail server ...