HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail Relay
Operating System - HP-UX
1836465
Members
2456
Online
110101
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
Forums
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
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
11-02-2004 03:37 PM
11-02-2004 03:37 PM
sendmail Relay
Hi,
I'm confusing about the sendmail relay. I intended to send mail (as root) to my local user in the same machine but it goes to other workstation. Could I reconfigure for:-
1. The workstation when received mail then deliver back mail to user in my machine.
br,
Munawwar
Here is the result that I got:-
sdp2:root> sendmail -v -d8.99 -d38.99 snapadm@sdp2.foo.com
seq_map_parse(aliases.files, )
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
getcanonname(sdp2.foo.com), trying files
text_getcanonname(sdp2.foo.com)
getcanonname(sdp2.foo.com), found
seq_map_lookup(aliases, snapadm)
seq_map_lookup(aliases.files, snapadm)
impl_map_lookup(Alias0, snapadm)
db_map_lookup(Alias0, snapadm)
snapadm@sdp2.foo.com... aliased to root@sdp_ws1
getcanonname(sdp_ws1), trying files
text_getcanonname(sdp_ws1)
getcanonname(sdp_ws1.foo.com), found
seq_map_lookup(aliases, owner-snapadm)
seq_map_lookup(aliases.files, owner-snapadm)
impl_map_lookup(Alias0, owner-snapadm)
db_map_lookup(Alias0, owner-snapadm)
MUNAWWAR HERE
.
getmxrr(sdp_ws1.foo.com., droplocalhost=1)
root@sdp_ws1... Connecting to sdp_ws1.foo.com. via esmtp...
220 sdp_ws1.foo.com ESMTP Sendmail 8.9.3 (PHNE_18546)/8.8.6; Wed, 3 Nov 2004 11:21:25 -0700 (MST)
>>> EHLO sdp2.foo.com
250-sdp_ws1.foo.com Hello sdp2x [190.254.132.112], pleased to meet you
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From: SIZE=14
250... Sender ok
>>> RCPT To:
250... Recipient ok
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 LAA09661 Message accepted for delivery
root@sdp_ws1... Sent (LAA09661 Message accepted for delivery)
Closing connection to sdp_ws1.foo.com.
>>> QUIT
221 sdp_ws1.foo.com closing connection
I'm confusing about the sendmail relay. I intended to send mail (as root) to my local user in the same machine but it goes to other workstation. Could I reconfigure for:-
1. The workstation when received mail then deliver back mail to user in my machine.
br,
Munawwar
Here is the result that I got:-
sdp2:root> sendmail -v -d8.99 -d38.99 snapadm@sdp2.foo.com
seq_map_parse(aliases.files, )
map_init(sequence:aliases.files, NULL, 0)
sequence:aliases.files NULL: valid
map_init(implicit:Alias0, /etc/mail/aliases, 0)
impl_map_open(Alias0, /etc/mail/aliases, 0)
hash_map_open(Alias0, /etc/mail/aliases, 0)
impl_map_lookup(Alias0, @)
db_map_lookup(Alias0, @)
implicit:Alias0 /etc/mail/aliases: valid
map_init(host:host, NULL, 0)
host:host NULL: valid
map_init(switch:aliases, aliases, 0)
switch_map_open(aliases, aliases, 0)
switch_map_find => 1
files
map_stack[0] = sequence:aliases.files
switch:aliases aliases: valid
map_init(dequote:dequote, NULL, 0)
dequote:dequote NULL: valid
getcanonname(sdp2.foo.com), trying files
text_getcanonname(sdp2.foo.com)
getcanonname(sdp2.foo.com), found
seq_map_lookup(aliases, snapadm)
seq_map_lookup(aliases.files, snapadm)
impl_map_lookup(Alias0, snapadm)
db_map_lookup(Alias0, snapadm)
snapadm@sdp2.foo.com... aliased to root@sdp_ws1
getcanonname(sdp_ws1), trying files
text_getcanonname(sdp_ws1)
getcanonname(sdp_ws1.foo.com), found
seq_map_lookup(aliases, owner-snapadm)
seq_map_lookup(aliases.files, owner-snapadm)
impl_map_lookup(Alias0, owner-snapadm)
db_map_lookup(Alias0, owner-snapadm)
MUNAWWAR HERE
.
getmxrr(sdp_ws1.foo.com., droplocalhost=1)
root@sdp_ws1... Connecting to sdp_ws1.foo.com. via esmtp...
220 sdp_ws1.foo.com ESMTP Sendmail 8.9.3 (PHNE_18546)/8.8.6; Wed, 3 Nov 2004 11:21:25 -0700 (MST)
>>> EHLO sdp2.foo.com
250-sdp_ws1.foo.com Hello sdp2x [190.254.132.112], pleased to meet you
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ONEX
250-ETRN
250-XUSR
250 HELP
>>> MAIL From:
250
>>> RCPT To:
250
>>> DATA
354 Enter mail, end with "." on a line by itself
>>> .
250 LAA09661 Message accepted for delivery
root@sdp_ws1... Sent (LAA09661 Message accepted for delivery)
Closing connection to sdp_ws1.foo.com.
>>> QUIT
221 sdp_ws1.foo.com closing connection
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2004 11:38 PM
11-03-2004 11:38 PM
Re: sendmail Relay
Ahmad,
Check your /etc/mail/sendmail.cw and make sure all the names your system might be known as are listed.
The /etc/mail/sendmail.cw file should contain an entry for all the possible names by which this system might be known. This will allow sendmail to determine whether or not local mail should be accepted by this system. The file should contain one line each for the FQDN, the hostname alone, and 'localhost.' The hostname entries should match exactly the hostname in /etc/hosts
Check your /etc/mail/sendmail.cw and make sure all the names your system might be known as are listed.
The /etc/mail/sendmail.cw file should contain an entry for all the possible names by which this system might be known. This will allow sendmail to determine whether or not local mail should be accepted by this system. The file should contain one line each for the FQDN, the hostname alone, and 'localhost.' The hostname entries should match exactly the hostname in /etc/hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 02:42 AM
11-04-2004 02:42 AM
Re: sendmail Relay
Looks like you may have sendmail aliases setup :-
snapadm@sdp2.foo.com... aliased to root@sdp_ws1
Edit /etc/mail/aliases and remove the entry for snapadm@sdp2.foo.com
Stop and start sendmail
snapadm@sdp2.foo.com... aliased to root@sdp_ws1
Edit /etc/mail/aliases and remove the entry for snapadm@sdp2.foo.com
Stop and start sendmail
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP