Re: cyrus-2.2-cvs: virtualdomains and sendmail virtusertable (cyrusv2 as local mailer)
You can go to http://asg.web.cmu.edu/archive/index.php?mailbox=archive.info-cyrus
and do a search for "sendmail" and go to the last 25 messages to see the tail end of
the thread.
Maybe Christian would share with you his final (?) solution?
Mike.
Ya this is definately a sendmail problem. I was hoping someone on this list
had run into it before because for the life of me I cant figure out which
flag I need to remove or add to solve this.
Thanks,
Ilan
On Tue, Dec 31, 2002 at 09:34:51AM -0600, Simon Loader wrote:
> I havent messed with sendmail configs for a while (been using these new
> fangled MTA`s of late). Check the flags for your mailer is passing the
> full emial. Track down which line in the config the error is coming from
> becuase it looks like this is a sendmail problem.
>
> --
> Simon Loader
>
> Ilan Rabinovitch wrote:
>
> >thanks for the suggestion. I patched cyrus but I'm still getting:
> >
> >Dec 31 04:30:44 igaming1 sendmail[5278]: gBV4TxVF005275: gBV4UiVF005278:
> >DSN: User unknown
> >
> >In the sendmail logs.
> >
> >Any suggestions?
> >
> >Thanks again,
> >Ilan
> >
> >
> >On Mon, Dec 30, 2002 at 08:59:00PM -0600, Simon Loader wrote:
> >
> >>Are you using cyrus 2.2 ? (cvs only) if not try the lmtp patch at
> >>http://www.surf.org.uk/downloads/
> >>
> >>--
> >>Simon Loader
> >>
> >>Ilan Rabinovitch wrote:
> >>
> >>
> >>>Hello,
> >>>
> >>>In case this might help I'm attaching my sendmail.mc file.
> >>>I'm still not having much luck with this thing.
> >>>Same problem of sendmail rewriting the recipient to be just 'user'
> >>>instead
> >>>of '[EMAIL PROTECTED]'
> >>>
> >>>Any suggestions greatly appreciated. Is there a guide or a document out
> >>>there on this I cant seem to find antyhign that covers this problem.
> >>>
> >>>Thanks,
> >>>Ilan
> >>>
> >>>divert(-1)
> >>>#
> >>>#
> >>># (C) Copyright 2000 by Carnegie Mellon University
> >>># Portions (C) Copyright 2000 Red Hat, Inc.
> >>>#
> >>># This sample mc file is for a site that uses the Cyrus IMAP server
> >>># exclusively for local mail. This requires Sendmail 8.10 or later.
> >>>#
> >>>divert(0)
> >>>include(`/usr/share/sendmail-cf/m4/cf.m4')
> >>>OSTYPE(`linux')
> >>>define(`confDEF_USER_ID',``8:12'')dnl
> >>>define(`confTO_CONNECT', `1m')dnl
> >>>define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')dnl
> >>>define(`confDONT_PROBE_INTERFACES',true)dnl
> >>>define(`confTO_IDENT',`0')dnl
> >>>define(`confLOCAL_MAILER',`cyrus')dnl
> >>>define(`ALIAS_FILE',`/etc/mail/aliases')dnl
> >>>define(`STATUS_FILE', `/var/log/sendmail.st')dnl
> >>>FEATURE(`mailertable',`hash -o /etc/mail/mailertable')dnl
> >>>FEATURE(redirect)dnl
> >>>FEATURE(always_add_domain)dnl
> >>>FEATURE(use_cw_file)dnl
> >>>FEATURE(`access_db')dnl
> >>>FEATURE(`genericstable')dnl
> >>>FEATURE(`virtusertable')dnl
> >>>EXPOSED_USER(`root')dnl
> >>>EXPOSED_USER(`postmaster')dnl
> >>>EXPOSED_USER(`mailer-daemon')dnl
> >>>MAILER(smtp)dnl
> >>>MAILER(local)dnl
> >>>
> >>>MAILER_DEFINITIONS
> >>>Mcyrus, P=[IPC], F=lsDFMnqA5@/:|SmXz, E=\r\n,
> >>> S=EnvFromL, R=EnvToL/HdrToL, T=DNS/RFC822/X-Unix,
> >>> A=FILE /var/lib/imap/socket/lmtp
> >>>
> >>>LOCAL_RULE_0
> >>>Rbb + $+ < @ $=w . > $#cyrus $: + $1
> >>>
> >>>LOCAL_RULESETS
> >>># if there's a plus part, we want to directly deliver it
> >>>SLocal_localaddr
> >>>R$+ + $* $#cyrus $@ $: $1 + $2
> >>>
> >>>
> >>>Ilan Rabinovitch wrote:
> >>>
> >>>
> >>>>Hello,
> >>>>
> >>>>I'm trying to get sendmail to work with Cyrus-Imap and UnixHierarchysep.
> >>>>Right now when e-mails come in sendmail only seems to pass on the 'user'
> >>>>part of '[EMAIL PROTECTED]' so the mail never reaches the mail box I
> >>>>created
> >>>>for it.
> >>>>
> >>>>Any suggestions on how to fix this? Anyone have a sample sendmail.mc I
> >>>>can
> >>>>look at?
> >>>>
> >>>>thanks,
> >>>>Ilan
> >>>>
> >>>>
>