- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- domain name problems with sending mail with xmail
Operating System - HP-UX
1819872
Members
2722
Online
109607
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
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
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
03-05-2003 05:25 AM
03-05-2003 05:25 AM
domain name problems with sending mail with xmail
Hello,
On an existing config i first have changed the ip adres, hostname and domain. Therefore i changed the following files
/etc/rc.config.d/netconf
/etc/resolv.conf
/etc/hosts
i booted the system and everything looked fine and stil it is.
Second i have changed the relay server for the sendmail. I changed it from gateway.alh.nl too smtp003-almere.lpnl.aalh. The lpnl.aalh is the new domain name. When i now send an email to certain adresses i see something strange with the reciptients. I give here some samples:
...@test gives ...@test.alh.nl
...@alh.nl gives ...@alh.nl
...@test.lpnl gives ...@test.alh.nl
...@fake.fake2 gives ...@fake.fake2
...@test. gives ...@test
...@test.lpnl. gives ...@test.lpnl
In some reciptients i see my old domain name alh.nl. I can't find how the system do that. The trailing dot is something new to me too. I must mail to ...@test.lpnl and that i can only do whith a trailing dot after lpnl so the adres is ...@test.lpnl. (see above)
the output from an test with sendmail -v
# sendmail -v mail.ontvanger1@test.lpnl
this is a test
.
mail.ontvanger1@test.lpnl.... Connecting to smtp003-almere.lnpl.aalh. via relay...
220 smtp003.test.merlin ESMTP Service (Lotus Domino Release 5.0.9a) ready at Wed, 5 Mar 2003 13:36:40 +0100
>>> EHLO nllsp105.lpnl.aalh
250-smtp003.test.merlin Hello nllsp105.lpnl.aalh ([10.46.19.105]), pleased to meet you
250-HELP
250-SIZE
250 PIPELINING
>>> MAIL From: SIZE=29
250 ceeswiel@nllsp105.lpnl.aalh... Sender OK
>>> RCPT To:
250 mail.ontvanger1@test.alh.nl... Recipient OK
>>> DATA
354 Enter message, end with "." on a line by itself
>>> .
250 Message accepted for delivery
mail.ontvanger1@test.lpnl.... Sent (Message accepted for delivery)
Closing connection to smtp003-almere.lnpl.aalh.
>>> QUIT
221 smtp003.test.merlin SMTP Service closing transmission channel
Can anyone help me to explain this.
thank You
Cees Wielink
On an existing config i first have changed the ip adres, hostname and domain. Therefore i changed the following files
/etc/rc.config.d/netconf
/etc/resolv.conf
/etc/hosts
i booted the system and everything looked fine and stil it is.
Second i have changed the relay server for the sendmail. I changed it from gateway.alh.nl too smtp003-almere.lpnl.aalh. The lpnl.aalh is the new domain name. When i now send an email to certain adresses i see something strange with the reciptients. I give here some samples:
...@test gives ...@test.alh.nl
...@alh.nl gives ...@alh.nl
...@test.lpnl gives ...@test.alh.nl
...@fake.fake2 gives ...@fake.fake2
...@test. gives ...@test
...@test.lpnl. gives ...@test.lpnl
In some reciptients i see my old domain name alh.nl. I can't find how the system do that. The trailing dot is something new to me too. I must mail to ...@test.lpnl and that i can only do whith a trailing dot after lpnl so the adres is ...@test.lpnl. (see above)
the output from an test with sendmail -v
# sendmail -v mail.ontvanger1@test.lpnl
this is a test
.
mail.ontvanger1@test.lpnl.... Connecting to smtp003-almere.lnpl.aalh. via relay...
220 smtp003.test.merlin ESMTP Service (Lotus Domino Release 5.0.9a) ready at Wed, 5 Mar 2003 13:36:40 +0100
>>> EHLO nllsp105.lpnl.aalh
250-smtp003.test.merlin Hello nllsp105.lpnl.aalh ([10.46.19.105]), pleased to meet you
250-HELP
250-SIZE
250 PIPELINING
>>> MAIL From:
250 ceeswiel@nllsp105.lpnl.aalh... Sender OK
>>> RCPT To:
250 mail.ontvanger1@test.alh.nl... Recipient OK
>>> DATA
354 Enter message, end with "." on a line by itself
>>> .
250 Message accepted for delivery
mail.ontvanger1@test.lpnl.... Sent (Message accepted for delivery)
Closing connection to smtp003-almere.lnpl.aalh.
>>> QUIT
221 smtp003.test.merlin SMTP Service closing transmission channel
Can anyone help me to explain this.
thank You
Cees Wielink
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 06:07 AM
03-05-2003 06:07 AM
Re: domain name problems with sending mail with xmail
There are two ways to hard code the domain name into your outbound mail.
1) Make the hostname of the system fully qualified to a name that resolves on the public internet. System name schmo becomes schmo.mydomain.net You change the hostname entry in /etc/rc.config.d/netconf
2) You can change the Dj directive in /etc/sendmail.cf
Change # Dj....
to
Djmydomain.net
save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
This will probably solve your issue if I understand the post correctly.
SEP
1) Make the hostname of the system fully qualified to a name that resolves on the public internet. System name schmo becomes schmo.mydomain.net You change the hostname entry in /etc/rc.config.d/netconf
2) You can change the Dj directive in /etc/sendmail.cf
Change # Dj....
to
Djmydomain.net
save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
This will probably solve your issue if I understand the post correctly.
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