Ken Murchison wrote:
Christian Schulte wrote:Does not work either! I had
Hi,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
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@domain lrswipcda
and get
setaclmailbox: user@domain: lrswipcda: Invalid identifier
If I create a shared folder with cyradm like:
$>cm sharedfolder@domain
I can do
$>sam sharedfolder@domain user@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@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@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
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
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP/HdrToSMTP
in my cyrusv2.m4 file and changing it to
S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP
produces the same error! sendmail delivers correctly to lmtpd, I think:
20776 === CONNECT localhost
20776 <<< 220 XXXXXXXX LMTP Cyrus v2.2.prealpha ready
20776 >>> LHLO XXXXXXXX
20776 <<< 250-XXXXXXX
20776 <<< 250-8BITMIME
20776 <<< 250-ENHANCEDSTATUSCODES
20776 <<< 250-PIPELINING
20776 <<< 250-SIZE
20776 <<< 250-AUTH EXTERNAL
20776 <<< 250 IGNOREQUOTA
20776 >>> MAIL From:<[EMAIL PROTECTED]> SIZE=1076 BODY=8BITMIME
20776 <<< 250 2.1.0 ok
20776 >>> RCPT To:<+sharedfolder@domain>
20776 >>> DATA
20776 <<< 250 2.1.5 ok
20776 <<< 451 4.3.2 cannot create temporary file: No such file or directory
20776 >>> QUIT
20776 <<< 221 2.0.0 bye
20776 <<< [EOF]
And the logfile states the same errors ! What makes me a bit confused is the error message itself. lmtpd is trying to create a temporary file but the error is "No such file or directory". Is it a missing directory or wrong permissions on a directory ?