- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Send email using other domain
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
08-03-2011 08:26 PM
08-03-2011 08:26 PM
Hi Gurus,
We have configured sendmail in our system (HP-UX 11.11). However one user ask whether the system (hostname:mambo1) can send email with different user id (no-reply) and different domain (domainworld.com). I've configured at sendmail.cf along with userdb.db for represent the user id to other name. But for sending email with different domain, I cannot resolve the issue. I've edited masquerade entry at sendmail.cf as below:
DMdomainword.com
When I try to send one email, it shows error as below:
Solved! Go to Solution.
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2011 05:34 AM
08-04-2011 05:34 AM
SolutionYour sendmail is trying to send your test message to smtp.ulala.net, which is apparently an alias name for smtp2.ulala.com. When your sendmail is starting to send the message content, smtp2.ulala.com apparently runs some anti-relaying checks. Apparently as far as smtp2.ulala.com knows, domainworld, com is not part of the organization smtp2.ulala.com belongs to. So it looks like an "outsider" sender user1@domainworld.com is trying to send mail to an "outsider" recipient. This is not allowed by smtp2.ulala.com's anti-relaying rules, so it rejects the mail with a permanent (5xx) error code.
To make this work, the email administrator of smtp2.ulala.com would have to configure smtp2.ulala.com to allow user1@domainworld.com to relay mail through it. Apparently relaying is currently allowed for your normal usernames/domain only.
In general, the anti-relaying rules usually work like this:
- anyone can connect to the mail server owned by organization X, but they can only use it to send mail to members of organization X
- members of organization X can use their organization's mail server to send mail to any recipient in the world
- the mail server can identify the members of its own organization by various ways: the simplest is to verify that the request comes from the organization's in-house network, but authentication can be used for that too. The "250-AUTH PLAIN CRAM-MD5 DIGEST-MD5 LOGIN" line lists the authentication schemes supported by smtp2.ulala.com.
If smtp2.ulala.com is configured to relax its relaying restrictions when the user is authenticated and you have the necessary username&password, you might be able to configure your sendmail to use authentication when communicating with smtp2.ulala.com. See http://www.sendmail.org/~ca/email/auth.html, chapter "Using sendmail as a client with AUTH". Note that this may require generating a new sendmail.mc file; on HP-UX, the tools for that are available in /usr/newconfig/etc/mail/cf, and a special HP-UX template .mc file should be used as a base.
NOTE: although this is not quite the "sendmail wizardry" of the old days, this qualifies as a rather advanced Sendmail configuration, and may not be supported by HP.
The template .mc file for the standard HP-UX sendmail.cf is at /usr/newconfig/etc/mail/cf/cf/generic-hpux10.mc. See the HP-UX specific instructions in /usr/newconfig/etc/mail/cf/README.hpux10 file. (Yes; at least on HP-UX 11.23, this documentation is essentially unchanged from the times of HP-UX 10.xx).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2011 12:04 PM
08-04-2011 12:04 PM
Re: Send email using other domain
Shalom,
The user does not exist on the domain.
You are either not really accessing the domain or using an invalid user.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2011 02:14 PM
08-04-2011 02:14 PM
Re: Send email using other domain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2011 07:49 PM
08-05-2011 07:49 PM
Re: Send email using other domain
Thanks Matti for your details explanation :) I really2x appreciate it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2011 07:55 PM
08-05-2011 07:55 PM
Re: Send email using other domain
It just a example, Steven Schweda. Why should I put real information here as long as the point is understand by others? Anway I've already get the answer from Matti who understand my situation :)