!!!WARNING!!!
This HOWTO (which should be named "misleading install guide that is too old to be taken seriously) no longer matches Oli's at pofo.de. Please direct your attention to lifewithqmail.org for better help and more details. (I'm only leaving this up until I can figure out how to gracefully remove it.)
SF - 2005-11-30
3.1 vpopmail
3.2 autorespond
3.3 ezmlm-idx
This section will describe the command-line method of administering domains, users and mailing lists. If you plan on only using web administration services, then you may skip this chapter and go to Chapter 4. Web Tools.
A domain is added by:
If you want a second domain with the same users - i.e. email to user1@domain.tld will go to user1@aliasdomain.tld, then you may add an alias domain as such:
You add users thusly:
Deleting users is done by:
To change the password of a user:
[My notes:]
If you are not sure of the specific switches that can be used with any of the commands located in /usr/local/vpopmail/bin, then simply type in the command as such:
and you will get a response like or at least similar to:
vmoduser: usage: [options] email_addr or domain ( for the entire domain )
options: -v ( display the vpopmail version number )
-n ( don't rebuild the vpasswd.cdb file )
-q quota ( set quota )
-c comment (set the comment/gecos field )
-e encrypted_passwd (set the password field )
-C clear_text_passwd (set the password field )
the following options are bit flags in the gid int field
-u ( set no dialup flag )
-d ( set no password changing flag )
-p ( set no pop access flag )
-s ( set no smtp access flag )
-w ( set no web mail access flag )
-i ( set no imap access flag )
-b ( set bounce mail flag )
-r ( set no external relay flag )
-a ( grant qmailadmin administrator privileges)
-0 ( set V_USER0 flag )
-1 ( set V_USER1 flag )
-2 ( set V_USER2 flag )
-3 ( set V_USER3 flag )
-x ( clear all flags )
In order to configure a auto-vacation response, each oncoming email must be sent through the autoresponder. In order to achieve this, the following commands should be used: (we are assuming that the email address is user1@domain1.tld, as an example)
printf "%s%s%s\n%s" '| /usr/local/bin/autorespond 86400 3' \
'/usr/local/vpopmail/domains/domain1.tld/user1/vacation/message' \
'/usr/local/vpopmail/domains/domain1.tld/user1/vacation' \
'/usr/local/vpopmail/domains/domain1.tld/user1/Maildir/' > .qmail
Now the text of the auto-vacation response should be drafted. The text that already exists does not contain any actual message. The following is an example of what one might want to use for /usr/local/vpopmail/domains/domain1.tld/user1/vacation/message:
Subject: Thanks for your email
I just received your email. I am currently on vacation
and because of this will not be able to respond to your
email. Please be patient. I will be available again
on 2/19/2009.
Warm Regards,
User1
A moderated list with the name "TEST" and whose moderator address is "user1@domain1.tld" is likewise created thusly:
ezmlm-make -rdug -5 user1@domain1.tld /usr/local/vpopmail/domains/domain1.tld/TEST \
/usr/local/vpopmail/domains/domain1.tld/.qmail-TEST TEST domain1.tld
ezmlm-sub /usr/local/vpopmail/domains/domain1.tld/TEST user1@domain1.tld
ezmlm-sub /usr/local/vpopmail/domains/domain1.tld/TEST/digest user1@domain1.tld
ezmlm-sub /usr/local/vpopmail/domains/domain1.tld/TEST/mod user1@domain1.tld
chown -h vpopmail.vchkpw ./domain1.tld/.qmail-TEST*
chown -R vpopmail.vchkpw ./domain1.tld/TEST
Comments (4)
How to set domain quota for a particular domain. If we set a quota for a domain will it be apply for all users.
Posted by saravanan | June 11, 2004 7:36 AM
Posted on June 11, 2004 07:36
The qmail vacation only response to outcoming mail users, how about internal domain user mail ??? It not works at all for same domain user's mail.
Please advise.
Posted by Yap | October 27, 2005 10:48 PM
Posted on October 27, 2005 22:48
Hi!
I would have gladly known whether would be possible all outgoing emails with a universal signature to provide.
Greeting,
Didi
Posted by Didi Bulancea | February 16, 2007 7:37 AM
Posted on February 16, 2007 07:37
I would also recommend the QMR (QmailRocks.org) guide located here:
http://www.qmailrocks.org
Posted by Nick | February 21, 2007 6:50 PM
Posted on February 21, 2007 18:50