Menu ▾ ▴

#1 vacation alias option not used, .forward has mode 0666

open
None
5
2007-12-23
2003-03-31
No

2 Requests:

1.) vacation.pl does not honor the -a option of vacation

2.) vacation creates a new .forward file with mode 0666

I attached a sample diff-file.

Discussion

  • John Duksta

    John Duksta - 2003-07-03
    • assigned_to: nobody --> crucible
     
  • John Duksta

    John Duksta - 2003-07-03

    Logged In: YES
    user_id=60879

    My apologies for not getting to this sooner. I didn't have email
    notifications turned on for bug reports (D'oh!) I'm in the
    middle of moving right now, but should hopefully have this
    fixed within a couple of weeks. BTW, i didn't get the diff you
    were to have attached.

     
  • Andreas Tirok

    Andreas Tirok - 2003-07-28

    Logged In: YES
    user_id=465568

    Soory for my late answer. Attachment lost? OK here are the
    hacks - I had not enaugh time to make the changes smarter -
    sorry. :-(
    There may be some in the config - but I am not familiar with
    webmin/usermin...
    Hope it helps.

    Best Regards

    Andreas Tirok

    diff vacation-lib.pl.orig vacation-lib.pl
    59a60,64
    > $xx_alias = $remote_user_info[6];
    > @xx_alias_words = split(' ', $xx_alias);
    > $xx_alias = "-a " . $xx_alias_words[0] . '.' .
    $xx_alias_words[1] . "\@beusen.de";
    >
    >
    64c69
    < print FORWARD "\"|$config{'vacation_path'}
    $remote_user\"";
    ---
    > print FORWARD "\"|/usr/bin/vacation
    $xx_alias $remote_user\"";
    65a71
    > chmod 0644, $forward_file;
    69c75
    < print FORWARD "\"|$config{'vacation_path'}
    $remote_user\"";
    ---
    > print FORWARD "\"|/usr/bin/vacation
    $xx_alias $remote_user\"";
    70a77
    > chmod 0644, $forward_file;
    73c80
    < system("$config{'vacation_path'} -I");
    ---
    > system("/usr/bin/vacation -I");

     
  • John Duksta

    John Duksta - 2007-12-23
    • assigned_to: crucible --> dougedoug
     

Log in to post a comment.