is there any tutorial on this? the information in the official page is so huge and too much theory... there is not much practical stuff
thanks for your help 2006/3/22, Hugo Osorio <[EMAIL PROTECTED]>: > > I have done this: > > machine:/var/opt/machine.site.com.co/hosorio# exim4 -bt > /var/opt/machine.site.com.co/hosorio/.forward < > /var/opt/machine.site.com.co/hosorio/ejemplo.msg > > and, this is the response: > > Address rewritten as: /var/opt/machine.site.com.co/hosorio/.forward@ > site.com.co > /var/opt/machine.site.com.co/hosorio/[EMAIL PROTECTED] > router = amavis, transport = amavis > host localhost.localdomain [127.0.0.1] > > my ejemplo.msg file contains this: > > Return-path: <[EMAIL PROTECTED]> > Envelope-to: [EMAIL PROTECTED]: <[EMAIL PROTECTED]> > Envelope-to: [EMAIL PROTECTED] > Received: from [209.68.59.148] (helo=qs47.pair.com) > by sigma.site.com.co with smtp (Exim 3.35 #1 (Debian)) > id 1C5B6O-0006IJ-00 > for <[EMAIL PROTECTED]>; Wed, 08 Sep 2004 17:39:44 -0500 > Received: (qmail 907 invoked by uid 65534); 8 Sep 2004 21:39:29 -0000 > Date: 8 Sep 2004 21:39:29 -0000 > Message-ID: <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > From: [EMAIL PROTECTED] (DriverGuide) > Subject: Your DriverGuide.com Membership > X-[Debian_GNU/Linux]-MailScanner: Found to be clean > X-[Debian_GNU/Linux]-MailScanner-SpamScore: ss > X-MailScanner-From: [EMAIL PROTECTED] > Status: RO > X-Status: > X-Keywords: > X-UID: 7 > > my .forward only contains this: > --------------------------- > if $header_to: contains "hosorio" > then > deliver [EMAIL PROTECTED] > endif > --------------------------- > > What do i need to do for this redirection or forwarding to be permanent in > exim ? > > thank you > > > > 2006/3/22, Phil Pennock <[EMAIL PROTECTED]>: > > > > On 2006-03-21 at 18:05 -0500, Hugo Osorio wrote: > > > also i know that i have to issue the command > > > #exim4 -bf /path/.forward > > > or -bF for to be real > > > > > > i have tried it but nothing happens... as soon as put the command, it > > stays > > > forever, without giving to me the shell again.. > > > > You need to supply the test email message that you want filtered to the > > process on its stdin; stdin is Unix for STanDard INput, which for a > > program run normally is the terminal window in which you're typing. You > > > > use the shell to redirect the stdin to be from another file or process. > > > > > how can i make this test? > > > > If the test message is in a file "test-mail.msg", then: > > # exim4 -bt /path/.forward < test-mail.msg > > > > If you don't use a redirection such as "<", then just type the mail in, > > or cut&paste it. > > > > Regards, > > -Phil > > > > -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
