The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: how to read root mail
Author: Dan 
Date:   03-01-07 00:32

cbrace wrote:

> Anyway, I modified the alias as you suggested and it now works.
> That still leaves the messages in /var/mail/root (not
> important, just wondering how to fix it).

this is a quick and dirty way, others may recommend more correct solutions:

cat /var/mail/root >> /var/mail/dan

This adds all the mail for root to dan's mailbox.

> Also, is there a way of flushing the outgoing mail queue? There
> is a bunch of stuff sitting there from some tests with postfix.

postsuper -d KKKKKKKKK

Where KKKKKKKKK is the queue id. Depending on how many items, you may want to script the removal.

--
Webmaster

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 how to read root mail   new
cbrace 02-01-07 22:23 
 Re: how to read root mail   new
Dan 02-01-07 22:44 
 Re: how to read root mail   new
cbrace 02-01-07 23:12 
 Re: how to read root mail   new
Dan 03-01-07 00:32 
 Re: how to read root mail   new
cbrace 03-01-07 02:17 
 No getting mail for root   new
robi_cse2k 11-08-11 06:36 
 Re: No getting mail for root   new
Dan 11-08-11 11:50 
 Re: how to read root mail   new
Jim Trigg 19-01-07 19:25 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org