3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Forwarding mails usin...
FromSent OnAttachments
Goutam BaulOct 8, 2007 5:58 am 
Jeronimo ZuccoOct 8, 2007 6:11 am 
Tony EarnshawOct 8, 2007 6:17 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Forwarding mails using maildropActions...
From:Tony Earnshaw (ton@hetnet.nl)
Date:Oct 8, 2007 6:17:02 am
List:net.sourceforge.lists.courier-maildrop

Goutam Baul skrev, on 08-10-2007 14:58:

I am running a mailing system with RHEL 4.0, Postfix, Open LDAP and courier maildrop. I want to forward mails using the filtering features of maildrop. I was trying to find out tips in the net and have not got much help. May I get some hints please? I tried to forward mails using ldap but it is working a bit erratically and that is why I am trying to do it using maildrop.

Here's a bit of a stanza i use in maildroprc (actually it's used for a permanent autoreply "I have moved to somewhere else for good" with a copy to someone else who's still there, but I've got rid of that extra bit):

if ( /^To:\s+.*<?(?:r\.lubbers|rlubbers|roos)@domain.tld.*/ | /\t*for\s*<rlub@barlaeus.nl>/ ) { to "| /usr/sbin/sendmail rlub@otherdomain.tld" }

I *do* do my normal forwarding in LDAP - you'd do far better to concentrate on that and make it work.

Best,

--Tonni