Initial Configuration

From QmailToaster
Revision as of 19:43, 20 October 2024 by Ebroch (talk | contribs)
Jump to navigation Jump to search

Back
Add a domain:

/home/vpopmail/bin/vadddomain your-domain.com

Domain options:

# /home/vpopmail/bin/vadddomain
vadddomain: usage: vadddomain [options] virtual_domain [postmaster password]
options: -v prints the version
         -q quota_in_bytes (sets the quota for postmaster account)
         -b (bounces all mail that doesn't match a user, default)
         -e email_address (forwards all non matching user to this address [*])
         -u user (sets the uid/gid based on a user in /etc/passwd)
         -d dir (sets the dir to use for this domain)
         -i uid (sets the uid to use for this domain)
         -g gid (sets the gid to use for this domain)
         -O optimize adding, for bulk adds set this for all
            except the last one
         -r[len] (generate a len (default 8) char random postmaster password)
[*] omit @-sign to deliver directly into user's Maildir: '-e postmaster'
Special bounce messages supported by vdeliver mail: vadddomain -b delete example.com [password] - delete all mail to non-existant accounts vadddomain -b bounce-no-mailbox example.com [password] - bounce them vadddimain -b someone@somewhere.com example.com [password] - sent to another address vadddomain -b /path/to/Maildir example.com [password] - sent to a Maildir

Add a user:

 /home/vpopmail/bin/vadduser you@your-domain.com 

User options:

    # /home/vpopmail/bin/vadduser
    vadduser: usage: [options] email_address [passwd]
    options: -v (print the version)
             -q quota_in_bytes (sets the users quota, use NOQUOTA for unlimited)
             -c comment (sets the gecos comment field)
             -e standard_encrypted_password
             -n no_password
             -r[len] (generate a len (default 8) char random password)
 Edit /etc/php.ini and set register_globals = On
    service httpd restart
 Bring up your browser and go to:
    http://www.your-domain.com/admin-toaster/
       Username: admin
       Password: toaster
       Change your password . . . Secure password
 Edit /etc/php.ini and set register_globals = Off
    service httpd restart
 Check your mail server:
    http://www.your-domain.com/webmail
    login with your full email address and your password
    Send yourself an email - should show right away
    Send an email to yourself if you have another address
    Go to your other email account and reply to the message you sent
 If Isoqlog doesn't show right away, do this:
    sh /usr/share/toaster/isoqlog/bin/cron.sh