Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

Re: conf-break change does not work [SOLVED]

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


julien at nura

Apr 21, 2009, 9:24 AM

Post #1 of 1 (728 views)
Permalink
Re: conf-break change does not work [SOLVED]

Le mardi 21 avril 2009 à 09:19 -0500, Kyle Wheeler a écrit :
> -----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:+::

The plus "+" at the end of the line is use to contruct .qmail filename

man qmail-users :
=local:user:uid:gid:homedir:dash:ext:

Here local is an address; user, uid, and gid are the account
name, uid, and gid of the user in charge of local; and messages to local
will be controlled by homedir/.qmaildashext.

So I need to keep a "-" at the end of the line.

But you are right ! I can do it with users/assign file. I just need to
add an wildcard entry for mailing :

+mailing:alias:105:61:/var/qmail/alias/mailing:-::
.

So every mail for mailing*@domain.com will be handle
by /var/qmail/alias/mailing/.qmail
and /var/qmail/alias/mailing/.qmail-default

file

Thanks you very much for your reply !
Julien

>
> (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-----

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.