procmail
[Top] [All Lists]

Re: What should be a simple problem with uppercase letters in username.

1996-10-18 16:42:07
David Priebe <priebe(_at_)board1(_dot_)renfrew(_dot_)edu(_dot_)on(_dot_)ca> 
writes:
I'm having a problem with a user Robert on our system receiving mail.  
I have an entry in my alias file to point robert: Robert
First, it appeard that sendmail was setting the incomming username to
all lowercase, but I corrected that with the F=u flag in the local mailer
definition in my sendmail.cf
I now have
Mlocal,   P=/usr/bin/procmail, F=ulsDFMAw5:/|@ShPfn, S=10,R=20/40,
         T=DNS/RFC822/X-Unix,
         A=procmail -a $h -d $u

Now the mail will get routed only if the user has a .forward address 
pointing to an account that doesn't have uppercase letters.  If the user
doesn't have a .forward, I get an error message user unknown... 

I don't have any .procmailrc for users, or /etc/procmailrc, but when
I do a /usr/bin/procmail -h, I see a D that looks interesting.  I'd like
to specify the D on the command line, but I suspect I'll have to create
an /etc/procmailrc.  

Can anybody help me??  I'm very new to this stuff, so if you have an 
exact example, it would be very helpfull.


Case sensitive usernames?  Hmm, you're more daring than I.  Procmail
version 3.11pre should be able to handle this correctly, and some
earlier versions would probably do so as well with some configuration
time effort.  The 'D' flag has nothing to do with this: it controls
case sensitivity in condition matching on actual recipes, not the case
sensitivity of user names.  No /etc/procmailrc is necessary.

If you do have 3.11pre, then I'd say the problem is back in sendmail's
camp, and that you should a) check the logfile, and b) play with various
-d switches.

Philip Guenther

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