- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Send email to external server
Operating System - HP-UX
1755700
Members
3366
Online
108837
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
Forums
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
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
тАО06-09-2010 04:31 AM
тАО06-09-2010 04:31 AM
Send email to external server
I'm trying send a email from HP-UX to the internal mail server, but no success.
I set the /etc/hosts file the name of server and internal IP like
192.168.0.1 www.company.com.br
I set the /etc/hosts file the name of server and internal IP like
192.168.0.1 www.company.com.br
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2010 08:19 AM
тАО06-09-2010 08:19 AM
Re: Send email to external server
Hi Rafael:
Configure the "smart relay" macro in '/etc/mail/sendmail.cf'. Make sure that your DNS works and you should be able to do:
# mailx -s "Hello!" rafael@company.com.br < /dev/null
The 'DS' macro should look something like this:
DSexchange.company.com.br
Regards!
...JRF...
Configure the "smart relay" macro in '/etc/mail/sendmail.cf'. Make sure that your DNS works and you should be able to do:
# mailx -s "Hello!" rafael@company.com.br < /dev/null
The 'DS' macro should look something like this:
DSexchange.company.com.br
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2010 09:23 AM
тАО06-09-2010 09:23 AM
Re: Send email to external server
> I'm trying send a email [...]
_How_, exactly? As usual, showing actual
commands with their actual output can be more
helpful than vague descriptions and
interpretations.
> [...] but no success.
Not a very useful description.
> [...] name of server [...]
Is that the "internal mail server"?
Are you running sendmail on the HP-UX system?
_How_, exactly? As usual, showing actual
commands with their actual output can be more
helpful than vague descriptions and
interpretations.
> [...] but no success.
Not a very useful description.
> [...] name of server [...]
Is that the "internal mail server"?
Are you running sendmail on the HP-UX system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2010 10:06 PM
тАО08-03-2010 10:06 PM
Re: Send email to external server
Hi,
First update the /etc/hosts
host_ip hostname hostname
smart-relay_ip relay fqdn relayfqdn
then edit /etc/mail/sendmail.cf
Dj$w.
DS
uncomment the line
# R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
Edit /etc/mail/sendmail.cw
add host name of the server.
Edit /usr/newconfig/etc/mail/submit.cf
DS
Create a new group smmsp with gid 25
Create a new user smmsp with uid 25 and primary group as smmsp
make a dir /var/spool/clientmqueue
change the ownership to smmsp
restart send mail daemon and test
echo test | sendmail -v user@domain.com
First update the /etc/hosts
host_ip hostname hostname
smart-relay_ip relay fqdn relayfqdn
then edit /etc/mail/sendmail.cf
Dj$w.
DS
uncomment the line
# R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?
Edit /etc/mail/sendmail.cw
add host name of the server.
Edit /usr/newconfig/etc/mail/submit.cf
DS
Create a new group smmsp with gid 25
Create a new user smmsp with uid 25 and primary group as smmsp
make a dir /var/spool/clientmqueue
change the ownership to smmsp
restart send mail daemon and test
echo test | sendmail -v user@domain.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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP