[CentOS] cyrus-imapd, sendmail and delivering plus address formats

Wed Jun 16 20:09:34 UTC 2010
James B. Byrne <byrnejb at harte-lyne.ca>

On Tue, June 15, 2010 15:43, Alexander Dalloz wrote:
> Am 15.06.2010 20:55, schrieb James B. Byrne:
>
> Are you tackling with that for over 1 year now?
>

Yes.  Actually, I have been dealing with this on and off for several
years.  I have never found an answer and other things come along
that require attention.  From time to time I get to return to it.

> And do you really intend to address a sub-sub-folder? How about
> starting to address to a direct subfolder of INBOX?

Eventually, yes, I wish to deliver to a sub-subfolder. At the moment
I cannot get plus formatted addressing to work at all.

>
>> I have gone to both the cyrus and the sendmail lists respecting
>> this issue. While there is a lot of information there following
>> any of it does not seem to lead me anywhere fruitful.
>
> Which Sendmail list? I just know of mail.comp.sendmail on usenet. On
> the cyrus-imapd mailing list I see no current posting.
>

None the less, a message from me is there and has no answer that I
can see.  Such was my previous experience as well.  The problem
might be because I posted through google groups.

However, what I meant by what I wrote is that I have gone through
the archives of both lists and retrieved and read message threads
which appeared to relate to my problem.  Without success.

> But to come to your request. Unfortunately you provide zero detail
> about your current Sendmail and Cyrus-IMAPd setup and their
> interaction. So many questions on my side.
>
> Pplease provide details about your current setup and we should be
> ableto nail it down. There is nothing special about the Sendmail
> and Cyrus-IMAPd shipped with CentOS.
>

What is it that you need to know?

# cat /etc/imapd.conf
admins: cyrus root
autocreatequota: 102400
autocreatequota_units: 1048576
autocreateinboxfolders:
delivery|Drafts|Intray|Sent|Spamyes|Spamno|Trash
autosubscribeinboxfolders:
delivery|Drafts|Intray|Sent|Spamyes|Spamno|Trash
configdirectory: /var/lib/imap
hashimapspool: 1
partition-default: /var/spool/imap
sasl_mech_list: PLAIN
sasl_pwcheck_method: saslauthd
sendmail: /usr/sbin/sendmail
sievedir: /var/lib/imap/sieve
tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt
tls_cert_file: /usr/share/ssl/certs/inet07_hamilton_rsa_id.pub
tls_key_file: /usr/share/ssl/private/inet07_hamilton_rsa_id.key

/etc/mail/sendmail.mc

define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl
define(`confLOCAL_MAILER',`cyrusv2')dnl
MAILER(`cyrusv2')dnl
MAILER(procmail)dnl
MAILER(`local')dnl
MAILER(smtp)dnl


The host in question acts solely as a final delivery host and
accepts incoming smtp connections only from our mail hub.  Sendmail
runs in two instances under MailScanner. ClamAVd and SpamAssassin
are both installed and running on this host under MailScanner as
well.

The host handles multiple domains and virtusertable is enabled and
in use.

I am a digest subscriber which is the cause of the delay in my reply.

Sincerely,

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3