LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2010, 04:56 AM   #1
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Rep: Reputation: Disabled
how do i send all email remain in linux?


how do i send out all email remain in linux to gmail?

OS: CentOS 5
 
Old 05-29-2010, 04:59 AM   #2
modpriest
Member
 
Registered: Dec 2007
Posts: 32

Original Poster
Rep: Reputation: Disabled
all mail are in /var/spool/mail
 
Old 05-29-2010, 06:30 AM   #3
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Code:
man mailx
Is where you want to be looking. Or you could script it.
 
Old 05-29-2010, 08:29 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
AFAIK mail, mailx, mutt and pine are mail clients and you need an SMTP mail server like sendmail or postfix (there are others) to connect with Gmail and upload the messages.
 
Old 05-29-2010, 08:56 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by catkin View Post
AFAIK mail, mailx, mutt and pine are mail clients and you need an SMTP mail server like sendmail or postfix (there are others) to connect with Gmail and upload the messages.
mailx, Pine/Alpine and I'd assume Mutt can use an external SMTP server, too.

I don't really understand the OPs question. modpriest, can you explain exactly what you want to do please?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP script to send email in linux ashishkhandelwal Linux - Newbie 3 04-16-2010 09:20 AM
Perl email::send.. how to send the email? hawk__0 Programming 6 12-24-2009 01:53 PM
Can't send email from linux machine using sendmail Zero187 Linux - General 2 06-24-2009 02:33 PM
how to allow send email just to users of my linux box ? jfmendez27 Linux - Software 2 11-13-2003 09:28 AM


All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration