cancel
Showing results for 
Search instead for 
Did you mean: 

Putty

Tom Garber
Occasional Visitor

Putty

I need to access email accounts on my virtual private server so I can delete spam. How do I do this using PuTTy? I can log into my server just fine but I do not know the commands to navigate to my client's email folder. Suggestions?
3 REPLIES
Dennis Handly
Acclaimed Contributor

Re: mailbox locations

What type of server is this? On HP-UX this is /var/mail/user-name.

Bill Hassell
Honored Contributor

Re: Putty

You can read the email using elm as in:

 

    elm -f /var/mail/user_name

 

You'll need to spend time with the elm manual as it is not a windows application.



Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: mailbox locations

And you can use mailx(1) to access your own mailbox.

And "mailx -f /var/mail/user-name".

 

There is a mailx(1) man page with simple commands to read and delete.