Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

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-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
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 288

Original Poster
Rep: Reputation: 41
Please see the thread
for the answer I found to this question.


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 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 > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:29 AM.

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