Results 1 to 23 of 23
  1. #1

    Squirrelmail with multiple domains?

    The way I set up squirrelmail, it asks you ro input your domain name in the config.

    Well, what I want to do is put a copy of Squirrelmail on my hosting company's website, for all users in all hosted domains to be able to check it.

    How can i do this? The only way i see possible now is to have an installation of squirrelmail for each domain hosted.

    if this cannot be done, can someone please recommend a good free alternative? thanks.

  2. #2
    I just noticed u can set your e-mail address in preferences. That's fine and all, but that means I either have to leave it up to the user to do that (bad mistake) or do it manually for each user when they sign up.

    Any suggestions? I really like the program, just not this one feature. I'd really like a way for them to have to enter their domain name when they login, so that its set and they nor I have to adjust it.

    Surely someone has been where I'm at and modded this to include another login box and appropriate fields? Thanks.

  3. #3
    Join Date
    Oct 2001
    Posts
    1,315
    ive also looked into this - i would be interested in any solutions....
    Avi Brender
    Reliable Web Hosting by Elite Hosts, Inc
    CPANEL Reseller Hosting - Fantastico - Rvskins - ClientExec

  4. #4
    Join Date
    Jul 2002
    Location
    Alberta, Canada
    Posts
    348
    I use the QVCS package on my servers, it allows for this. Squirrelmail itself has no problem in handling this, as its only checking the user/password combo against the imap server. I know for my servers i just have to enter the full email and password as hte login, and that works perfectly.
    AC Host Canada Affordable Canadian Web Hosting Solutions
    Shared Hosting | Email Hosting | DNS Hosting | Custom Plans Available
    Website: www.achost.ca email: [email protected]

  5. #5
    the program is called QVCS? got a URL so we could check out your site with it on there?

  6. #6
    Join Date
    Jul 2002
    Location
    Alberta, Canada
    Posts
    348
    http://qvcs-guide.sf.net/ is the official site for it.

    its a qmail-courier-vmailmgrd-squirrelmail setup. There is an up to date guide for Redhat, and a slightly older, but still working guide for FreeBSD
    AC Host Canada Affordable Canadian Web Hosting Solutions
    Shared Hosting | Email Hosting | DNS Hosting | Custom Plans Available
    Website: www.achost.ca email: [email protected]

  7. #7
    ahhm it cost money. iw as looking for a free one

    i couldnt tell, does it work with sendmail?

  8. #8
    Join Date
    Jul 2002
    Location
    Alberta, Canada
    Posts
    348
    it doesnt cost money. its free, open source. and no, the purpose of using qmail in it was to get away from sendmail. bu the point was its the imap server, not squirrelmail that controls if users from diff domains can login using the same site.
    AC Host Canada Affordable Canadian Web Hosting Solutions
    Shared Hosting | Email Hosting | DNS Hosting | Custom Plans Available
    Website: www.achost.ca email: [email protected]

  9. #9
    i gotcha, thanks

  10. #10
    Join Date
    Oct 2001
    Posts
    1,315
    will this software work with sendmail/imap?

    I would perfer having qmail on my system, but unfortunately we use sendmail and cant change that this second.
    Avi Brender
    Reliable Web Hosting by Elite Hosts, Inc
    CPANEL Reseller Hosting - Fantastico - Rvskins - ClientExec

  11. #11
    Join Date
    Jul 2002
    Location
    Alberta, Canada
    Posts
    348
    I dont think so. the entire package was based off of qmail, but you never know. with a little tinkering u might be able to do it. what imap are you using? courier, cyrus, or imap*?
    AC Host Canada Affordable Canadian Web Hosting Solutions
    Shared Hosting | Email Hosting | DNS Hosting | Custom Plans Available
    Website: www.achost.ca email: [email protected]

  12. #12
    Join Date
    Oct 2001
    Posts
    1,315
    courier - i have squirrelmail working now, I just want the users to be able to set their own "From" address without having to setup their own profile
    Avi Brender
    Reliable Web Hosting by Elite Hosts, Inc
    CPANEL Reseller Hosting - Fantastico - Rvskins - ClientExec

  13. #13
    Join Date
    Aug 2001
    Location
    Langhorne, PA
    Posts
    43
    Squirrelmail with multiple domains isn't that difficult ..

    In the configuration file, use:

    $org_name = $_SERVER['SERVER_NAME'];
    $domain = $_SERVER['SERVER_NAME'];

    What this will do is, if I access the following domains,
    http://www.grokthis.net/smail/src/login.php
    http://www.bwbohh.net/smail/src/login.php

    The domain mentioned on the login page (and elsewhere) is different.

    BTW: I'm using cyrus for my mail directories, users in the form of: raptor-grokthis-net, eric-bwbohh-net, etc. It is a very nice way of doing virtual pop accounts

    Of course, with the above hack, you can write a simple plugin that will append the domain-name with the regex, s/\./-/g; s/^/-/g; and login with just the name 'raptor' or 'eric' to their respective domains.

    Also, I have squirrelmail configured so that different domains can have their own customized login screen and squirrelmail themes... this required a bit of hacking to squirrelmail itself, though.
    Eric W.
    GrokThis.net, geek-niche shared hosting solutions.
    VPS Village. Low-cost Xen VPS and cloud infrastructure hosting.

  14. #14
    Join Date
    Oct 2001
    Posts
    1,315

  15. #15
    Join Date
    Jul 2002
    Location
    Alberta, Canada
    Posts
    348
    By customized login page I assume you mean so it shows their logo instead of the default?
    AC Host Canada Affordable Canadian Web Hosting Solutions
    Shared Hosting | Email Hosting | DNS Hosting | Custom Plans Available
    Website: www.achost.ca email: [email protected]

  16. #16
    Join Date
    Aug 2001
    Location
    Langhorne, PA
    Posts
    43
    > Still, one minor problem (there is always one)
    >- the from address is [email protected] they
    > cant set it to [email protected] unless
    > they goto their preferences. but tahts ok, if
    > there is a way to setup a from field that
    > would be great, otherwise this is still fine

    It is not that difficult to write a plugin that sets the email address on login. There is documentation on the squirrelmail site on how to do this.

    > By customized login page I assume you
    > mean so it shows their logo instead of the
    > default?

    Actually, I have a system such that they can use their own template.
    Eric W.
    GrokThis.net, geek-niche shared hosting solutions.
    VPS Village. Low-cost Xen VPS and cloud infrastructure hosting.

  17. #17
    Join Date
    Jul 2002
    Location
    Alberta, Canada
    Posts
    348
    ah, nice.

    I wrote a plugin that puts their logo onto it, probaly one of the features everyone loves. And best of all its easy enough the clients that know nothing can still do it.
    AC Host Canada Affordable Canadian Web Hosting Solutions
    Shared Hosting | Email Hosting | DNS Hosting | Custom Plans Available
    Website: www.achost.ca email: [email protected]

  18. #18
    Join Date
    Aug 2002
    Location
    oc cali
    Posts
    42
    in reference to the above solution for having multiple domains access one install of SM...

    i have SM installed in a hosting account, but would like to store the data/attachment files in their corresponding account space (e.g. /home/domain1/sqmail_data/, /home/domain2/sqmail, etc...) i know there some way of just pulling the domain name when a user logs in to SM (e.g. [email protected], [email protected], etc.) and just probably have a flag that would set a variable (e.g. $domain_name) in...

    $data_dir = '/home/'. $domain_name .'/sqmail_data/';

    however, i don't know how the login works, and how to implement it...

    if someone could explain how to do this that would be much appreciated, as i know an amount of people probably trying to accomplish the same thing.

    thanks in advance.

  19. #19
    Join Date
    Apr 2002
    Location
    Fort Wayne, IN
    Posts
    418
    Half this stuff you guys are talking about can be done with the plugins

    http://www.squirrelmail.org/plugins.php
    NxTek Solutions Inc - www.nxtek.net
    Award-winning Hosting, Development, and Ecommerce Solutions
    Locally-owned and operated Datacenter since 1999
    There is no best pizza, only the pizza that's right for you.

  20. #20
    Join Date
    Aug 2002
    Location
    oc cali
    Posts
    42
    how about the other half ^^ ... like my post above? ... i don't think the vlogin works like that

  21. #21
    Join Date
    Apr 2002
    Location
    Fort Wayne, IN
    Posts
    418
    Hmm I think it does. You might wanna double-check. Check out http://www.squirrelmail.org/plugins_...?category_id=6

    I'm using the virtusertable plugin that works very well, but I'm not sure if that'll do exactly what you want. It works for what I want to accomplish tho.

    You may also wanna ask on their mailing list too. Hope this helps.

    Originally posted by stech4u
    how about the other half ^^ ... like my post above? ... i don't think the vlogin works like that
    NxTek Solutions Inc - www.nxtek.net
    Award-winning Hosting, Development, and Ecommerce Solutions
    Locally-owned and operated Datacenter since 1999
    There is no best pizza, only the pizza that's right for you.

  22. #22
    Join Date
    Aug 2002
    Location
    oc cali
    Posts
    42
    yah i'll prolly go w/ the mailing list when i have a chance to...

  23. #23
    Hi Erik,

    Have you done anything with perdition and vlogin? I'm running debian squeeze, dovecot, squirrelmail, and have installed perdition and vlogin. When I enable vlogin, then squirrelmail just shows a blank page. What I want to be able to do is check various imap accounts: e.g., gmail, yahoo, hotmail, etc. Thanks for any help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •