There are two things. 1. The MX record for mydomain.com must point to your
linux server. 2. The mail server has to be configured to accept mail for
that mydomain.com. Check your config files and make sure it's set right.

Here are some sites I found that can help:
http://www.wikihow.com/Configure-Sendmail
http://www.linuxselfhelp.com/quick/sendmail.html
http://www.faqs.org/docs/linux_network/x-087-2-sendmail.html

Jeremiah E. Bess
Network Ninja, Penguin Geek, Father of four


On Sun, May 31, 2009 at 10:55, Jibz <[email protected]> wrote:

> the Addresses are different. But the mails sent from other email servers
> like gmail and yahoo are being delivered to my linux server even if its *
> [email protected]* or my *[email protected]*
>
> but for this its happening for mail.domain.
>
> how do i change the id from mail.mydoamin.com to mydomain.com for my
> users?
>
>
> On Sun, May 31, 2009 at 10:06 PM, Jibz <[email protected]> wrote:
>
>> how do i do that? You have not mentioned before....
>>
>>
>> On Sun, May 31, 2009 at 9:54 PM, Jeremiah Bess 
>> <[email protected]>wrote:
>>
>>> So is the 92.242.132.2 the address for your linux mail server? You can
>>> use the telnet trick I posted earlier to check functionality.
>>>
>>> Jeremiah E. Bess
>>> Network Ninja, Penguin Geek, Father of four
>>>
>>>
>>> On Sun, May 31, 2009 at 10:15, Jibz <[email protected]> wrote:
>>>
>>>>
>>>> Name:    mx.mydomain.com
>>>> Address:  92.242.132.2
>>>>
>>>>
>>>> On Sun, May 31, 2009 at 9:40 PM, Jeremiah Bess <[email protected]
>>>> > wrote:
>>>>
>>>>> From a machine other than your linux mail server, type this at a
>>>>> command prompt:
>>>>>
>>>>> nslookup -type=mx mydomain.com
>>>>>
>>>>> post the results here
>>>>>
>>>>> Jeremiah E. Bess
>>>>> Network Ninja, Penguin Geek, Father of four
>>>>>
>>>>>
>>>>> On Sun, May 31, 2009 at 10:06, Jibz <[email protected]> wrote:
>>>>>
>>>>>> maybe i'm being too foolish.....  how do i find that???
>>>>>>
>>>>>>
>>>>>> On Sun, May 31, 2009 at 9:34 PM, Jeremiah Bess <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> The MX record that points to mydomain.com
>>>>>>>
>>>>>>> Jeremiah E. Bess
>>>>>>> Network Ninja, Penguin Geek, Father of four
>>>>>>>
>>>>>>>
>>>>>>> On Sun, May 31, 2009 at 10:03, Jibz <[email protected]> wrote:
>>>>>>>
>>>>>>>> MX record of my linux server or the windows exchange server?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, May 31, 2009 at 9:29 PM, Jeremiah Bess <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> What does your MX record point to?
>>>>>>>>>
>>>>>>>>> Jeremiah E. Bess
>>>>>>>>> Network Ninja, Penguin Geek, Father of four
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Sun, May 31, 2009 at 09:56, Jibz <[email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> hey!!! thanks!! that did a great help
>>>>>>>>>>
>>>>>>>>>> but i have a small issue pending...
>>>>>>>>>>
>>>>>>>>>> the mails if i send to *[email protected]* are being
>>>>>>>>>> delivered, but the ones to *[email protected]* are not.
>>>>>>>>>>
>>>>>>>>>> why could it be so???
>>>>>>>>>>
>>>>>>>>>> mails being send from my server are being received as *
>>>>>>>>>> [email protected]*.
>>>>>>>>>>
>>>>>>>>>> how do i change it to *[email protected]*??
>>>>>>>>>>
>>>>>>>>>> where do i define my domain???
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sun, May 31, 2009 at 9:25 AM, Jeremiah Bess <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> I'm not an exchange guy, so I can't help much in that area. Is
>>>>>>>>>>> there any reason why you have to use the exchange server as a relay?
>>>>>>>>>>>
>>>>>>>>>>> Jeremiah E. Bess
>>>>>>>>>>> Network Ninja, Penguin Geek, Father of four
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Sat, May 30, 2009 at 21:28, Jibz <[email protected]>wrote:
>>>>>>>>>>>
>>>>>>>>>>>>  Is there any way i can tell my mail server to not to deny that
>>>>>>>>>>>> IP? Can i change the configuration not to check for relay?
>>>>>>>>>>>>
>>>>>>>>>>>> On Sun, May 31, 2009 at 2:48 AM, Jeremiah Bess <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> This is because your internet address does not reverse map to
>>>>>>>>>>>>> the DNS domain you are sending from. You need to set your 
>>>>>>>>>>>>> external DNS to
>>>>>>>>>>>>> use your NATed address, or use a dynamic DNS hosting service like 
>>>>>>>>>>>>> dnydns or
>>>>>>>>>>>>> no-ip.com.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Basically, when you go to iptools.com and do a MX lookup for
>>>>>>>>>>>>> yourdomain.com, it should show the internet address of your
>>>>>>>>>>>>> ISP modem. Additionally, your IP should reverse map to
>>>>>>>>>>>>> yourdomain.com.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Jeremiah E. Bess
>>>>>>>>>>>>> Network Ninja, Penguin Geek, Father of four
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sat, May 30, 2009 at 12:10, Jibz <[email protected]>wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have setup a mail server on CentOS 5
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> sendmail-8.13
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm able to sent and receive mails from yahoo and gmail.
>>>>>>>>>>>>>> I've another microsoft exchange server on the same network.
>>>>>>>>>>>>>> Mails sent from that server to my mail server gets bounced.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I got this error in /var/log/mail
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> *May 30 22:11:24 myhostname sendmail[31981]: n4UGfO5L031981:
>>>>>>>>>>>>>> ruleset=check_rcpt, arg1=<[email protected]>, relay=
>>>>>>>>>>>>>> mx1.exchangeserver.com[public IP of exchange server] (may be
>>>>>>>>>>>>>> forged), reject=550 5.7.1 <[email protected]>...
>>>>>>>>>>>>>> Relaying denied. IP name possibly forged [public IP of exchange 
>>>>>>>>>>>>>> server]
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> May 30 22:11:24 myhostname sendmail[31981]: n4UGfO5L031981:
>>>>>>>>>>>>>> from=<usern...@exchangeserver>, size=0, class=0, nrcpts=0,
>>>>>>>>>>>>>> proto=SMTP, daemon=MTA, relay=mx1.exchangeserver.com [public
>>>>>>>>>>>>>> IP of exchange server] (may be forged)*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> As the exchange server is in my network if you do a lookup for
>>>>>>>>>>>>>> the domain name of that server you will get the local IP only.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> So i changed the entry of my /etc/hosts file
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> and added
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> <PUBLIC IP>  <exchangeserver.com>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Now still the mails bounces but a different error
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> *May 30 22:42:10 myhostname sendmail[32645]: n4UHCASl032645:
>>>>>>>>>>>>>> ruleset=check_rcpt, arg1=<[email protected]>,
>>>>>>>>>>>>>> relay=mail.exchangeserverom [public IP of exchange server], 
>>>>>>>>>>>>>> reject=550 5.7.1
>>>>>>>>>>>>>> <[email protected]>... Relaying denied
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> May 30 22:42:10 myhostname sendmail[32645]: n4UHCASl032645:
>>>>>>>>>>>>>> from=<usern...@exchangeserver>, size=0, class=0, nrcpts=0,
>>>>>>>>>>>>>> proto=SMTP, daemon=MTA, relay=mail.exchangeserver[public IP of 
>>>>>>>>>>>>>> exchange
>>>>>>>>>>>>>> server]*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please help me out!!!!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> "The will of God will never take you where the Grace of God will
>>>>>>>>>>>> not protect you."
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> "The will of God will never take you where the Grace of God will
>>>>>>>>>> not protect you."
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> "The will of God will never take you where the Grace of God will not
>>>>>>>> protect you."
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> "The will of God will never take you where the Grace of God will not
>>>>>> protect you."
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> "The will of God will never take you where the Grace of God will not
>>>> protect you."
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>> --
>> "The will of God will never take you where the Grace of God will not
>> protect you."
>>
>
>
>
> --
> "The will of God will never take you where the Grace of God will not
> protect you."
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to