1836539 Members
2154 Online
110102 Solutions
New Discussion

.forward doesn't work.

 
Supportdesk_3
Advisor

.forward doesn't work.

Hi Everyone,

I've got a problem which has kept me busy for a while now.

the setup I'm using is a system with HP-UX 11.11 and Sendmail 8.11.1. The Smart relay host set up.

If I send a mail to an external adres, wim_blom_@hotmail.com, directly it is forwarded to my smart relay and it arrives.

If I use a local account with a .forward file I see it's send to my smart relay as if it is send, but it never arrives.

Also using a alias in the aliases database of sendmail gives the same result as a .forward file.

I've checked sending from the local user and I can send to the external account.

I also checked the file permissions and only the user has write access on the file and the directory.

So any thought?

Thanks in advance.

Wim Blom
6 REPLIES 6
Elmar P. Kolkman
Honored Contributor

Re: .forward doesn't work.

From which account did you sent the mail?
For instance, if the .forward is for the user wblom and you send the mail to wblom, it might be that the .forward contains the right line (wim_blom_@hotmail.com), but if I would write a SPAM detector, I would block it, because the to and from are the same ... So perhaps that's the reason for the mail not arriving. To check that, make sure the sending user is NOT the receiving one. You could check this by using an alias for a name that's not a unix-user.
Every problem has at least one solution. Only some solutions are harder to find.
Supportdesk_3
Advisor

Re: .forward doesn't work.

Hi Elmar,

I've tried it and a completly different name and forward address, gives the same result.

Cheers,

Wim
Gerhard Roets
Esteemed Contributor

Re: .forward doesn't work.

Hi Wim

You should look at the files permissions. It should be very restrivtive.

Im not in front of my machine right now but lemme try to remember off hand.

Only the owner must be allowed to modify it. No execute permission. Reading I would add one owner -> group -> other. With each subsequent attempt.

See if that helps you.

Regards
Gerhard
Supportdesk_3
Advisor

Re: .forward doesn't work.

I've already checked them and if I check my mail.log I see it's send. But it never arrives. Checking my smart relay is no option, I have no access. So before I drop the problem on them, I want to rule out everything on my side.

Cheers,

Wim
Fred Ruffet
Honored Contributor

Re: .forward doesn't work.

What are values for this fields in sendmail.cf file ?
CL
CE
DM

They deal with masquerading. CE and CL can prevent masquerading for some adresses, and mails will come from your host. If the server+domain does not resolve on SMTP servers and clients, mail will be stopped.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Supportdesk_3
Advisor

Re: .forward doesn't work.

Thanks for the input and I gave all respondents 2 points. The problem is still not solved, but the problem is the exchange 5.0!!!! server wich does the relaying.

Still fighting with the exchange admin to find a solution.

Regards,

Wim Blom