#482 Using Webmin and subdomains and Squirrelmail

Luis Chacon

If you are using Webmin and subdomains you will notice
that your pop name is username.subdomain and will
experience that you'll get From:
username.subdomain@domain when sending a mail from
Squirrelmail (it should be username@subdomain.domain)
If you avoid "." (dots) in the username when creating
an account via Webmin, you can solve it changing the
deliverMessage Function in compose.php

example: my domain is undominio.edu.ve
base_domain: undominio

if (!$from_mail)
if (sizeof($popuser2)>1)
if ($popuser2[1]=="base_domain")


} else
$from_mail = "$popuser@$domain";



  • Luis Chacon

    Luis Chacon - 2006-05-19
    • summary: Using Webmin and subdomains and Squirrelmain --> Using Webmin and subdomains and Squirrelmail
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-05-21

    Logged In: YES

    SquirrelMail can't make such decisions about pop3 login
    username. It will break, if login name contains period.

    pop3 login name must match imap login name.

  • Tomas Kuliavas

    Tomas Kuliavas - 2006-06-04
    • labels: 102905 -->
    • milestone: 101719 -->
  • Paul Lesniewski

    Paul Lesniewski - 2008-01-30

    Logged In: YES
    Originator: NO

    You can change your outgoing email address in the Options->Personal Preferences page, but as tokul said, you cannot change the login username unless you get a better email system manager/setup. It might be possible to use the Login Manager (vlogin) plugin to help automate what the email preference is set to, but I can't say that with 100% confidence.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks