Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 67
  1. #41
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    Trying to clearify everything.
    So the instructions that Skullman posted are correct and the steps you need to take... correct?

    The only thing I think I see missing from them is that once finnished the command
    Code:
    makemap hash virtusertable < virtusertable
    needs to be run in the telenet session. Only one command in telenet needs to be run?

    I'd like to copy a version of the steps to my forum which is why I am trying to make sure I have it right. Right now I don't have the need for it so have not played with it and the only account I have access to with multiple domains is a clients and I don't want to be fooling around with it.

    adpwl1, I like the example you have given and the way you have laid everything out so that it is easy to keep track of. It helps to see a "real" version detailed out like that.
    Last edited by wildjokerdesign; 09-13-2005 at 03:46 PM. Reason: < was turned into &lt; when forum was changed
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  2. #42
    Member
    Join Date
    Nov 2003
    Location
    Detroit, Michigan USA
    Posts
    53

    Default

    THe only command missing from Skullman is the Make command that need to be ran in the SSH/Telnet connection.

    Where he mentions about opening a telnet session to edit the file, that part I do locally then FTP the new file over. I find it easier to format and navigate in the file using a windows based editor. But someone could use "vi" or someother linux editor via SSH/Telnet.

  3. #43
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,720

    Default

    Thank you adpwl1 when I post this on my board do you mind if I use your example file? I would credit you and link to your site. The reason I like to duplicat stuff to my board is so that solutions do not get lost in the middle of post. I think in reality I am about the only one who uses my board.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  4. #44
    Junior Member
    Join Date
    Dec 2003
    Location
    Alicante. Spain
    Posts
    20

    Default

    Then, here we go again, this should be all the steps and the right way:



    1. 2. Open a Telnet session. Westhost Manual


    • 3. Edit /etc/mail/virtualusertable file, and point the same address to the different mailboxes that we have created:
      info@domain1.com mailbox_one
      info@domain2.com mailbox_two


    • 4. Run the makemap command:
      makemap hash virtusertable &lt; virtusertable


    Alternatively you can edit those files via FTP as adpwl1 said before.
    Skullman

  5. #45
    Junior Member
    Join Date
    May 2004
    Location
    NJ
    Posts
    23

    Default This works perfectly

    CK1 should get an award for this fix!

    Quote Originally Posted by CK1
    You can use the same e-mail alias name for different domains, but it is a bit complicated. This is how you do it:

    (The files I talk about are in the /etc/mail directory)

    1. Remove the alias in question from the 'aliases' file.
    2. Run the 'newaliases' command to compile the aliases file.
    3. Edit the 'virtualusertable' file, and add these lines:
    (I am using the alias name john)
    4. Run this command to compile virtualusertable
    makemap hash virtusertable &lt; virtusertable
    With this setup, john@domain1.com would be forwarded to the mailbox mark and john@domain2.com would be forwarded to the mailbox sally.

    *Disclaimer* make backups of everything. This is not something that WestHost supports, this is tinkering on my part.
    ---------------------------------------------------------
    REPLY
    I am working on reselling domains using the deluxe package with 10 domains. but what good is 10 domains if you cant offer email!!
    I just completed testing the solution offered by CK1 and it works perfectly and is not as difficult as it may seem at first. I did not have to do steps 1 and two as I did not have any alais setup. Heres what I did in simple terms so dummies like me can follow.

    (Note instead of using sally and mark as alais (read mailbox names) I devised this format which is very descriptive and will not confuse the end user As a mailbox name concanteniate the name and domain (john.abc.com)

    (john@domain1.com uses john.domain1.com as mailbox name instead of using mark. john@domain2.com uses john.domain2.com as mailbox name instead of using sally as in CK1 instructions above)

    _BEFORE YOU DO ANYTHING_
    YOU BETTER DOWNLOAD A COPY OF VIRTUSERTABLE FILE _BEFORE YOU DO ANYTHING_IN CASE YOU SCREW UP. KEEP IT IN A SAFE PLACE!!

    /etc/mail/vertusertable
    NOT /etc/mail/vertusertable.db

    You host two domain abc.com and xyz.com.

    1. Go to manager and make a new mailbox called john.abc.com give it a password

    2. Via ftp I downloaded the /etc/mail/vertusertable file as described above.

    At the end of the file you will see two new entries.

    ----AT THE END OF THE FILE YOU WILL SEE:
    john.abc.com@abc.com john.abc.com
    john.abc.com@xyz.com john.abc.com

    [as matter of fact you will have john,abc.com mailboxes for every domain you have]

    ----AT THE END OF THE FILE YOU WILL SEE:
    john.abc.com@abc.com john.abc.com
    john.abc.com@hjk.com john.abc.com
    john.abc.com@mydomain.com john.abc.com
    john.abc.com@example.com john.abc.com

    3. I edit the file to delete all the false mailboxes (which appear below the one you want) so only this remain. DO NOT DELETE THE EXISTING ONES WHICH APPEAR ABOVE THE NEW ONE - YOU BETTER DOWNLOAD A COPY OF VIRTUSERTABLE FILE _BEFORE YOU DO ANYTHING_IN CASE YOU SCREW UP.

    BEFORE EDITS

    ----AT THE END OF THE FILE YOU WILL SEE:
    john.abc.com@abc.com john.abc.com
    john.abc.com@hjk.com john.abc.com
    john.abc.com@mydomain.com john.abc.com
    john.abc.com@example.com john.abc.com

    AFTER EDIT
    ----MAKE LAST ENTRY AT THE END OF THE FILE:
    john.abc.com@abc.com john.abc.com
    ( \/ DELETE THESE \/)
    john.abc.com@hjk.com john.abc.com
    john.abc.com@mydomain.com john.abc.com
    john.abc.com@example.com john.abc.com

    AND EDIT
    john.abc.com@abc.com john.abc.com
    SO IT READS
    john@abc.com john.abc.com


    4 login via ssh and CD to /etc/mail/
    5. run makemap hash virtusertable &lt; virtusertable

    (at the prompt type,without the quotes, "makemap hash virtusertable &lt; virtusertable" then press enter)

    as described above by CK1

    BINGO You got it!!

    now if you get a john for xyz.com do above so last TWO lines of virtusertable would look like this:
    john@abc.com john.abc.com
    john@xyz.com john.xyz.com


    Tell your user to connect to their mailbox (using their email client) as
    username john.abc.com [THATS THEIR USER ID] not john or john@abc.com and the password you gave when setting up the mailbox in manager.

    AFTER ALL THATS THE WHOLE POINT OF THIS

    CAUTION
    To delete mail boxes you need to remove it in manager and download vertusertable and delete the entry manually then upload
    and run
    makemap hash virtusertable &lt; virtusertable
    again


    BONUS!!!
    http://forums.westhost.com/phpBB2/viewtopic.php?t=1837
    ---------------
    fz: "You have to use the "mini Site Manager" [login] at http://yourdomain.com/users/ [http://yourdomain.com that would be your primary domain not domain1.com] . Unfortunately, this is (I think) still undocumented by WestHost, which is why few people seem to know about it. "
    --------------------

    Give this link to your user and they can change their own **** password!
    (THEY LOG IN WITH MAILBOX NAME i.e. john.abc.com)

    AND the beautiful part is that they can't change mailbox limit!
    IT WORKS - I TESTED IT!

    What more can you ask??

    I hope I did not miss something here TEST TEST AND TEST before going live!!

    WEBmail works with this but test the application there are some issues with the return addess.

    I hear through the grapevine WH is looking into this issue. HEY WH how about a simple GUI to automate the above, after all it seems to work!
    Old - Fat - Boring

  6. #46
    Member
    Join Date
    Nov 2003
    Location
    Detroit, Michigan USA
    Posts
    53

    Default

    For some reason, I just noticed my sample Virtusertable didn't make it up here. I redid my file to help me orginize the emails better. I hope this helps.




    #This is a comment. Comments are good.

    #A regular virtual user alias takes the following form:
    #alias@domain.com anotheraddress@domain2.com

    #A "global" alias looks like the following:
    #@domain.com account@mail.com

    #@default
    @domain1.com user1
    @domain1.com.whsites.net user1
    @domain1.com.yourtempsite.com user1
    @domain2.com user1
    @domain3.com user1

    #root
    root@domain1.com root
    root@domain1.com.whsites.net root
    root@domain1.com.yourtempsite.com root
    root@domain2.com user2
    root@domain3.com root

    #postmaster
    postmaster@domain1.com postmaster
    postmaster@domain1.com.whsites.net postmaster
    postmaster@domain1.com.yourtempsite.com postmaster
    postmaster@domain2.com user2
    postmaster@domain3.com postmaster

    #MAILER-DAEMON
    MAILER-DAEMON@domain1.com MAILER-DAEMON
    MAILER-DAEMON@domain1.com.whsites.net MAILER-DAEMON
    MAILER-DAEMON@domain1.com.yourtempsite.com MAILER-DAEMON
    MAILER-DAEMON@domain2.com user2
    MAILER-DAEMON@domain3.com MAILER-DAEMON

    #domain1.com
    info@domain1.com info_eit
    user1@domain1.com user1
    firstname1.lastname@domain1.com user1


    #domain2.com
    info@domain2.com user2
    user2@domain2.com user2

    #domain3.com
    user3@domain3.com user3
    -Andy

  7. #47
    Senior Member FZ's Avatar
    Join Date
    May 2003
    Location
    Johannesburg, South Africa
    Posts
    1,024

    Default

    Thanks for sharing, this thread is truly useful.
    Fayez Zaheer

  8. #48
    Junior Member
    Join Date
    May 2004
    Location
    NJ
    Posts
    23

    Default RED FLAG on multiple mailbox hacks

    Hey Guys &amp; Gals

    I just discovered a problem! We have been tossing around hacks to the vertusertable file detailed in last post on this page (the "CK1 hack") here

    http://forums.westhost.com/phpBB2/vi...7&amp;start=30

    Yes it works BUT it seems that often I can't send attachments.

    SMTP server said 552 5.2.3 Message size exceeds fixed message size (20480)

    Sometime it works and sometimes it don't??

    Go figure
    Old - Fat - Boring

  9. #49
    Senior Member FZ's Avatar
    Join Date
    May 2003
    Location
    Johannesburg, South Africa
    Posts
    1,024

    Default

    Where are you getting that error message? In your e-mail program? In a bounce-back mail from someone you tried sending a large e-mail to?

    I doubt that this hack has anything to do with quotas. What comes to mind is that either the person you are trying to send mail to has a quota imposed on their mail server, or you have one set in your own Site Manager (either an e-mail quota [Site Manager > E-mail/FTP Management] or an outgoing mail size restriction [Site Manager > E-mail/FTP Management > Settings > Maximum content length]). The other thing that comes to mind is the fact that WestHost no longer allows truly unlimited (e-mail) quotas, but instead limits them to 20MB - maybe that setting is in effect for outgoing mail, too. If you have a 20MB quota set on that particular e-mail/FTP account, there is a way to bypass the 20MB restriction and restore unlimited quotas: http://forums.westhost.com/phpBB2/vi...hp?p=9972#9972
    Fayez Zaheer

  10. #50
    Junior Member
    Join Date
    May 2004
    Location
    NJ
    Posts
    23

    Default Error message from email client

    Thanks for the help. I'm getting the message from the email client (Outlook Express). I doubt is vaild since I'm only sending a test (.doc or .xls) of about 100Kb. I'm sending to other test domains I have. One is within WH and the other is off WH both fail most of the time (mailbox full) and I KNOW both mailboxes are empty!!

    Any help is much appreciated 'cause I really dont have a clue.

    FURTHER TESTING RESULTS:

    After furtherr testing I find this

    the problem occurrs when using outlook express on a MAC but not on a PC

    Something did change when I mucked around with the virtusertable file. My other WH accounts (which I've had for many years and did not edit the virtusertable file) can send attachments regardless of whatever email client I use on any platform.
    Old - Fat - Boring

Similar Threads

  1. Virtual Domains and Multiple Email Accounts
    By harrisguide in forum E-mail / FTP Management
    Replies: 7
    Last Post: 03-15-2007, 05:50 PM
  2. Email accounts for multiple domains
    By Edward in forum E-mail / FTP Management
    Replies: 1
    Last Post: 02-18-2005, 11:14 AM
  3. Multiple Email Accounts with Multiple Domains
    By richardz in forum Comments / Suggestions
    Replies: 12
    Last Post: 08-05-2004, 11:20 AM
  4. account only receives email from other vps user accounts
    By <-- R O B --> in forum E-mail / FTP Management
    Replies: 3
    Last Post: 04-13-2004, 11:05 AM
  5. Multiple Domains - Unique Email Accounts
    By computersmarts in forum General Discussion
    Replies: 1
    Last Post: 01-07-2004, 11:00 AM

Posting Permissions

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