Menu

#6 Problem with 0.8.4-0.8.6 upgrade

closed-fixed
Significant (3)
8
2002-09-10
2002-09-06
Jack Bates
No

Taken from help forum:

The long version is I use Slackware 8.1, and only
replaced:
P=/usr/local/bin/batemail,F=lsDFMAw5:/|@qSPfhn9,..
......
A=batemail -Y -a $h -d $u
in the /etc/mail/sendmail.cf
with the .6 sends all incoming email to the root, and
with the .4 works.
Is something wrong what I'm doing?
PD: Thanks you for your interest/time

-----------------------

Will test on server today.

Discussion

  • Jack Bates

    Jack Bates - 2002-09-09

    Logged In: YES
    user_id=598446

    Problem is in the fact that sendmail is sending a null
    argument. This argument gets lost when the sub-program is
    called. Since we previously used single quotes to delimit all
    arguments, this was not a problem. We will probably
    institute a fix in the next release. Here is a better sendmail
    A line for handling procmail. Also note that procmail can
    support the m mailer flag for multiple recipient delivery.

    A=batemail -Y -a '$h' -d $u

    Here we are just having sendmail place the single quotes in
    to ensure the host, if null, goes through the parameters
    strings just fine. If you aren't using the host, zap the -a flag
    completely.

    Jack

     
  • Jack Bates

    Jack Bates - 2002-09-09

    Logged In: YES
    user_id=598446

    I've attached a diff for the batemail 0.8.6 script that will
    change argument handling. If an argument is passed
    through as null, it will insert an empty set of single quotes
    so that the argument reference isn't lost. This fixes the
    common procmail call of -Y -a $h -d $u, which passed
    empty hostnames with $h causing mail to be delivered to
    root.

    Jack

     
  • Jack Bates

    Jack Bates - 2002-09-09
    • status: open --> open-fixed
     
  • Jack Bates

    Jack Bates - 2002-09-09

    Fix to 0.8.6 base for argument handling

     
  • Jack Bates

    Jack Bates - 2002-09-10
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.