#1882 Postfix Module not parsing alias file correctly

1.170
closed
Jamie Cameron
5
2004-12-19
2004-12-19
Eric Wagar
No

When looking at my postfix alias file, I see this:
...
# Usenet news service administrator
#news: usenet
#usenet: root
# http/web service administrator
www: webmaster
...

This is then parsed in Webmin 1.170 as:
news Address usenet
usenet Address root
Address http/web
Address service
Address administrator

With both 'news' and 'usenet' being marked as
italicized meaning they are commented out (which is
correct).

Discussion

  • Jamie Cameron
    Jamie Cameron
    2004-12-19

    • status: open --> closed
     
  • Jamie Cameron
    Jamie Cameron
    2004-12-19

    Logged In: YES
    user_id=129364

    This problem happens because Webmin thinks that the lines :
    #usenet: root
    # http/web service administrator
    represent an alias split over multiple lines, and commented
    out. Since this would actually be a valid alias if there
    were no # comments at the start of those lines, the Postfix
    module is actually doing the right thing!
    If you were to remove the space between # and http/web , it
    wouldn't happen ..