Menu

#2620 Disabled sendmail aliases now treated as comments

1.300
closed
5
2006-09-19
2006-09-19
Anonymous
No

Lines 39 to 42 of sendmail/aliases-lib.pl remove
comments from the list of aliases. Unfortunately, they
also remove disabled aliases (since those look like
comments). No webmin user can then regain access to
modify/enable/etc any alias that is disabled.

I haven't had time to figure out what the
comment-detecting regex (/^\s*#+\s*(.*)/) should
properly be, so my workaround was to just delete lines
39-42 and modify the subsequent "elsif" to "if".

Discussion

  • rj elleray

    rj elleray - 2006-09-19

    Logged In: YES
    user_id=1453659

    I can confirm this as a problem too (Centos 4.3/Webmin 1.30).

    The problem is that there are ususually comments there anyway..

    so why not change the #flag webmin uses to disable aliases
    to (say)
    #disabled#

    regards
    d.

     
  • Jamie Cameron

    Jamie Cameron - 2006-09-19

    Logged In: YES
    user_id=129364

    This is a bug in Webmin 1.300 - it is supposed to only flag
    comments like # Webmin: as descriptions for aliases, and
    treat anything else as just a disabled alias.

    I have released a fixed module at
    http://www.webmin.com/updates.html .

     
  • Jamie Cameron

    Jamie Cameron - 2006-09-19
    • status: open --> closed
     
  • rj elleray

    rj elleray - 2006-09-19

    Logged In: YES
    user_id=1453659

    James

    problem exists in postfix after applying sendmail patch
    released.....

    dick

     
  • Jamie Cameron

    Jamie Cameron - 2006-09-19

    Logged In: YES
    user_id=129364

    I've posted an update to the Postfix module to the same web
    page.

     

Log in to post a comment.