Re: More on /etc/aliases forwarding wrong user

Guy Fraser <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <[email protected]>
This may be simple.

I will guess that you have put otherdomain.dom in your 
/etc/mail/local-host-names file.
If you added {IIRC} a Cwotherdomain.dom to your /etc/mail/sendmail.cf, 
this would explain it as well.

If you are not using sendmail, I can't help you. I work for a large ISP 
and Qmail just can't handle our requirements.

Guy

Tom Rymes wrote:

> Well, so far the only progress I have made is determining that I 
> somehow opened up my mailserver as an open relay....ugh! That's solved 
> now, but still no movement on this issue as to forwarding.
>
> The plot thickens here, because it seems that sendmail thinks it 
> processing mail for both of my domains. (which it isn't. I have two 
> separate mail servers) Anyway, when I sent an email from a user on my 
> RedHat box to a user at my other domain, I get an undeliverable 
> message. The most intriguing part of which is:
>
>    ----- Transcript of session follows -----
> ... while talking to [127.0.0.1]:
>
> My RedHat machine thinks that my other domain is hosted at 127.0.0.1. 
> This is not the case, and is not a DNS issue, b/c everything works 
> fine at my other domain. I double checked /etc/hosts and there is no 
> errant entry there, and a quick grep of the sendmail.cf file reveals 
> no otherdomain.dom entries there. Any ideas here?
>
> To recap, any mail forwarded to [email protected] is actually 
> delivered to [email protected]. If I send mail from the 
> RedHat machine to a [email protected] and that username does 
> not exist on the redhat machine, the mail fails to be delivered. If 
> the username does exist locally, then it is delivered to the redhat 
> machine, NOT the other domain's mailserver. Obviously I screwed 
> somethign up here by accidentally keying my other domain name on the 
> redhat machine. however, I have no idea where that would be....
>
> Thank you for any info, or tips as to where I should look for help...
>
> Tom
>
>


-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.