-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I got the following question:
> 
> $ cat locals
> nemtsov.ru
> rosmol.ru
> vgsn.glasnet.ru
> 
> I've address [EMAIL PROTECTED] that I wanna redirect to another address.
> Well, if I'll use /var/qmail/users/assign, then the question is "how to
> specify a string for exactly one domain of 3 in locals.?" I mean that
> string
> =info:nemtsov:554:562:/home/nemtsov:::
> will match all domains in locals, but I need only one domain - nemtsov.ru.
> As I see in man qmail-send I can't do this w/ virtualdomains , since it
> applies only if domain is not listed in locals.

You have to do that from .qmail file of info user - I hope it doesn't 
bring you security riscs. You basically test HOST, HOST2, HOST3 
etc. variables for your predefined strings. It would then contain 
something like
|condredirect another_address [ $HOST -e nemtsov.ru ]
./Maildir/

(I hope I got that fine; please test before using.)

man qmail-command
man condredirect

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBN7fjzlMwP8g7qbw/EQJksACcDrlHQq2tzX6EYaBIp65smSWeC+IAnjV8
XDBTvIxN6vKLcf2Io/KuuwDD
=g/21
-----END PGP SIGNATURE-----
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
                                                             [Tom Waits]

Reply via email to