On Wednesday, September 24, 2003, at 09:16 AM, Paul L. Allen wrote:
A feature request for vaddaliasdomin. I would like a configure option
(best) or a command-line switch (not so good) that reverses the order of
the two arguments. I'd like it for two reasons:

What if it was automatic?

vaddaliasdomain x.com y.com

If both x.com and y.com exist, exit with an error.
If x.com exists, make y.com an alias to it.
If y.com exists, make x.com an alias to it.
If neither exists, exit with an error.

It shouldn't be difficult to do -- you can use vget_assign() to see if the domain exists.

Tom Collins
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/

Reply via email to