OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: forwarding loop

From: Alex Werner (Alex.Wernerde.cw.com)
Date: Thu May 15 2003 - 08:23:43 CDT


Victor.Duchovnimorganstanley.com wrote:

>On Thu, 15 May 2003, Alex Werner wrote:
>
>
>
>>I think that postfix can't handle the entry in the include file when its
>>goes to the them user. But this is for our extended system needed. Is it possible to configure postfix to delivery such mail locally.
>>
>>
>>snip aliases:
>>testmuc: :include:/var/sendmail/www_aliases/user_includes/testmuc
>>test: testmuc
>>snip end
>>
>>#cat /var/sendmail/www_aliases/user_includes/testmuc
>>testmuc
>>
>>
>>
>
>So per my previous email, this is a loop. Just remove the "testmuc:" entry
>from the aliases file, and it will be delivered locally.
>
>
>
i know that will work, but we use this include file for our
webinterface. With this interface are the user able to change the
delivey (locally or Imap) and to active our vacation tool. Do you know
any hack to make it possible to use this includes files like sendmail?

for example:
If the vactiontool is active the include file looks like:
testmuc, "| /var/sendmail/www_aliases/bin/vacation.pl -a test testmuc"

vacationtool not active:
testmuc

and the content of an include file when the delivey is changed to imap
looks like:
testmuccyrus.domain.de