Tom Leach <[EMAIL PROTECTED]> writes:
> Anyone using postfix, tmail, and delivering directly to mbx/mix
> mailboxes? If so, could you reply with your main.cf/master.cf tmail
> lines and any other config pointers?
For testing, I created a configuration almost like yours.
> The setup: RHEL 5, postfix 2.3.3 (tried 2.5 as well), /var/mail
> symlink to /var/spool/mail with perm 1777, imapd 2007a1 (not dev).
- my tmail comes from alpine-1.10, no it should not be so different. I
installed it in /usr/local/sbin, then:
# chmod u+s /usr/local/sbin/tmail
> postfix main.cf:
> mailbox_transport = tmail
> tmail_destination_recipient_limit = 1
- in my case, I created a special /etc/postfix/transport entry for my
test user, so that it behaves like the above lines:
[EMAIL PROTECTED] tmail
> postfix master.cf:
> tmail unix - n n - - pipe
> flags=DR eol=\r\n user=nobody argv=/usr/local/bin/tmail ${user}
- same here (but the path, /usr/local/sbin here).
- As user solniko, I created the INBOX:
$ mailutil create '#driver.mix/INBOX'
- then I sent a mail to this test user. Here are the logs:
Apr 12 11:52:54 petole postfix/pickup[28350]: 8F703BF0A: uid=1000 from=<niko>
Apr 12 11:52:54 petole postfix/cleanup[28358]: 8F703BF0A: message-id=<[EMAIL
PROTECTED]>
Apr 12 11:52:54 petole postfix/qmgr[28352]: 8F703BF0A: from=<[EMAIL
PROTECTED]>, size=322, nrcpt=1 (queue active)
Apr 12 11:52:54 petole tmail[28361]: delivered to /home/solniko/Imapdir/INBOX
Apr 12 11:52:54 petole postfix/pipe[28360]: 8F703BF0A: to=<[EMAIL PROTECTED]>,
relay=tmail, delay=0.11, delays=0.07/0.02/0/0.02, dsn=2.0.0, status=sent
(delivered via tmail service)
Apr 12 11:52:54 petole postfix/qmgr[28352]: 8F703BF0A: removed
These mean all went well.
- to verify, I checked the contents of the ~solniko/Imapdir/INBOX contents:
$ cat .mix48008529
:msg:00000001:20080412115254+0200:000001fd:
Received: via tmail-2007a.21 (invoked by user nobody) for solniko; Sat, 12 Apr
2008 11:52:54 +0200 (CEST)
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: by petole.dyndns.org (Postfix, from userid 1000)
id 8F703BF0A; Sat, 12 Apr 2008 11:52:54 +0200 (CEST)
To: [EMAIL PROTECTED]
Subject: test
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 12 Apr 2008 11:52:54 +0200 (CEST)
From: [EMAIL PROTECTED] (Nicolas KOWALSKI)
test
So, there must be missing in your configuration...
--
Nicolas
_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw