sendmail ! where to put my password
Steven Stern
subscribed-lists at sterndata.com
Mon Oct 6 21:33:12 UTC 2008
Adel ESSAFI wrote:
> Hi list
> I send this mail after I have find a difficulty to find how to send
> mails using sendmail.
> I have configured sendmail as shown in the web, but, I receive message
> error from mùy smtp server (554) saying that the authentication is failed.
>
> This is not suprising since in my configuration files, I have not found
> where to put the password my email.
>
> Can you help about this please.
>
Why do you need a password? Are you using a SMART_HOST configuration,
routing your outgoing mail through your provider's SMTP server?
If so, in sendmail.mc
define(`SMART_HOST', `the.provider.server.name')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 587')
FEATURE(`authinfo',`hash /etc/mail/authinfo')dnl
in the file /etc/mail/accessinfo
AuthInfo:the.provider.server.name:587 "U:your.user.name"
"P:your.password" M:CRAM-MD5
More information about the fedora-list
mailing list