- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail Using authentication
Operating System - HP-UX
1820635
Members
1825
Online
109626
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 06:56 AM
тАО10-12-2009 06:56 AM
Sendmail Using authentication
Hi all,
Has anyone ever had to setup authentication with sendmail. I need to pass a userid and password to our relay server now whenever we send a mail.
Is this possible and if so how?
Regards
Boris
Has anyone ever had to setup authentication with sendmail. I need to pass a userid and password to our relay server now whenever we send a mail.
Is this possible and if so how?
Regards
Boris
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 07:41 AM
тАО10-12-2009 07:41 AM
Re: Sendmail Using authentication
Hi
I don't know if this is what you want, build :
Uncomment the following entries in the /etc/mail/sendmail.cf file:
C{TrustAuthMech}GSSAPI DIGEST-MD5 LOGIN PLAIN
O AuthMechanisms=GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
LOGIN PLAIN EXTERNAL
O DefaultAuthInfo=/etc/mail/default-auth-info
O AuthOptions=A
/etc/mail/default-auth-info file
AUTH related
If sendmail acts as client, it needs some information how to authenticate against another MTA. This information can be provided by the ruleset authinfo. The authinfo ruleset looks up {server_name} using the tag AuthInfo: in the access map. If no entry is found, {server_addr} is looked up in the same way and finally just the tag AuthInfo: to provide default values.
AuthInfo:other.dom "U:user" "I:user" "P:secret" "R:other.dom" "M:DIGEST-MD5"
AuthInfo:more.dom "U:user" "P=c2VjcmV0"
http://www.sendmail.org/~ca/email/sm-812.html
DefaultAuthInfo
Set filename that contains authentication information for outgoing connections. This file must contain the user id, the authorization id, the password (plain text), and the realm to use, each on a separate line and must be readable by root (or the trusted user) only. If no realm is specified, $j will be used.
http://docs.hp.com/en/5992-3190/5992-3190.pdf
But, this is for sendmail 8.13.3. So, you may have to upgrade to the latest sendmail.
I don't know if this is what you want, build :
Uncomment the following entries in the /etc/mail/sendmail.cf file:
C{TrustAuthMech}GSSAPI DIGEST-MD5 LOGIN PLAIN
O AuthMechanisms=GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
LOGIN PLAIN EXTERNAL
O DefaultAuthInfo=/etc/mail/default-auth-info
O AuthOptions=A
/etc/mail/default-auth-info file
AUTH related
If sendmail acts as client, it needs some information how to authenticate against another MTA. This information can be provided by the ruleset authinfo. The authinfo ruleset looks up {server_name} using the tag AuthInfo: in the access map. If no entry is found, {server_addr} is looked up in the same way and finally just the tag AuthInfo: to provide default values.
AuthInfo:other.dom "U:user" "I:user" "P:secret" "R:other.dom" "M:DIGEST-MD5"
AuthInfo:more.dom "U:user" "P=c2VjcmV0"
http://www.sendmail.org/~ca/email/sm-812.html
DefaultAuthInfo
Set filename that contains authentication information for outgoing connections. This file must contain the user id, the authorization id, the password (plain text), and the realm to use, each on a separate line and must be readable by root (or the trusted user) only. If no realm is specified, $j will be used.
http://docs.hp.com/en/5992-3190/5992-3190.pdf
But, this is for sendmail 8.13.3. So, you may have to upgrade to the latest sendmail.
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2009 09:29 AM
тАО10-12-2009 09:29 AM
Re: Sendmail Using authentication
Shalom Boris,
Previously posted procedures will work for any recent version of sendmail.
For security and usability reasons, its best before proceeding to download the latest sendmail depot from http://software.hp.com and install it.
SEP
Previously posted procedures will work for any recent version of sendmail.
For security and usability reasons, its best before proceeding to download the latest sendmail depot from http://software.hp.com and install it.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP