- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: sending email
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 04:39 AM
тАО10-15-2007 04:39 AM
Im trying to make mail sending email from my private account.
(nither sendmail or postfix are installed on my machine).
Is there any way to pass my smtp server username and password to this command:
echo "text"\mail myemail@example.com
???
Best Regards
Peter
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 07:22 AM
тАО10-15-2007 07:22 AM
Solutionhttp://www.logix.cz/michal/devel/smtp/index.xp?show_selected=1&msgid=31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 08:02 AM
тАО10-15-2007 08:02 AM
Re: sending email
Yes,
vi /etc/mail/sendmail.cf
Change
DS
to
DShostnameofsmtprelayserver
Read that last line carefully because its a clue. You need to KNOW the hostname of the SMTP relay server before you start.
Or
DS
[192.168.0.10]
Where the IP address is the IP address of the SMTP relay server. This will work even if name resolution is down on your network.
Please note very carefully however that the intended relay server may require configuration to accept the mail. What configuration depends on what the OS and Mail Transfer system is on that system.
Then you need to restart sendmail.
service sendmail restart
You don't really need to run sendmail to get mail off the box, but for the sake of simplicity, thats the easy way to go.
mailq
# displays if mail is stuck in the outbound mail queue. There should never be mail there unless you have a problem.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 08:07 PM
тАО10-15-2007 08:07 PM
Re: sending email
My account information (given by my provider)is something like that:
address: myname@wp.pl
smtp server: smtp.wp.pl
pop3 server: pop3.wp.pl
password: myverysecurepassword
Those are the credentials I'm using to configure mail clients under windows.
My question is:
Is there any way to tell mail to send message using my account information?
As I said before nor sendmail or postfix are installed. (do I have to install them ?)
Best Regards
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-15-2007 11:59 PM
тАО10-15-2007 11:59 PM
Re: sending email
This means that you can use any sender address if you specify so in your mail client or command line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 09:41 PM
тАО10-16-2007 09:41 PM
Re: sending email
That's exactly my question:
What comand should I use to SEND email from my unix system, using external provider.
Regards
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 10:49 PM
тАО10-16-2007 10:49 PM
Re: sending email
You either use a client (Thunderbird, Evolution, Mutt) and use those POP/SMTP values in the client.
If you want to use the 'ol "mail" command to do some command-line automated notifications etc. etc., yes, you will need sendmail or postfix.
Both sendmail and postfix use the 'smart host' mentality to forward all SMTP stuff to a remote SMTP server. Doing SMTP Authentication on that connection is quite different between the two services, so pick one, and we'll help you further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 11:51 PM
тАО10-16-2007 11:51 PM
Re: sending email
If this is a red hat based system, do this:
Ensure that postfix is installed
rpm -qa |grep postfix
Then
service sendmail stop
chkconfig sendmail off
alternatives --config mta