authentification problem with sendmail and smtp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear list
I have a problem with smtp and sendmail. My smtp requires a login and a password. no ssl connection is required. The port is 25.
I have used this configuration below.


divert(-1)dnl

include(`/usr/share/sendmail-
cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
OSTYPE(`linux')dnl
define(`SMART_HOST',`smtp.gnet.tn')
GENERICS_DOMAIN(localhost.localdomain localhost)dnl
FEATURE(`genericstable')dnl
MASQUERADE_AS(`gnet.tn')dnl
FEATURE(masquerade_envelope)dnl
define(`RELAY_MAILER_ARGS', `TCP $h 25')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 25')
FEATURE(`authinfo',`hash /etc/mail/authinfo')dnl

in /etc/mail/authinfo I have put this line
AuthInfo:smtp.gnet.tn:25 "U:adel.essafi" "P:mypassword"  "M:LOGIN PLAIN"

However, when I send an email, I receiv an error message: authentification failed. Could you help please.
Regards
Adel

   ----- The following addresses had permanent fatal errors -----
<adel.safi@xxxxxxx>
    (reason: 553 <adel.essafi@xxxxxxx>: Sender address rejected: not logged in)

   ----- Transcript of session follows -----
... while talking to smtp.gnet.tn.:
>>> DATA
<<< 553 <adel.essafi@xxxxxxx>: Sender address rejected: not logged in
..........................................

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux