procmail
[Top] [All Lists]

Re: Procmail and LDAP problem

2006-08-25 06:03:08
.On 24 Aug 2006, at 06:09 , Lucien GENTIS wrote:
Google Kreme a écrit :
On 23 Aug 2006, at 10:05 , Alejandro Cabrera Obed wrote:
I have installed Postfix+LDAP+Courier+Procmail...I have virtual
domains
with virtual users, and when I set the /etc/procmailrc file with the
correspnding HOME for the virtual users (HOME="/var/vmail/ 
`ldapsearch
......`"), the mails don't go where I defined in the procmail rules.

As far as I know, procmail effectively does not work with virtual  
users.
Hi to all,

To let procmail work with virtual users and sendmail,
if user1, user2, user3 are virtual users, and vmail the real UNIX  
user,
you must create a file named virtusertable containing:
user1(_at_)one(_dot_)domain(_dot_)com   vmail+%1
user2(_at_)one(_dot_)domain(_dot_)com   vmail+%1
user3(_at_)one(_dot_)domain(_dot_)com   vmail+%1

That's an interesting solution, though it would of course break  
current email addresses that use + addressing.

Perhaps it works similarly with postfix . . .

I wonder...

Anyone done this in postfix?  I'd be willing to give it a go,  
especially since you could then do soemthing like:

INCLUDERC="/usr/local/virtual/$VUSER.procmailrc"

to have individualized procmailrc files.

-- 
if you ever get that chimp of your back, if you ever find the thing  
you lack, ah but you know you're only having a laugh.  Oh, oh here we  
go again -- until the end.




____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>