
kyle-qmail at memoryhole
Apr 21, 2009, 7:19 AM
Post #4 of 4
(1078 views)
Permalink
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, April 21 at 01:36 PM, quoth Julien: > I have no virtual domain, it is a fresh install of netqmail-1.06 with Hmm. Interesting. I haven't fussed with alternative extensions much myself, so I'm not sure why that might not work. >> To fix it, edit /var/qmail/users/assign, and re-run qmail-users to >> rebuild the cdb file. > > How can I custom address extension delimiter in /var/qmail/users for > mailing+469489-68459 [at] domaine ? I want to use "+" as a delimiter for > alias "mailing". That should be straightforward, if you read the qmail-users man page. You'll need two lines in your users/assign file. First: =mailing:alias:UID:GID:/var/qmail/alias/mailing::: (replace UID and GID with the uid and gid of the qmail alias user, and be sure to create the /var/qmail/alias/mailing directory, and make it owned by the qmail alias user) Second: +mailing:alias:UID:GID:/var/qmail/alias/mailing:+:: (again, replace UID and GID with the uid and gid of the qmail alias user) Once that's done, you'll need to do two more things: first, run qmail-newu to build the user/cdb file based on the contents of the user/assign file you just created, and second, create /var/qmail/alias/mailing/.qmail and /var/qmail/alias/mailing/.qmail-default files that forward your mail to wherever you want it to go, like so: echo "|forward user [at] remotehos" > /var/qmail/alias/mailing/.qmail echo "|forward user [at] remotehos" > /var/qmail/alias/mailing/.qmail-default ~Kyle - -- In order to keep a true perspective of one's importance, everyone should have a dog that will worship him and a cat that will ignore him. -- Dereke Bruce -----BEGIN PGP SIGNATURE----- Comment: Thank you for using encryption! iEYEARECAAYFAknt1fcACgkQBkIOoMqOI16GCgCgybQrjqN8KWScyVgqzP8VKZlq ijsAnRrR78ccAdQERzm7Hp6P5heLqUb+ =syEs -----END PGP SIGNATURE-----
|