The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OpenWebMail question

Discussion in 'E-mail Discussions' started by fazer, Oct 15, 2003.

  1. fazer

    fazer Member

    Joined:
    Oct 14, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I am having trouble installing openwebmail. I have installed it actually but can't get all my users to get using it. Has anyone got it running and has all the virtual users working fine?

    Thanks,

    Fazer

    cPanel.net Support Ticket Number:
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    16
    Dear fazer,

    You can setup virtual users for openwebmail.
    you have to configure auth_unix.pl to point to your password file. Setup auth_pop3.pl which is used for virtual users configuration and make changes to $pop3_authserver, $pop3_authport, and
    $local_uid. Make changes to openwebmail.conf and setup mailspooldir.

    To setup virtual user follow the steps:
    1) Add a mapping for the user in /etc/postfix/virtual.cf

    2) Add alias to /etc/aliases.
    ex)john.virtualcompany.com:
    /var/spool/virtual/virtualcompany.com/john
    update aliases database.

    3)Make a virtual directory in /var/spool/virtual
    chown root.mail /var/spool/virtual/domain
    chmod og+wt /var/spool/virtual/domain

    4)Go to webmail location or /usr/local/apache/
    cgi-bin/openwebmail/etc/sites.conf and make a file named \'domain\' add the following lines.
    mailspooldir /var/spool/virtual/DOMAIN
    auth_withdomain yes
    auth_module auth_pop3.pl
    This will configure them to use full email address

    5)Make a directory in /etc/virtual to hold the password file for the domain. vm-pop3d looks in when it authenticates a user.
    mkdir /etc/virtual/virtualcompany.com

    6)Create a password for this user. Using the addpasswd script present at the homepage.
    addpasswd username password >> /etc/virtual/domain/passwd

    7)Sendmail users have to set virtualusertable configuration option. Add the following option to openwebmail.conf
    virtusertable /etc/notable

    Regards,
     
  3. fazer

    fazer Member

    Joined:
    Oct 14, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Re: RE: OpenWebMail question

    Hello and thanks a lot for your reply!

    I have a few questions that need some clarification.

    For your step 1, how would I exactly map?

    And for every user that I have, do I have to make a new seperate password? (Step 6)

    Thanks a lot for your help!

    Fazer
     
Loading...

Share This Page