[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] catch all aliases on telnet
- Subject: Re: [cobalt-users] catch all aliases on telnet
- From: Marco Baurdoux <linux@xxxxxxxxxxxxx>
- Date: Tue Aug 21 20:28:17 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
MEUH ???
You are absolutely right concerning the swapping of vusertab and aliases.
But the way Raq's deal with mail sure is strange ?? in regards to a Red Hat
system I mean.
le 22.8.2001 5:09, Jeff Lasman à jblists@xxxxxxxxxxxxx a écrit :
> Marco Baurdoux wrote:
>
>> The basic syntax for a aliases file for a catch-all adress is:
>>
>> #Forward all the email coming to mydomain and not
>> #being resolved to any other mailbox to this adress
>> @mydomain.com my_private_adress@xxxxxxxxxxx
>
> This should be in the /etc/virtusertable; the /etc/aliases file is for
> aliasing local usernames; see "man aliases" as follows:
>
> name: addr_1, addr_2, addr_3, . . .
>
> The name is the name to alias, and the addr_n are the
> aliases for that name. addr_n can be another alias, a
> local username, a local filename, a command, an include
> file, or an external address.
>
> So your examples are really for /etc/virtusertable. That said, your
> examples don't work properly on RaQs (at least RaQs 1 through 3; I'm not
> sure about RaQ4) because the RaQ converts all email to "@domain.com",
> upon receipt, to %1@xxxxxxxxxxxxxx", so your example for RaQs should be:
>
> @www.mydomain.com my_private_address@hotmail
>
> or
>
> @www.mydomain.com any-real-username-on-this-box
>
>> #Forward a specific e-mail address
>> info@xxxxxxxxxxxx stephanie.abc@xxxxxxxxxxxxxx
>
> Likewise, this should be...
>
> info@xxxxxxxxxxxxxxxx stephanie.abc@xxxxxxxxxxxxxx
>
>> Once your done editing your aliases file in /etc/aliases don't forget to
>> edit the "newaliases" command from the command line.
>
> You should be sure to put any such aliases at the end of
> /etc/virtusertable, so they won't be rewritten by the RaQs gui.
>
> Then run:
>
> # makemap hash virtusertable < virtusertable
>
> And ideally you shouldn't have to do this at all; the RaQ should do it
> for you when you add usernames, aliases, and forwards to the gui.
>
> Jeff
=======================================================================
Marco Baurdoux
Unix Administrator
Infomaniak Network SA
Avenue de la Praille 26
1227 Carouge
Switzerland
Tel: +41 (0)22 820 35 41
Fax: +41 (0)22 820 35 46
http://web.infomaniak.ch
=======================================================================