- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail unknown user error
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
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
тАО10-25-2005 12:22 PM
тАО10-25-2005 12:22 PM
sendmail unknown user error
When I try to send email to a local user I receive the following error:
joxley@ppiwholesale.com... User unknown
/dead.letter... Saved message in /dead.letter
I can send email from the HP9000 to external people OK. I have the /etc/mail/sendmail.cf 'Dj' set to 'Dj$wwholesale.com', without this setting my external people do not get their email.
I think part of our problem is that my logon name is jimo but my email address is joxley.
All I what to do is send email to our internet email server. It looks like our HP9000 is trying to lookup my email address as a local user. I tried setting up an aliases and adding my email address to the /etc/passwd file but with both I was not able to send email to our internet email server.
Is there anyway to disable the user lookup of local users and just send the email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-25-2005 03:32 PM
тАО10-25-2005 03:32 PM
Re: sendmail unknown user error
refer to this:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080361370
regards.
(p.s. please remember to assign points.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:28 AM
тАО10-26-2005 06:28 AM
Re: sendmail unknown user error
As I said above in the file
/etc/mail/sendmail.cf 'Dj' set to 'Dj$wwholesale.com' and 'DS' is null
I do not want to relay the email, I just want to send it to the person I'm sending it to.
If I send an email to someone not on ppiwholesale.com the email gets sent without any problems.
The host that I am sending the email from is not 'ppiwholesale.com'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 06:49 AM
тАО10-26-2005 06:49 AM
Re: sendmail unknown user error
There are a few ways to do it.
1) There can be a local user on the Unix machine. The problem there is that won't get it off the Unix machine.
2) You can in essence forward the mail with the virtuertable
Example:
someone@your.net someone@hostnameofsbs.net
this will actually push the mail off the unix server onto the hostname in the right hand entry, separated by a tab.
The receiving server must be explicitly set up to allow relay from the Unix box.
You need not relay everything with the DS directive, though this would be effective.
Basically when your sendmail picks up someone@your.net it will push the mail to someone@hostnameofsbs.net
Try it with one user
then:
sendmail -v -d8.99 -d38.99 someone@your.net
You will see in verbose format the mail being pushed out of the queue to the target server.
Any errors should be obvious to see and correct.
virtusertables can be generated with by script even from the Windows SBS server if it uses LDAP or ADS.
example for your user
jimo joxley@hostnamesbs.net
I can become more verbose, ask anyone, but will stop here.
For more see http://www.sendmail.org
If you post back, I'll follow if you wish.
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
тАО10-26-2005 08:43 AM
тАО10-26-2005 08:43 AM
Re: sendmail unknown user error
sendmail -v -d8.99 -d38.99 myname
I received an error saying 8.99 Unknown User, 38.99 Unknown User.
Should I chasnge the domain name I have in
/etc/mail/sendmail.cf 'Dj' to something else. I have tried some other domains but they did not work.
or
Is there a domin I can enter to the 'DS' setting that will relay my email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 08:59 AM
тАО10-26-2005 08:59 AM
Re: sendmail unknown user error
No, DS will only accept the name of a relay server. So unless you have an in-house mail server you can forward to, you'll not be able to send mail to any address @ppiwholesale.com, and you'll only be able to send mail to users Login IDs that have been setup on the HP box.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2005 04:25 PM
тАО10-26-2005 04:25 PM
Re: sendmail unknown user error
you are the defining it as a local domain and I guess the SBS comes under the same domain. That's why you could able to send mails to wholesale.com domain users through DNS.
Dj macro should have been 'Dj$w.wholesale.com'
You are trying to send mail to a user on the ppiwholesale.com domain which the system couldn't find its reference either from DNS or in /etc/hosts ( if defined ). In this case , sendmail will attempt local delivery of the mail. But there has to be an account for the user on the system. In you case , even you have local account user account , it is still unknown to sendmail and it giving error with dead letter ( maybe problem with alias "joxley"). You should either test this with actual user name ( or proper alias) and define your domain ppiwholesale.com in the /etc/hosts file or in DNS . Be aware you need to check for nsswitch.conf file to use /etc/hosts file.
There is a way to define local domain 'ppiwholesale.com' using Dm and Dj macro which send every mail in that domain directly ( without relaying ) and then you can define a DS macro for the SBS which would get relayed mails other than your local domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2005 05:15 AM
тАО10-27-2005 05:15 AM
Re: sendmail unknown user error
If I have /etc/mail/sendmail.cf 'Dj' set to anything other then 'Dj$wwholesale.com' anyone not in our domain do not receive their email.