> >> With CREATEPROTO=mbxproto, tmail will create a ~/INBOX in mbx format if
> >> one does not exist.
> > Ah; that's new. imapd and ipop[23]d don't do this.
>
> Correct. Only tmail and dmail have the power to create INBOX.
>
> > My problem with the
> > man page is when it says
> > "If delivery is to INBOX and no INBOX currently exists, tmail will
> > create a new INBOX, using the -I flag if specified."
> > I don't know whether INBOX refers to ~/INBOX, the sendmail maildrops
> > (in /var/mail in my case), or the either/or/snarf that the daemons do.
>
> See above. In your case, it's the first of the three.
>
> > So does this mean tmail completely ignores the maildrops in /var/mail?
>
> With CREATEPROTO=mbxproto, yes.
After deploying tmail this is not (quite) the behaviour I see.
With one of my tests, a /var/mail maildrop existed, but not ~/INBOX,
and tmail delivered to /var/mail and did not create ~/INBOX.
As far as I can tell it uses ~/INBOX under the other circumstances, i.e.
if ~/INBOX already exists, or /var/mail maildrop does not.
Anyway, tmail seems to be behaving very well. FWIW I put it into play
with mc macros rather than hacking sendmail.cf directly:
define(`LOCAL_MAILER_PATH', `/usr/local/libexec/tmail')dnl
define(`LOCAL_MAILER_EOL', `\r\n')dnl
and the result in sendmail.cf is
Mlocal, P=/usr/local/libexec/tmail, F=lsDFMAw5:/|@qPrmn9, S=EnvFromL/Hdr
FromL, R=EnvToL/HdrToL, E=\r\n,
T=DNS/RFC822/X-Unix,
A=mail -d $u
If anything's badly wrong with that, please let me know; I'm not fluent
in sendmail, unfortunately.
Also, I'm getting two copies of the Return-Path, but it looks like my
distrib of sendmail puts in a copy unconditionally, as I have
H?P?Return-Path: <$g>
in sendmail.cf. It's not really something I care about anyway.
Thanks for all your help.
Cheers,
- Joel
P.S. I see your point about order not mattering so much, and I like that
you've restricted snarfing to "mail reading" operations.
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw