Mail

Darin Perusich darinper at cognigencorp.com
Wed Oct 9 10:54:13 EDT 2002


a pop daemon like qpopper for example will be default look at the mail 
spool, /var/spool/mail as the location to get mail. all that it requires 
is that the account be valid and you can supply the passwd. the same 
goes to local mail readers, mail, mailx, pine, whatever. they look to 
the spool to a users email.

email can be redirected to other users by using aliases(4), at least in 
the case of sendmail. the file /etc/mail/aliases or /etc/aliases 
controls this. for example you want email sent to root to be redirected 
at jjneff, you'd simple add a line to this file that reads root:jjneff, 
run newaliases to recreate the database add your all set, sendmail takes 
care of the rest.

JJ Neff wrote:
> I installed exim and tkmail and mailx (actually when I installed mailx it
> installed exim, during the exim install it prompted me for how I wanted mail
> handled ,I sisnt need sendmail- I only wanted to get mail as a local user from
> the system (ie cron adn other alerts).  I answered a few questions about who to
> send root mail to and now I have a var/spools/mail/USER folder and am getting
> mail I can read with tkamil.
> 
> I figured out how to get it to work but still am not sure I truly Understand
> what I did and how I can tweak or enhance mail (ie - use local mail agents and
> sendmail to interfcae to my pop3 or other mail external)
> JJN
> --- Darin Perusich <darinper at cognigencorp.com> wrote:
> 
>>writing a system independent email tutorial is simple enough, but 
>>writing one that is MTA independent is a different story. i can put 
>>something together about sendmail, i probably have something like this 
>>from presentations i've done.
>>
>>a users local email file, it's not a folder, is located in 
>>/var/spool/mail/$USER or /var/mail/$USER and is stored in mbox format.
>>
>>JJ Neff wrote:
>>
>>>Anyone want to post a very simple Distro independent tutorial on how to set
>>
>>up
>>
>>>Linux mailing, I installed mailx and exim and tkamil and exim ran me
>>
>>through
>>
>>>setup, I chose local mail only and had all the root mail forwardrd to me,
>>
>>when
>>
>>>I run tkamil Im not sure what the mail folder is?  Basically I dont even
>>
>>know
>>
>>>what I don't know.
>>>
>>>Thanks in advance for any help.  
>>>
>>>PS if anyone has a tutorial that expands on the above... ie I have a home
>>>server and two workstations, I want both my wife and my mail to get
>>
>>retrieved
>>
>>>from a pop3 server (fethcmail?) and delivered to our mailboxes and I want
>>
>>us to
>>
>>>be able to send messages to each other locally ... what are tools I should
>>
>>be
>>
>>>reading about, learning...?
>>>
>>>thanks
>>>
>>>JJN
>>>
>>>__________________________________________________
>>>Do you Yahoo!?
>>>Faith Hill - Exclusive Performances, Videos & More
>>>http://faith.yahoo.com
>>>
>>>
>>
>>
>>-- 
>>Darin Perusich
>>Unix Systems Administrator
>>Cognigen Corp.
>>darinper at cognigencorp.com
>>
>>
> 
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos & More
> http://faith.yahoo.com
> 
> 


-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper at cognigencorp.com





More information about the nflug mailing list