OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: LMTP hackings
From: Amos Gouaux (amos+lists.postfixutdallas.edu)
Date: Mon Apr 17 2000 - 00:38:14 CDT


>>>>> On Thu, 13 Apr 2000 09:57:20 +0200,
>>>>> Walter Steiner <ws+ml.postfix-userspostfix.informatik.uni-bonn.de> (ws) writes:

ws> Is it possible to configure the features "postfix, alias expansion"
ws> and "cyrus deliver, hardlink identical messages in spool area" into
ws> a single postfix server?

I should think so...

ws> main.cf 1:
ws> ----------
ws> local_destination_recipient_limit = 3000
ws> default_destination_recipient_limit = 50
ws> mailbox_transport = lmtp
ws> # if it's of any interest
ws> local_transports = local

ws> master.cf 1:
ws> ------------
ws> local unix - n n - - local
ws> lmtp unix - - n - - lmtp
ws> serv=unix:private/lmtpd
ws> lmtpd unix - n n - - spawn
ws> user=cyrus:cyrus argv=/usr/local/cyrus/bin/deliver -D -e -l

ws> => aliases working, deliver hardlink feature not working

Maybe you need

lmtpd_destination_recipient_limit = 3000

as well?

ws> main.cf 2:
ws> ----------
ws> local_destination_recipient_limit = 3000
ws> default_destination_recipient_limit = 50
ws> # if it's of any interest
ws> local_transports = local (same for local_transports = local lmtp lmtpd)

ws> master.cf 2:
ws> ------------
ws> local unix - - n - - lmtp
ws> serv=unix:private/lmtpd
ws> lmtpd unix - n n - - spawn
ws> user=cyrus:cyrus argv=/usr/local/cyrus/bin/deliver -D -e -l

ws> => aliases not working, deliver hardlink feature working

Yeah, I can see that being a problem with that setup.

ws> If it is not possible to get the merits from both configurations,
ws> will this be feasible in the (near) future with LMTP becoming a
ws> part of the postfix distribution?

ws> I'm wondering if the following scenario would work:
ws> 1) make current $mydestination virtual
ws> 2) use virtual map to "implement" aliases
ws> 3) "send" everything (else) to a "hidden" $mydestination
-> lmtp (main/master.cf 1)

Seems like a lot of work if only using one host.

Amos