[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] email aliases?



At 06:42 PM 2/10/00 -0500, you wrote:

Right - but I'd prefer not to declare the person to be a user on by Qube.

Still easier to do a different way:

You can do this in your /etc/virtusertable file. Edit it by hand, and make sure all additions are at the bottom.

Here are some samples from the book "sendmail", from O'Reilly, and written by the guy who wrote the sendmail program:

#info@xxxxxxxxxxxxxxxxxx        bob
#info@xxxxxxxxxxxxxxxx          hans@xxxxxxxxxx
#@fictional.com                 user@xxxxxxxxxxx

The one you want is the second one. The lines above show multiple spaces before the "hans@xxxxxxxxxx"; you want a tab there (I didn't put a tab into this example because some email clients don't like tabs inside email text).

Once you've added the line to the virtusertable you need to make a database out of it.

As root, do:

# /usr/bin/makemap hash /etc/virtusertable.db < /etc/virtusertable

Then restart majordomo.

# ps -ax | grep sendmail.

You should get back a line showing something like "accepting connections on port 25.

The number at the far left of that line is the <pid>.

then do:

# kill -HUP <pid>

where <pid> is that number.

That will restart sendmail, and it should now work the way you want. Presuming of course that your Qube was already set up for that domain.

Jeff

--
Jeff Lasman <jblists@xxxxxxxxxxxxx>