LinuxQuestions.org
Register a domain and help support LQ
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, 10:38 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

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, 09:32 PM   #2
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 272

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


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


All times are GMT -5. The time now is 07:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration