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

Re: [cobalt-security] Email Duplicating



Hi Keith,

> Tried both of these, but all they do is forward the email, rather than
> duplicating to be able to keep a copy in the mailbox as well as
> forwarding it.

First off, it's an old nag, but this is cobalt-security.  Questions like
this really belong on cobalt-users.

Second off, here's how we do it:
1) Make sure you've got an appropriate entry in /etc/virtusertable, eg:

freddy@xxxxxxxxxxxx	freddymail

The cobalt admin interface should add this line for you when you set up an
appropriate mail alias.  IIRC, the admin interface will take care of
re-building the virtusertable database too.

2) Add a line to your /etc/aliases file which reads something like:

freddymail:	freddypop, freddy@xxxxxxxxxxx

(where freddypop is the name of a local pop box - freddymail doesn't have
to exist as either a pop box or a user, it's just the alias handle.)

3) run 'newaliases' to get the updated alias file re-hashed.  Sendmail
should pick up the changes while running.

HTH,

John