[opensuse] System Mail

2007-02-15 Thread Peter Bloomfield

I set up a machine under SuSE 10.2. during the setup I created a user and 
selected that the user receive any system mail. I now want to stop that so 
that root receives system mail.

Does anyone know where to look to do this?

Thanks in advance

Peter
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] System Mail

2007-02-15 Thread Richard Bos
Op donderdag 15 februari 2007 22:38, schreef Peter Bloomfield:
> I set up a machine under SuSE 10.2. during the setup I created a user and
> selected that the user receive any system mail. I now want to stop that so
> that root receives system mail.
>
> Does anyone know where to look to do this?

/etc/aliases maybe?

-- 
Richard Bos
Without a home the journey is endless
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] System Mail

2007-02-15 Thread Rick Friedman
On Thu, 2007-02-15 at 16:38 -0500, Peter Bloomfield wrote:
> I set up a machine under SuSE 10.2. during the setup I created a user and 
> selected that the user receive any system mail. I now want to stop that so 
> that root receives system mail.
> 
> Does anyone know where to look to do this?

Open up YaST. Choose Network Services and then Mail Transfer Agent.

The first window you'll see will be "General Settings". Simply click the
Next button. The next window will be "Outgoing Mail". Again, click Next.
The next window will be "Incoming Mail". This is the window you want.
Down near the bottom, you will see a text box labeled, "Forward root's
mail to". Simply delete the user name in that box and click the Finish
button. That should do it.

Rick
-- 
Rick's Law: What cannot be imagined will be accomplished by a fool.
PGP Key Id: 9E1125E0


signature.asc
Description: This is a digitally signed message part


Re: [opensuse] System Mail

2007-02-15 Thread Joe Morris (NTM)
Peter Bloomfield wrote:
> I set up a machine under SuSE 10.2. during the setup I created a user and 
> selected that the user receive any system mail. I now want to stop that so 
> that root receives system mail.
>
> Does anyone know where to look to do this?
>   
Though that question has been answered by Rick, AFAIK, postfix will not
deliver mail to root, as it is a security risk.  You must have an alias
to receive system mail.

-- 
Joe Morris
Registered Linux user 231871 running openSUSE 10.2 x86_64






-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] System Mail

2007-02-16 Thread Sandy Drobic
Joe Morris (NTM) wrote:
> Peter Bloomfield wrote:
>> I set up a machine under SuSE 10.2. during the setup I created a user and 
>> selected that the user receive any system mail. I now want to stop that so 
>> that root receives system mail.
>>
>> Does anyone know where to look to do this?
>>   
> Though that question has been answered by Rick, AFAIK, postfix will not
> deliver mail to root, as it is a security risk.  You must have an alias
> to receive system mail.

Correct, the only daemon that is running with root privileges is the
master daemon. All other processes are running as the unprivileged user
postfix. And because you need root privileges to access the home directory
/root, no mail can be delivered to that home directory.

This is very unlikely to change. The only way to change that is to have an
imap/pop server running and to create a user account for root. Though I
would still just set up a mailbox like admins, it-stuff etc., route all
system mails and other administrative mails into that mailbox and grant
access for all admins to that mailbox. That way the administrative mails
are separated from the personal user accounts of the admins.

-- 
Sandy

List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] System mail in 10.3

2007-10-14 Thread Adam Jimerson
How do you tell the system which user openSUSE should send the system mail to?  
I know in 10.2 this could be done through YaST -> User Management, but that 
option is not there in 10.3.  Any one have a clue of where it has been moved 
to, or anyway other than YaST to do this?
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] System mail in 10.3

2007-10-14 Thread Kenneth Schneider

On Sun, 2007-10-14 at 11:19 -0400, Adam Jimerson wrote:
> How do you tell the system which user openSUSE should send the system mail 
> to?  
> I know in 10.2 this could be done through YaST -> User Management, but that 
> option is not there in 10.3.  Any one have a clue of where it has been moved 
> to, or anyway other than YaST to do this?

