[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postfix-users
Subject:    Re: Case sensitive ${recipient}
From:       Marco Fioretti <mfioretti () mclink ! it>
Date:       2007-06-22 7:07:33
Message-ID: 1.3.200706220907.12478 () mclink ! it
[Download RAW message or body]


> I am getting the following error in procmail:
> 
> pm.20070604.log:procmail: Couldn't chdir to "/usr/local/virtual/
> User@example.com/"
> 
> This is correct, because the directory is /usr/local/virtual/
> user@example.com/
> 
> When postfix is passing the user name
> 
> procmail  unix  -       n       n       -       -       pipe
>    -o flags=R user=vpopmail argv=/usr/local/bin/procmail -t -m 
> USER=$
> {recipient} EXTENSION=${extension} /usr/local/etc/procmailrc.common
> 
> ${recipient} is being sent with an uppercase.  The local users 
> do not have this problem:
> 
> how can I get the postfix to 'normalize' the case to lowercase 
> on all the transport = procmail users?

looks like a job for the u and h flags (http://www.die.net/doc/linux/man/man8/pipe.8.html), I believe

HTH,
         Marco

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic