- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail (how to avoid : with trailing dots to smt...
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
Forums
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
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
тАО06-19-2002 02:27 AM
тАО06-19-2002 02:27 AM
Have changed smtp server (other people are administrators to this server). Since the change we get this error : "501 5.5.4 Invalid Adress". I use sendmail -v to get this message on the screen. Using sendmail from a HP-UX 10.20 server (cant find our version of sendmail since swlist is not working....For my excuse i've been away from my job a couple of year's because i've got 2 children).....
Well, can i use sendmail.cf to send the ip-adress ore the hostname without hostname. *dot*???
Where does this dot come from (it is not defined in the hostfile, and is not a result of uname -a)?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2002 02:34 AM
тАО06-19-2002 02:34 AM
Re: sendmail (how to avoid : with trailing dots to smtp server)?
Are you running DNS ?. When does the error come ? . show me your mail address to which you
are mailing ?.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2002 02:44 AM
тАО06-19-2002 02:44 AM
Re: sendmail (how to avoid : with trailing dots to smtp server)?
We don't use DNS (forgot to mention that).
The error message occures whenever someone is trying to send to an internet adress like :
tove.myhre@telenor.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2002 02:56 AM
тАО06-19-2002 02:56 AM
Re: sendmail (how to avoid : with trailing dots to smtp server)?
That is the problem. If you mail to xxx@yyyy.com there should be one DNS server for yyyy.com giving MX record for yyyy.com.
In your case do this
in /etc/nsswitch.conf
hosts: files dns
in /etc/hosts
201.23.33.44 remote remote.yyyy.com
Now
#mail root@remote
( or )
#mail root@remote.yyyy.com
will send the mail to user root in your remote
machine.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2002 03:26 AM
тАО06-19-2002 03:26 AM
Re: sendmail (how to avoid : with trailing dots to smtp server)?
sending straight to an IP IS valid.
you can check your sendmail version by typing:
'echo quit | sendmail -bs'
you get an answer string like:
220
221
sendmail 8.x.x. relies heavily on DNS. if you are not the sendmail/smtp server admin, talk to them, on how to send mail in your domain.
if you do not have a domain set, you need to relay to a 'relay server', that is DNS aware, and/or knows a relay server that is.
the trailing dot is merely the autocompletion feature of sendmail, probaly set in sendmail.cf (Dj$w.)
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2002 03:35 AM
тАО06-19-2002 03:35 AM
Re: sendmail (how to avoid : with trailing dots to smtp server)?
And thanks for your reply U.SivaKumar!
I hawe changed in my hostfile (at the server which is trying to send mail's to internet adresses via an smtp relay server).
I've put in an alias hostname in DNS style:
(210.23.33.44 hostname hostname.mycompany.com)
The nsswitch file is ok.
And i get the same error......also after taking a restart of the sendmail process.
I can se that the same error message as before:
# sendmail -v tove.myhre@telenor.com
Helo you ....
!!!!!!!!!!!!!!!!!
tove.myhre@telenor.com... Connecting to smtp.mycompany.no via relay...
220 tns-208.corp.mycompany.no Microsoft ESMTP MAIL Service, Version: 5.0.2195.4453 ready at Thu, 13 Jun 2002 15:36:17 +0200
>>> EHLO hostname.
501 5.5.4 Invalid Address
>>> HELO hostname.
501 5.5.4 Invalid Address
>>> QUIT
221 2.0.0 tns-208.corp.mycompany.no Service closing transmission channel
tove.myhre@telenor.com... Service unavailable
/home/myuser/dead.letter... Saved message in /home/myuser/dead.letter
Closing connection to smtp.mycompany.no
#
Any more ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2002 04:00 AM
тАО06-19-2002 04:00 AM
Re: sendmail (how to avoid : with trailing dots to smtp server)?
Now i got my sendmail version (8.9.3)! waw!
>sendmail 8.x.x. relies heavily on DNS. if you >are not the sendmail/smtp server admin, talk t>o them, on how to send mail in your domain.
>if you do not have a domain set, you need to >relay to a 'relay server', that is DNS aware, >and/or knows a relay server that is.
Yes! The smtp server is also defined as relay server, and yes I'm not the smtp server admin. And i've been talking to the administrators there for a week now.....they have changed smtp server and so on. I've only changed name and adress in the hostfile + DSname in the sendmail.cf file
Hmm.........can i do anything about the (Dj$w.) ??
Well, I have to talk more I presume...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2002 09:26 AM
тАО06-19-2002 09:26 AM
SolutionWhat exactly does `sendmail -d0 -bv tove.myhre@telenor.com` report?
Without DNS the $j macro will be automatically set to the first name of the primary interface IP found in /etc/hosts.
Try reversing your list:
210.23.33.44 hostname.mycompany.com hostname
Or setting $j manually in /etc/mail/sendmail.cf:
Dj$w.mydomain.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2002 10:18 AM
тАО06-19-2002 10:18 AM
Re: sendmail (how to avoid : with trailing dots to smtp server)?
and try it again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2002 12:11 AM
тАО06-20-2002 12:11 AM
Re: sendmail (how to avoid : with trailing dots to smtp server)?
It didn't work to change in /etc/hosts strange!?! Mabe a boot could help?
But setting $j manually in sendmail.cf was the solution here! Thanks again!