Tuna Sundae wrote:

On Thu, 24 Feb 2005 19:45:33 -0700, Craig White <[EMAIL PROTECTED]> wrote:


On Thu, 2005-02-24 at 21:03 -0500, Tuna Sundae wrote:


Hi, when I used to use sendmail, I used "aliasname: |/path/to/app" in
/etc/aliases to pipe mail to a program. Now, I used postfix with
cyrus' "deliver" as the delivery mechanism. How do I have cyrus pipe
certain aliases to applications?:



----
you asked the question the other day - I think that you use
the /usr/sbin/sendmail binary supplied by your postfix installation,
much the same as you would if you were using sendmail but I think in a
way, that begs your question...wouldn't you use postfix aliasmaps much
like you used aliases in sendmail? Are you sure that this is a cyrus
question?



That's the thing... I can't get postfix to check the alias map before giving the mail to cyrus' deliver. So I was hoping there was a cyrus way to do this.

Is anyone using postfix/cyrus and having it first look at /etc/aliases
before delivering to 'deliver'?




I ran into a similar problem recently.

It was explained to me that if you explicity define the transport for lmtp in "transports" you then disable piping to commands in Postifx (and a few other issues). What you need to do is comment out that definition in "transports" (presuming this is the case here) and define:

mailbox_transport = lmtp:unix:/var/imap/socket/lmtp

(modify as appropriate for your system)

And then the pipe-to-commands should work. There are more specifics about why this is so - but that's what solved this for me.



Forrest


--- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to