Operating System - HP-UX
1753789 Members
7594 Online
108799 Solutions
New Discussion юеВ

Re: sending mail to my exchange server

 
SOLVED
Go to solution
Jim Mickens
Frequent Advisor

Re: sending mail to my exchange server

Now for the next problem:
I tried testing the .forward file for forwarding to individual users' mailboxes, but it doesn't seem to want to work. As a test, I used the 'support' account and put my e-mail address in the /home/support/.forward file. Is there a specific way that file is supposed to be set up? Existing file:
# more /home/support/.forward
jmickens@mau.opinionresearch.com

I can send to this address directly, but when I send to the support account, it does not forward.
Thierry Poels_1
Honored Contributor

Re: sending mail to my exchange server

hi Jim,
next solution ;) :
check the .forward file's privileges, I believe it may/must only be read-only.
An other option is to use aliases; edit /etc/mail/aliases, add an alternative address for the concerning user, execute "newaliases" and bingo :)
good luck,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Richard Darling
Trusted Contributor

Re: sending mail to my exchange server

Hi Jim, I go it to work for me doing two things:
1) Adding an entry for my exchange server to my /etc/hosts file of my UNIX box:

192.168.100.5 server1 # NT Server 1

2) Edited my /etc/mail/sendmail.cf file:

# "Smart" relay host (may be null)
DSserver1

3) In Outlook added "Tools", "Rules", enter the user who will be sending mail from the UNIX box (ex. root@L1000), and apply the rule to forward it to the email address of the party that you want to receive it.

3) Test it using the command:
root:L1000>:sendmail -v rdarling@southwickclothing.com
test
"ctrl d" or a period "." on a blank line

Richard Darling
rdarling@southwickclothing.com
Richard Darling
Trusted Contributor

Re: sending mail to my exchange server

Sorry Jim,
I posted my reply on the wrong thread...please disregard.
RD
rdarling@southwickclothing.com
Jim Mickens
Frequent Advisor

Re: sending mail to my exchange server

I changed the .forward file to be read only, but it's still not forwarding. It is also owned by the appropriate account. I was trying to avoid using the alias file method so I didn't have to keep changing it with new users. That method does work, so I guess I don't have a choice.