Easiest way is to edit /etc/aliases and add a line like:

root: some_user_name

Save the changes and run newaliases. All of this is done as the root
user.

-- 
Ken Schneider
UNIX  since 1989, linux since 1994, SuSE  since 1998

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] System mail in 10.3

2007-10-14 Thread Adam Jimerson
On Sunday 14 October 2007 12:12:19 pm Kenneth Schneider wrote:
> On Sun, 2007-10-14 at 11:19 -0400, Adam Jimerson wrote:
> > How do you tell the system which user openSUSE should send the system
> > mail to? I know in 10.2 this could be done through YaST -> User
> > Management, but that option is not there in 10.3.  Any one have a clue of
> > where it has been moved to, or anyway other than YaST to do this?
>
> Easiest way is to edit /etc/aliases and add a line like:
>
> root: some_user_name
>
> Save the changes and run newaliases. All of this is done as the root
> user.
>
> --
> Ken Schneider
> UNIX  since 1989, linux since 1994, SuSE  since 1998

Thank you I made the change and ran newaliases now I just need to wait and see 
if it works, assuming it doesn't matter where in the file you need add that 
line.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] System mail in 10.3

2007-10-14 Thread Kenneth Schneider

On Sun, 2007-10-14 at 12:53 -0400, Adam Jimerson wrote:
> On Sunday 14 October 2007 12:12:19 pm Kenneth Schneider wrote:
> > On Sun, 2007-10-14 at 11:19 -0400, Adam Jimerson wrote:
> > > How do you tell the system which user openSUSE should send the system
> > > mail to? I know in 10.2 this could be done through YaST -> User
> > > Management, but that option is not there in 10.3.  Any one have a clue of
> > > where it has been moved to, or anyway other than YaST to do this?
> >
> > Easiest way is to edit /etc/aliases and add a line like:
> >
> > root: some_user_name
> >
> > Save the changes and run newaliases. All of this is done as the root
> > user.
> >
> > --
> > Ken Schneider
> > UNIX  since 1989, linux since 1994, SuSE  since 1998
> 
> Thank you I made the change and ran newaliases now I just need to wait and 
> see 
> if it works, assuming it doesn't matter where in the file you need add that 
> line.

It is easy enough to test, just send an email to root. From the command
line you could use:

mail -s test root

You will then be able to type in some text and end the message by typing
ctrl-d on a new line.

-- 
Ken Schneider
UNIX  since 1989, linux since 1994, SuSE  since 1998

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] System mail in 10.3 (solved)

2007-10-14 Thread Adam Jimerson
On Sunday 14 October 2007 01:18:03 pm Kenneth Schneider wrote:
> On Sun, 2007-10-14 at 12:53 -0400, Adam Jimerson wrote:
> > On Sunday 14 October 2007 12:12:19 pm Kenneth Schneider wrote:
> > > On Sun, 2007-10-14 at 11:19 -0400, Adam Jimerson wrote:
> > > > How do you tell the system which user openSUSE should send the system
> > > > mail to? I know in 10.2 this could be done through YaST -> User
> > > > Management, but that option is not there in 10.3.  Any one have a
> > > > clue of where it has been moved to, or anyway other than YaST to do
> > > > this?
> > >
> > > Easiest way is to edit /etc/aliases and add a line like:
> > >
> > > root: some_user_name
> > >
> > > Save the changes and run newaliases. All of this is done as the root
> > > user.
> > >
> > > --
> > > Ken Schneider
> > > UNIX  since 1989, linux since 1994, SuSE  since 1998
> >
> > Thank you I made the change and ran newaliases now I just need to wait
> > and see if it works, assuming it doesn't matter where in the file you
> > need add that line.
>
> It is easy enough to test, just send an email to root. From the command
> line you could use:
>
> mail -s test root
>
> You will then be able to type in some text and end the message by typing
> ctrl-d on a new line.
>
> --
> Ken Schneider
> UNIX  since 1989, linux since 1994, SuSE  since 1998

It works, thanks again for you help
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]