LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-01-2007, 09:38 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 293

Rep: Reputation: 41
Supplying hostname/username/password to sendmail


In order to send mail through my ISP, I need to provide three pieces of information: the ISP's hostname for SMTP, the username of my mail account at the ISP, and the password of my mail account. What would be the correct sendmail call to send message to recipient using mail account username with password passwd via the ISP with smtp address smtpaddr?

This question arose in another thread in connection with using the PHP5 command mail() on a web page being interpreted by Apache. For Linux mail() it can be accomplished with the .mailrc entries
set smtp=smtp.comcast.net
set smtp-auth-user=pwabrahams
set smtp-auth-password=xxx
but I need to use sendmail because that's how PHP mail is implemented.
 
Old 01-09-2007, 08:32 PM   #2
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 293

Original Poster
Rep: Reputation: 41
Please see the thread http://www.linuxquestions.org/questi...d.php?t=515217
for the answer I found to this question.
 
  


Reply

Tags
php5, sendmail, smtp



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
hostname & isp username reddog Linux - Networking 1 12-20-2005 02:02 PM
username/password sailu_mvn Programming 5 12-21-2004 03:21 AM
UserName and Password luis8460 Red Hat 0 07-08-2004 04:45 AM
How to config sendmail to require username/password? jimwillsher Linux - Security 1 02-09-2004 09:57 AM
Username and Password dance2die Arch 3 09-01-2003 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:08 PM.

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
Open Source Consulting | Domain Registration