Shared folders and virtual domains ?
Ken Murchison
ken at oceana.com
Sat Nov 30 10:18:39 EST 2002
Christian Schulte wrote:
>
> Hi,
>
> I am running 2_2 cvs branch with virtual domain support turned on and
> everything seemd to work fine. I now wanted to move my old installation
> to the new one and cannot get delivery to shared folders working.
> If I create a shared folder with cyradm like:
>
> $>cm sharedfolder
>
> I cannot do
>
> $>sam sharedfolder user at domain lrswipcda
>
> and get
>
> setaclmailbox: user at domain: lrswipcda: Invalid identifier
>
> If I create a shared folder with cyradm like:
>
> $>cm sharedfolder at domain
>
> I can do
>
> $>sam sharedfolder at domain user at domain lrswipcda
>
> and the user can subscribe to the folder and sees it on the same level
> than his inbox as expected. If I now setup sendmail to send via the
> cyrusv2 mailer with an address like +sharedfolder at domain I get the
> following errors in the logs which I do not understand ! What is wrong
> here ?
>
> Nov 15 02:55:33 mail lmtpunix[8259]: [ID 921384 local6.debug] accepted
> connection
> Nov 15 02:55:33 mail lmtpunix[8259]: [ID 685068 local6.debug] lmtp
> connection preauth'd as postman
> Nov 15 02:55:33 mail lmtpunix[8259]: [ID 152585 local6.error] couldn't
> create stage directory: : No such file or directory
> Nov 15 02:55:33 mail lmtpunix[8259]: [ID 519036 local6.error] IOERROR:
> creating message file 8259-1037325333: No such file or directory
> Nov 15 02:55:33 mail sendmail[8262]: [ID 801593 mail.info]
> gAF1rq13008256: to=<+sharedfolder at domain>, delay=00:01:41,
> xdelay=00:00:00, mailer=cyrusv2, pri=210378, relay=localhost, dsn=4.2.0,
> stat=Deferred: 451 4.3.2 cannot create temporary file: No such file or
> directory
Sorry for the delay, but I finally got a chance to look into this.
Cyrus isn't the problem here, the problem is that the MTA is stripping
the domain off of the recipient address when it gets passed to lmtpd.
Try changing the cyrusv2 mailer definition to use:
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
More information about the Info-cyrus
mailing list