Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail.cf and smart relay host authentication

Status
Not open for further replies.

awingnut

Programmer
Feb 24, 2003
759
US
My ISP now requires that I authenticate (simple username and password) to send mail. Can someone point me to a HOWTO for setting up sendmail.cf to authenticate to a smart relay SMTP host? TIA.
 
Theres a parameter in sendmail.cf "DefaultAuthInfo" (or confDEF_AUTH_INFO) that tells sendmail where your smtp authorization stuff is held. The authorization file should be readable to root only (chmod 400, chown root:root) and should have the format:

admin
admin
password
smtp.domain

The auth info is usually kept in /etc/mail/default-auth-info

Hope this helps.

___________________________________
[morse]--... ...--[/morse], Eric.
 
Thanks for the reply and I'm not sure if it helped or not. I am getting an error now that I don't understand. The mail log is telling me I have a DNS: Data format error. I'm not running DNS just resolver. The mail itself is bouncing and it is giving me a fatal error. It is saying hostname.dap.localnet does not exist. This is the default host name since I do not have a registered domain. (I'm DSL connected). While I agree it does not exist as far as any DNS is concerned, I question why it matters since I supposedly have now authenticated (although there is nothing in the log to confirm that). Is there a masquerading parameter that I need to set?
 
im not sure of a masquerading parameter, but I think DNS is involved in the mix. Me, personally, I dont use sendmail for simple SMTP exchanges....I would look into postfix, its much much easier to configure.

___________________________________
[morse]--... ...--[/morse], Eric.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top