procmail
[Top] [All Lists]

Re: Problem with username

1998-08-15 21:23:45
Carl Schrader <carl(_at_)csiway(_dot_)com> writes:
I have a user that has a username of app][. It was working fine until I
switched to procmail. Is there something I can change to make this work?

First off, you're supposed to quote brackets in email addresses according
to rfc 822, so you should try sending email to
        "app]["@where.ever

However, that presupposes an MTA problem, as procmail never parses
email addresses: sendmail should be passing it unquoted local parts.
If the 'F' directive on the Mlocal line in your sendmail.cf doesn't
include a lowercase 's', then add it.

To test procmail by itself, try typing the following:

        procmail -f $USER(_at_)`uname -n` -d 'app][' <<EOM
        To: app][
        Subject: test

        blah blah blah
        EOM

That should deliver a fairly simple message to him.  If it doesn't,
check the exitcode of procmail (*before* you run any other commands),
by typing "echo $status" or "echo $?", depending on whether you use
tcsh/csh or bash/ksh/sh respectively.  If it isn't zero, then procmail
was unhappy.  If it was between 64 and 80 or so, then look it up in
/usr/include/sysexits.h to see exactly what procmail was complaining
about.


Philip Guenther