[rt-devel] qmail finally fully supported with any arbitrary queue address!
Jay Kramer
jkramer at datatechnique.com
Thu Sep 13 23:38:51 EDT 2001
I knew it had to be possible.. I upgraded our mailsystem to qmail and
did not like the naming system that the install docs at helgrim said, so I
configured qmail the 'right' way (heh).
To setup RT with qmail with any arbitrary queue names you would want.. you
need access to the 'assign' file in the users configuration folder of your
qmail config (usually located in /var/qmail/users/assign)... The purpose of
the assign paramater is to tell qmail what user a address should run as..
The format for this file is:
=(queue's email address):(rt's username):(rt's UID):(rt's GID):(rt's Home
Directory)::(configfilename):
<continue on with as many of these as needed, 1 per email address>
.
The queue's email address is self explanitory, you set one up fro each
comment/reply address...
The username is the username the rt bin is owned by..
The rt UID is the UID of the rt user (can be had from /etc/passwd)
The rt GID is the GID of the rt user (can be had from /etc/passwd too)
The home directory is the place qmail will look for the .qmail files to be
explained down below
The configfilename is the name appended to the .qmail filename to get the
filename for that queue
ps, the last . line is QUITE important! that is, a period on a line of its
own, and then followed by a carriage return...
The .qmail(configfilename) files....
Now it is time to setup the files in rt's home directory..
create a file .qmail(your configfilename paramater from the assign file)
ex: .qmailsupport
in this file, add the line |/var/rt/bin/rt-mailgate -q (your actual queue
name) -a correspond
This file is actually just like settign up an alias.. Continue on from
here...
ps, my assign file looks like:
=support-comment at help.mydomain.com:rtuser:1009:1009:/home/rtuser::supportcom
ment:
=support at help.mydomain.com:rtuser:1009:1009:/home/rtuser::support:
=wichita-support-comment at help.mydomain.com:rtuser:1009:1009:/home/rtuser::wi
chitasupportcomment:
=wichita-support at help.mydomain.com:rtuser:1009:1009:/home/rtuser::wichitasup
port:
=kc-support-comment at help.mydomain.com:rtuser:1009:1009:/home/rtuser::kcsuppo
rtcomment:
=kc-support:rtuser at help.mydomain.com:1009:1009:/home/rtuser::kcsupport:
=test-support-comment:rtuser:1009:1009:/home/rtuser::testsupportcomment:
=test-support:rtuser:1009:1009:/home/rtuser::testsupport:
.
ps2... don't use special chars in the coinfigfilename part... it doesn't
work...
More information about the Rt-devel
mailing list