[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sendmail
Subject:    Re: Aliases
From:       "Dmitry" <sidr () sidora ! net>
Date:       2002-08-16 10:23:55
[Download RAW message or body]

"Grzesiek" <gregork@poczta.fm> wrote in message
news:ajihch$1c1a$1@news2.ipartners.pl...
> Hello,
>
> I would like to set up my sendmail to recive mail if someone mistypes
> adress, for example:
>
> I have domain "sendmail.org" and I have a user "gregork"....
> Someone wants to send mail to gregork@sendmail.org but he mistypes it and
> writes kgregor@sendmail.org.
> I would like this mail to be deliverd to administrator, so I make an entry
> in /etc/mail/aliases containing this line:
>
> @sendmail.org:            root

You have to use virtusertable, not aliases
http://www.sendmail.org/virtual-hosting.html

>
> Then I do:
> makemap hash aliases.db < aliases
> and :
> newaliases
> And here is the problem:
>
> "/etc/mail/aliases: line 37: @sendmail.org... User address required
> /etc/mail/aliases: line 37: @sendmail.org... cannot alias non-local names
> /etc/mail/aliases: 15 aliases, longest 10 bytes, 161 bytes total "
>
> Wher is the solution ?
>
> Thanks for help
> Grzesiek
>
> --
> Pozdro 4every1 :)
> Grzesiek
> priv: gregork@poczta.fm
>
>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic