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

Re: [cobalt-security] email forwarding aliases for non-users



"Mez" <mez@xxxxxxx> wrote:
> Can someone explain in simple terms (if possible) how to create email
> forwarding aliases for users not on the server.
> I am using an RAQ3 and I want to be able to add forwarding addresses.
>
> E.G.
>
> bob@xxxxxxxxxx (domain.com is hosted on my raq3) to forward to
bob@xxxxxxxxx
> But user "bob" does NOT exist on my server
>
> Is this possible at all, if so could someone point me in the right
direction
> for setting it up

John, this isn't really security-related, probably best suited for
cobalt-users, but...

Your example is confusing b/c you don't mention a username and you used
"bob" in both the server and external email address and then say bob doesn't
exist.  But I think you're saying that there is *not* a user on the server
and you want to keep it that way, but fwd email for a specific email address
to an external location.  OK.

Add the following to the bottom of /etc/mail/virtusertable:

# Tab between two parts below
bob@xxxxxxxxxx     dummyuser1

Then type:

makemap hash /etc/mail/virtusertable.db < /etc/virtusertable

Then add the following to the bottom of /etc/mail/aliases:

dummyuser1    bob@xxxxxxxxx

Then type:

newaliases

Done.  Enjoy!

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/