- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: using .forward to forward mail
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
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
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
05-11-2005 11:53 PM
05-11-2005 11:53 PM
using .forward to forward mail
The .forward file looks like:
\unixuser
user@planet.nl
When an e-mail is send to the unixusers e-mailaddress the folowing entries are made in the sendmail logfile:
May 12 13:29:03 chinook sendmail[10822]: NAA10822: from=
May 12 13:29:04 chinook sendmail[10827]: NAA10822: to=\unixuser, delay=00:00:11,xdelay=00:00:01, mailer=local, stat=Sent
May 12 13:29:25 chinook sendmail[10827]: NAA10822: to=user@planet.nl, delay=00:00:32, xdelay=00:00:21, mailer=relay, relay=[192.168.109.119] [192.168.109.119], stat=Service unavailable
May 12 13:29:28 chinook sendmail[10827]: NAA10822: NAA10827: DSN: Service unavailable
The mail is not beeing forwarded.
What is wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 11:59 PM
05-11-2005 11:59 PM
Re: using .forward to forward mail
check if the mails are getting queued??
#mailq
check whether sendmail is running??
#ps -ef |grep sendmail
start sendmail by
#/sbin/init.d/sendmail start
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 12:07 AM
05-12-2005 12:07 AM
Re: using .forward to forward mail
You can also check whether the DS macro is configured in the sendmail.cf and that your 192.168.109.119 (possible relay ) is reachable(ping) from the server.
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 02:19 AM
05-12-2005 02:19 AM
Re: using .forward to forward mail
The only diferance I see is in a line where mail is send is the characters <> are on the beginning and on the end of the e-mailaddress where the mail is send to.
See example (I changed te e-mailddress).
May 12 16:13:49 chinook sendmail[18715]: QAA18713: to=
0:00:06, xdelay=00:00:06, mailer=relay, relay=[192.168.109.119] [192.168.109.119
], stat=Sent (Ok: queued as 2D7011E1401)
When the .forward is used these characters are missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 02:26 AM
05-12-2005 02:26 AM
Re: using .forward to forward mail
That message indicates that the relay server 192.168.109.119 is not permitting relay.
That server must explicitly permit the server with the .forward files to relay to it. The instructions for correcting this situation vary depending on what OS the relay server is running.
If it is a unix server, the /etc/mail/access file will need an entry like this:
IP_of_this_unix_server RELAY
Then it will need its sendmail configuration database updated. There is a hpux script for that posted at
http://www.hpux.ws/buildmail.hpux.text
This version is tested with sendmail 8.11 and hpux 11i v1.
A Linux version is available and I can develop a 8.13 sendmail version for HP-UX if needed.
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
05-12-2005 02:32 AM
05-12-2005 02:32 AM
Re: using .forward to forward mail
----- The following addresses had permanent fatal errors -----
"name@isp.nl"
(expanded from: unixuser)
----- Transcript of session follows -----
... while talking to [192.168.109.119]:
>>> RCPT To:
<<< 554
554 Service unavailable
Again I changed the real addresses.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 03:52 PM
05-12-2005 03:52 PM
Re: using .forward to forward mail
I beleive that the mails coming to name@isp.nl is coming to unixuser which is getting forwarded to user@planet.nl, right??
Can you check by sending a mail by loggin as unixuser to user@planet.nl??
If all goes well, its either the problem with .forward (delete and create it again) or with the settings on 192.168.109.119 which does a domain check for all the mails.
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 07:01 PM
05-16-2005 07:01 PM
Re: using .forward to forward mail
Thanx anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2005 07:05 PM
05-16-2005 07:05 PM