And in case any are using qmail, the equivalent is a file called .qmail in
the user's home directory containing a line such as 

&[EMAIL PROTECTED]

Peter


At 11:35 16/01/2001 -0500, Theresa M Peter wrote:
>NO NO NO.
>
>You do not want to do this through sendmail's aliases file.  You want to 
>create a .forward file in the users home directory.
>
>Here are the problems with doing this in the alias file.
>
>1.)  You only want root editing that file and you don't want everyone that 
>is trying to forward their mail to a new address contacting the sys 
>admin  (at least I do not want to be contacted by my users to do this for 
>them!!!!)  The more self service oriented you make things the more they are 
>going to be used.
>2.)  Too many aliases listed in the file will cause problems
>3.)  Each time the alias file gets changed it will need to be rebuilt, the 
>more aliases you have the longer it takes.  (We separate our aliases out 
>into several different files and then rebuilt the alias file nightly from 
>those files, keeps things a little more organized)
>
>It is much easier to have users create .forward files in their home 
>directories.  Do users have shell access to directory? We have created a 
>web form that allows users to authenticate and then create their forward 
>file.  It will then send a test message.  If they do not receive the test 
>message within 10 min then they need to retry setting up their forward or 
>calling our helpdesk for support.
>
>At 12:08 PM 1/15/01 +0100, Jörg Bretschneider wrote:
>>At 11:02 15.01.01 +0100, you wrote:
>>>I want to have mail, that comes in to a user on my mailserver
>>>to be automatically forwarded to another mailadress.
>>>how do i do this?
>>>i suspect that this is a sendmail matter, but im trying this
>>>list first.
>>>thanks
>>>/PJ
>>
>>You're right, this is a sendmail thing. You should use the sendmail 
>>aliases file and define the local address of your user as an alias for his 
>>other address. The syntax is
>>   localusername   :     remoteaddress
>>the file "aliases" usually resides in "/etc/mail". Don't forget to re-read 
>>the aliases file into the sendmail aliases database "aliases.db", usually 
>>done by giving
>>         $> newaliases
>>an the prompt, which is an shell synonym for
>>         $> sendmail -bi
>>Bye
>>
>>Joerg
>>
>>   Joerg Bretschneider
>>   Mathematician
>>
>>   HP-UX + SAMBA system administrator
>>   Technical University of Dresden, Civil Engineering
>>   Chair of Applied Informatics in CE
>>   mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>>   Joerg Bretschneider
>>   Mathematician
>>
>>   HP-UX + SAMBA system administrator
>>   Technical University of Dresden, Civil Engineering
>>   Chair of Applied Informatics in CE
>>   mail: [EMAIL PROTECTED]
>>
>

Reply via email to