[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qmail
Subject:    Re: conf-break change does not work
From:       Kyle Wheeler <kyle-qmail () memoryhole ! net>
Date:       2009-04-21 14:19:36
Message-ID: 20090421141936.GF47929 () CPE-65-31-220-231 ! kc ! res ! rr ! com
[Download RAW message or body]

-----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@domaine.com ? 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@remotehost" > /var/qmail/alias/mailing/.qmail
     echo "|forward user@remotehost" > /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-----
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic