- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail Setup
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
Discussions
Forums
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
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
тАО01-21-2010 01:59 PM
тАО01-21-2010 01:59 PM
Sendmail Setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 02:09 PM
тАО01-21-2010 02:09 PM
Re: Sendmail Setup
one way to configure sendmail is to send all email to a smart relay. ( e.g. set DS macro in sendmail.cf ) this forwards everthing thing.
if you send an email to joe@mycompany.com then joe must have a mailbox on mycompany.com
( your error suggests that this user does not )
There a many ways to configure sendmail... provide the examples and maybe we can make some suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2010 09:50 PM
тАО01-21-2010 09:50 PM
Re: Sendmail Setup
Check and see if you have this entry for localhost or something similar in your /etc/hosts.
127.0.0.1 localhost loopback
If not, try to add it and see if it fixes your issue.
Hope this helps.
Regds
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 07:11 AM
тАО01-22-2010 07:11 AM
Re: Sendmail Setup
/etc/mail/sendmail.cf
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
DjMyCompany.com
# "Smart" relay host (may be null)
#DS
DSexch01.coent.MyCompany.com
Output from Sendmail call:
User1Fname.User1Lname@MyCompany.com... User unknown
UserMain... forward: /home/UserMain/.forward.ServerA+: World writable directory
UserMain... forward: /home/UserMain/.forward+: World writable directory
UserMain... forward: /home/UserMain/.forward.ServerA: World writable directory
UserMain... forward: /home/UserMain/.forward: World writable directory
/home/UserMain/dead.letter... Saved message in /home/UserMain/dead.letter
User2Fname.User2Lname@outside.com... Connecting to exch01.coent.MyCompany.com. via relay...
220 exch01.coent.MyCompany.com Microsoft ESMTP MAIL Service ready at Fri, 22 Jan 2010 08:48:37 -0600
>>> EHLO MyCompany.com
250-exch01.coent.MyCompany.com Hello [xxx.xxx.xxx.10]
250-SIZE 10485760
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250 XEXCH50
>>> MAIL From:
250 2.1.0 Sender OK
>>> RCPT To:
250 2.1.5 Recipient OK
>>> DATA
354 Start mail input; end with
>>> .
250 2.6.0 <201001221450.IAA04364@MyCompany.com> Queued mail for delivery
User2Fname.User2Lname@outside.com... Sent (2.6.0 <201001221450.IAA04364@MyCompany.com> Queued mail for delivery)
Closing connection to exch01.coent.MyCompany.com.
>>> QUIT
/etc/hosts
127.0.0.1 localhost loopback
xxx.xxx.xxx.10 ServerA
xxx.xxx.xxx.11 ServerB
xxx.xxx.xxx.185 exch01.coent.MyCompany.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2010 09:50 AM
тАО01-22-2010 09:50 AM
Re: Sendmail Setup
Exchange servers require setup to relay mail. You have to have the exchange administrator authorize mail relay by IP address.
I've done this, its a very confusing GUI, not straightforward.
Once this is done, you mail will forward.
You may have additional issues and need to set up sendmail to use your internal domain name.
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
тАО01-24-2010 08:21 PM
тАО01-24-2010 08:21 PM
Re: Sendmail Setup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 08:00 PM
тАО02-01-2010 08:00 PM
Re: Sendmail Setup
> DjMyCompany.com
That means your local system is expected to process any email going to that domain. And your output shows that:
>User1Fname.User1Lname@MyCompany.com... User unknown
I doubt that you have a login ID on your system of User1Fname.User1Lname. Therefore, it fails.
The default for $j macro is the fully qualified canonical name of your local host, which would be ServerA.MyCompany.com.
Sendmail automatically defines it, unless you override it (as you did).
I hope this helps.