[newbie] In a fix with Postfix

2003-06-07 Thread Robin Turner
Can anyone tell me how I can configure postfix so that it only sends 
mail to one user (i.e. me)? The man page confused the hell out of me.

Sir Robin

--
A Perl script is correct if it gets the job done before your boss 
fires you.
 - Larry Wall

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey
www.bilkent.edu.tr/~robin



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] In a fix with Postfix

2003-06-07 Thread Derek Jennings
On Sunday 08 Jun 2003 1:55 am, Robin Turner wrote:
 Can anyone tell me how I can configure postfix so that it only sends
 mail to one user (i.e. me)? The man page confused the hell out of me.

 Sir Robin

In  Postfix you can define aliases.
Edit the file /etc/postfix/aliases
It is required that root should have an alias so that any mail that arrives 
for an unknown user will go to root, and will be forwarded to a real user.

After editing the file run
postalias /etc/postfix/aliases
to create the alias database.

As usual there is lots of useful info in the config files especially 
/etc/postfix/main.cf

If you are using fetchmail, it is also possible to define the local user a 
remote account belongs to.

HTH

derek
-- 
--
www.jennings.homelinux.net


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com