Hi Mark,

--On Freitag, 17. Oktober 2003 10:40 Uhr -0700 Mark Crispin <[EMAIL PROTECTED]> wrote:

On Fri, 17 Oct 2003, Sebastian Hagedorn wrote:
> Why not just build c-client with CREATEPROTO=mbxdriver instead of the
> default CREATEPROTO=unixdriver?
because unfortunately that doesn't work:
Oct 17 19:16:50 kerberos tmail[23156]: tmail called with LF-only newlines

;; This is something that you need to fix. Are you setting E=\r\n?

oops, no, I didn't. I fixed that, but it was hard to do (you can't use the m4 macros) and the current, third edition of the bat book has this to say on pg. 729:


"Delivery agents that do not speak SMTP (those that include a $u in the A= argument array) should have their end-of-line field set to E=\n (for a lone line-feed character)."

That's not an RFC, but you might want to consider changing that requirement.

Oct 17 19:16:50 kerberos tmail[23156]: Verifying safe delivery to
/var/spool/mail/hgd by UID 20022

That's because a /var/spool/mail/hgd traditional UNIX format INBOX exists. tmail won't create an INBOX if there already is an existing one.

Oh, I see. But that only leads to the next problem:


Oct 17 19:53:10 kerberos sendmail[23300]: h9HHr8J23300: from=root, size=10, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Oct 17 19:53:10 kerberos tmail[23304]: delivering to hgd+INBOX
Oct 17 19:53:10 kerberos tmail[23304]: attempting to create mailbox #driver.mbx/INBOX path /home/hgd/mail/INBOX
Oct 17 19:53:10 kerberos tmail[23304]: Can't create /home/hgd/mail/INBOX: invalid name
Oct 17 19:53:10 kerberos tmail[23304]: can't create INBOX
Oct 17 19:53:10 kerberos tmail[23304]: error in delivery
Oct 17 19:53:10 kerberos sendmail[23303]: h9HHr8J23300: to=hgd, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:00, mailer=local, pri=30010, dsn=4.0.0, stat=Deferred: local mailer (/opt/UW-imap/sbin/tmail) exited with EX_TEMPFAIL


I should explain that I set

static char *mailsubdir = "mail";

in env_unix.c, but that's not the issue, is it? /home/hgd/mail does exist, btw. The error is the same if I remove it.

Thanks, Sebastian
--
Sebastian Hagedorn              PGP key ID: 0x4D105B45
Ehrenfeldgürtel 156
50823 Köln
http://www.spinfo.uni-koeln.de/~hgd/

Reply via email to