Ok, what am I doing wrong. My boss thinks that maybe procmail isn't working. I don't 
know anything about setting up mail in Linux - hope someone who does can help out here.

On this box is a shell account with the username admin. so I should be able to send 
mail to admin@[this box's hostname] right?


Here's a sample of a test mail I send:
__________________________________________________________
To: [EMAIL PROTECTED]
From: Mail Administrator<[EMAIL PROTECTED]>
Reply-To: Mail Administrator<[EMAIL PROTECTED]>
Subject: Mail System Error - Returned Mail
Date: Sun, 24 Sep 2000 19:49:16 -0500
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/mixed;
                Boundary="===========================_ _= 2637023(714)"
Content-Transfer-Encoding: 7BIT

This Message was undeliverable due to the following reason:

Each of the following recipients was rejected by a remote mail server.
The reasons given by the server are included to help you determine why
each recipient was rejected. 

    Recipient: <[EMAIL PROTECTED]>
    Reason:    <[EMAIL PROTECTED]>... Relaying denied
_________________________________________________________
csc001.claborn.net is our NT pop3 server. I know it works, we use it every day. 
apparently, however, the Linux box will not accept mail from it. (servicemail123.com 
is the new domain we bought for the Linux box. The MX record points to 
mail.servicemail123.com , and mail.servicemail123.com is what I put in 
/etc/sendmail.cw - does that sound right?

What thing is responsible for receiving incoming mail and putting it in local user's 
mailboxes - sendmail or procmail or what?

        JW


At 07:46 PM 9/24/2000 -0500, you wrote:
>Ooops I said that wrong. I havn't edited /etc/sendmail.cf at all - only 
>/etc/sendmail.cw
>
>At 07:36 PM 9/24/2000 -0500, you wrote:
>>At 10:17 PM 9/23/2000 -0700, you wrote:
>>> That's all controlled by macros, so look at the *mc file your using to build 
>sendmail.cf.
>>
>>Um.... sure hate to sound stupid, but what "*mc" file? I was editing 
>/etc/sendmail.cf by hand - is that a bad thing to do?
>>
>>
>>
>>>-- Rob
>>>
>>>
>>>--On 09/23/00 11:14:59 PM -0500 Jonathan Wilson <[EMAIL PROTECTED]> wrote:
>>>
>>>>hmm...I put the new domain first, in the sendmail.cf file, but when I
>>>>sent a test mail from pine it's still using the old box.domain.tld.
>>>>Is that because that's what' in /etc/hosts, if so does this simply
>>>>mean that I have to change the box's hostname to the new domain
>>>>alltogether?
>>>>
>>>>        JW
>>>>
>>>>
>>>>At 11:12 AM 9/22/2000 -0700, you wrote:
>>>>>I'm presuming you're not interested in keeping domains separate
>>>>>within sendmail (that is, set up virtual domains within sendmail).
>>>>>If that assumption is correct, simply add all hostnames, hostname
>>>>>and hostname+domain (ie., fully qualified) to the sendmail.cw file.
>>>>>Sendmail will then happily act as the final delivery agent for the
>>>>>those hosts.  Sendmail can also, I believe, be configured to include
>>>>>that information directly in the sendmail.cf file, but my book with
>>>>>the m4 macros for building sendmail.cf is at my other office so I
>>>>>can't give you syntax if you prefer to not include the sendmail.cw
>>>>>file.
>>>>>
>>>>>-- Rob
>>>>>
>>>>>
>>>>>--On 09/22/00 11:58:32 AM -0500 Jonathan Wilson <[EMAIL PROTECTED]>
>>>>>wrote:
>>>>>
>>>>>>Howdy,
>>>>>>
>>>>>>We now have several domain names pointing to our main Red Hat
>>>>>>server. Most of them are for various  web sites and are only used
>>>>>>by Apache. However we do have this situation: our original
>>>>>>intention was to name this box newhostname.our_domain.our_tld and
>>>>>>we did, and that's what's in /etc/hosts however we can't send mail
>>>>>>to that box because all mail going to our domain is snarfed up by
>>>>>>our NT mail server :-/ which my boss doesn't want to change.
>>>>>>
>>>>>>So he bought a new domain name today, just for the Linux server, the
>>>>>>primary reason being that we should now be able to send and receive
>>>>>>mail there.
>>>>>>
>>>>>>So my question is, do I need to put the new domain name in
>>>>>>/etc/hosts, or anywhere else? If not will it affect sendmail? Will
>>>>>>sendmail pick up mail sent to that domain simply because the DNS and
>>>>>>MX record point there? And how will it know to put "from:
>>>>>>*@newdomain.com" on outgoing mail?
>>>>>>
>>>>>>Basically I've never dealt with multiple host/domain names and I'm
>>>>>>not sure what to do :-)
>>>>>>
>>>>>>
>>>>>>       JW
>>>>>>
>>>>>>
>>>>>>
>>>>>>_______________________________________________
>>>>>>Redhat-list mailing list
>>>>>>[EMAIL PROTECTED]
>>>>>>https://listman.redhat.com/mailman/listinfo/redhat-list
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>     _ _ _ _           _    _ _ _ _ _
>>>>>    /\_\_\_\_\        /\_\ /\_\_\_\_\_\
>>>>>   /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
>>>>>  /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
>>>>> /\/_/_/_/_/ /\_\  /\/_/    /\/_/
>>>>>/\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
>>>>>\/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)
>>>>>
>>>>>Rob Tanner
>>>>>McMinnville, Oregon
>>>>>[EMAIL PROTECTED]
>>>>>
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Redhat-list mailing list
>>>>>[EMAIL PROTECTED]
>>>>>https://listman.redhat.com/mailman/listinfo/redhat-list
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>Redhat-list mailing list
>>>>[EMAIL PROTECTED]
>>>>https://listman.redhat.com/mailman/listinfo/redhat-list
>>>
>>>
>>>
>>>
>>>      _ _ _ _           _    _ _ _ _ _
>>>     /\_\_\_\_\        /\_\ /\_\_\_\_\_\
>>>    /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
>>>   /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
>>>  /\/_/_/_/_/ /\_\  /\/_/    /\/_/
>>> /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
>>> \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)
>>>
>>> Rob Tanner
>>> McMinnville, Oregon
>>> [EMAIL PROTECTED]
>>>
>>>
>>>
>>>_______________________________________________
>>>Redhat-list mailing list
>>>[EMAIL PROTECTED]
>>>https://listman.redhat.com/mailman/listinfo/redhat-list
>>
>>
>>
>>_______________________________________________
>>Redhat-list mailing list
>>[EMAIL PROTECTED]
>>https://listman.redhat.com/mailman/listinfo/redhat-list 
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to