Networking Forums

Networking Forums > Computer Networking > Linux Networking > Outgoing mail from fresh RH8.0 box

Reply
Thread Tools Display Modes

Outgoing mail from fresh RH8.0 box

 
 
James Schnack
Guest
Posts: n/a

 
      09-22-2003, 09:12 PM
Hi,

I'm trying to set up a RH8.0 box to send outgoing mail and NOT receive
incoming mail (preferrably, not run sendmail as a daemon).

I'm not a sendmail expert and I'm having a hard time doing something
that in previous versions of RH I believe was simpler.

I have googled quite a bit and tried several things, but with no luck.
Each time I send email from the command line I end up with a:

Sep 22 17:23:38 xxxxxx sendmail[4094]: h8MKNbTd004094:
to=(E-Mail Removed), ctladdr=root (0/0), delay=00:00:01,
xdelay=00:00:00, mailer=relay, pri=30047, relay=localhost.localdomain.
[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by
localhost.localdomain.

I have the following rpm installed:

[root@xxxxxx mail]# rpm -qa | grep sendmail
sendmail-8.12.5-7

I believe that there exists a sendmail-cf rpm, which is not installed
in this box. Don't know if I need it...

Hosts table include both name and real address as well as localhost
and loopback interface. They resolve fine.

Could anybody possibly list the steps that I should follow to
configure a fresh RH8.0 installation to allow outgoing email to be
sent ? Or point me to some documentation on the web ?

Thanks in advance for any help that you can provide!!!

BR,

James
 
Reply With Quote
 
 
 
 
G. Roderick Singleton
Guest
Posts: n/a

 
      09-23-2003, 02:33 AM
kanarip wrote:
> "James Schnack" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) om...
>
>>Hi,
>>
>>I'm trying to set up a RH8.0 box to send outgoing mail and NOT receive
>>incoming mail (preferrably, not run sendmail as a daemon).
>>
>>I'm not a sendmail expert and I'm having a hard time doing something
>>that in previous versions of RH I believe was simpler.
>>
>>I have googled quite a bit and tried several things, but with no luck.
>>Each time I send email from the command line I end up with a:
>>
>>Sep 22 17:23:38 xxxxxx sendmail[4094]: h8MKNbTd004094:
>>to=(E-Mail Removed), ctladdr=root (0/0), delay=00:00:01,
>>xdelay=00:00:00, mailer=relay, pri=30047, relay=localhost.localdomain.
>>[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by
>>localhost.localdomain.
>>
>>I have the following rpm installed:
>>
>>[root@xxxxxx mail]# rpm -qa | grep sendmail
>>sendmail-8.12.5-7
>>
>>I believe that there exists a sendmail-cf rpm, which is not installed
>>in this box. Don't know if I need it...
>>
>>Hosts table include both name and real address as well as localhost
>>and loopback interface. They resolve fine.
>>
>>Could anybody possibly list the steps that I should follow to
>>configure a fresh RH8.0 installation to allow outgoing email to be
>>sent ? Or point me to some documentation on the web ?
>>
>>Thanks in advance for any help that you can provide!!!
>>
>>BR,
>>
>>James

>
>
> In the /etc/mail/sendmail.mc file is a parameter which tells sendmail on
> which ip to listen for connections.
>
> In my case, these contain:
>
> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
> DAEMON_OPTIONS(`Port=smtp,Addr=131.211.232.45, Name=MTA')dnl
>
> --kanarip
>
>



NOTE: The above is all explained in both the RH release notes and in the
RH senmail.mc. You are supposed to read them.

 
Reply With Quote
 
Ron Bennett
Guest
Posts: n/a

 
      09-23-2003, 08:02 AM
In article <(E-Mail Removed) >,
(E-Mail Removed) says...
>
>Hi,
>
>I'm trying to set up a RH8.0 box to send outgoing mail and NOT receive
>incoming mail (preferrably, not run sendmail as a daemon).
>
>I'm not a sendmail expert and I'm having a hard time doing something
>that in previous versions of RH I believe was simpler.
>
>I have googled quite a bit and tried several things, but with no luck.
>Each time I send email from the command line I end up with a:
>
>Sep 22 17:23:38 xxxxxx sendmail[4094]: h8MKNbTd004094:
>to=(E-Mail Removed), ctladdr=root (0/0), delay=00:00:01,
>xdelay=00:00:00, mailer=relay, pri=30047, relay=localhost.localdomain.
>[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by
>localhost.localdomain.
>
>I have the following rpm installed:
>
>[root@xxxxxx mail]# rpm -qa | grep sendmail
>sendmail-8.12.5-7
>
>I believe that there exists a sendmail-cf rpm, which is not installed
>in this box. Don't know if I need it...
>
>Hosts table include both name and real address as well as localhost
>and loopback interface. They resolve fine.


Try adding the following into sendmail.mc

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
FEATURE(`no_default_msa')dnl

The first line above restricts access to port 25 to localhost - for all
practical purposes this results in port 25 being inaccessible to
outside world. The second line above disables the "submit" port 587.

Then reconfigure, etc and restart as a deamon (-bd) and you're set

Ron

 
Reply With Quote
 
kanarip
Guest
Posts: n/a

 
      09-23-2003, 10:16 AM

"James Schnack" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> Hi,
>
> I'm trying to set up a RH8.0 box to send outgoing mail and NOT receive
> incoming mail (preferrably, not run sendmail as a daemon).
>
> I'm not a sendmail expert and I'm having a hard time doing something
> that in previous versions of RH I believe was simpler.
>
> I have googled quite a bit and tried several things, but with no luck.
> Each time I send email from the command line I end up with a:
>
> Sep 22 17:23:38 xxxxxx sendmail[4094]: h8MKNbTd004094:
> to=(E-Mail Removed), ctladdr=root (0/0), delay=00:00:01,
> xdelay=00:00:00, mailer=relay, pri=30047, relay=localhost.localdomain.
> [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by
> localhost.localdomain.
>
> I have the following rpm installed:
>
> [root@xxxxxx mail]# rpm -qa | grep sendmail
> sendmail-8.12.5-7
>
> I believe that there exists a sendmail-cf rpm, which is not installed
> in this box. Don't know if I need it...
>
> Hosts table include both name and real address as well as localhost
> and loopback interface. They resolve fine.
>
> Could anybody possibly list the steps that I should follow to
> configure a fresh RH8.0 installation to allow outgoing email to be
> sent ? Or point me to some documentation on the web ?
>
> Thanks in advance for any help that you can provide!!!
>
> BR,
>
> James


In the /etc/mail/sendmail.mc file is a parameter which tells sendmail on
which ip to listen for connections.

In my case, these contain:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=131.211.232.45, Name=MTA')dnl

--kanarip


 
Reply With Quote
 
Michael W. Cocke
Guest
Posts: n/a

 
      09-23-2003, 10:56 AM
On 22 Sep 2003 14:12:22 -0700, (E-Mail Removed) (James Schnack)
wrote:

>Hi,
>
>I'm trying to set up a RH8.0 box to send outgoing mail and NOT receive
>incoming mail (preferrably, not run sendmail as a daemon).
>
>I'm not a sendmail expert and I'm having a hard time doing something
>that in previous versions of RH I believe was simpler.
>
>I have googled quite a bit and tried several things, but with no luck.
>Each time I send email from the command line I end up with a:
>
>Sep 22 17:23:38 xxxxxx sendmail[4094]: h8MKNbTd004094:
>to=(E-Mail Removed), ctladdr=root (0/0), delay=00:00:01,
>xdelay=00:00:00, mailer=relay, pri=30047, relay=localhost.localdomain.
>[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by
>localhost.localdomain.
>
>I have the following rpm installed:
>
>[root@xxxxxx mail]# rpm -qa | grep sendmail
>sendmail-8.12.5-7
>
>I believe that there exists a sendmail-cf rpm, which is not installed
>in this box. Don't know if I need it...
>
>Hosts table include both name and real address as well as localhost
>and loopback interface. They resolve fine.
>
>Could anybody possibly list the steps that I should follow to
>configure a fresh RH8.0 installation to allow outgoing email to be
>sent ? Or point me to some documentation on the web ?
>
>Thanks in advance for any help that you can provide!!!
>
>BR,
>
>James



Take a look at postfix - it comes with redhat also. I'm switching
from sendmail to postfix later today. IIRC, The very first page of
how-tos on the postfix.org site includes the answer to your question.

Mike-


Mornings: Evolution in action. Only the grumpy will survive.
-----------------------------------------------------

Please note - Due to the intense volume of spam, we have
installed site-wide spam filters at catherders.com. If
email from you bounces, try non-HTML, non-encoded,
non-attachments.


----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firewall outgoing mail elie Linux Networking 5 09-30-2008 07:56 PM
bind outgoing mail connects to virtual ip address? Jack Snodgrass Linux Networking 4 03-13-2008 02:52 PM
Do tiscali stick adverts on all outgoing mail? Jim Howes Broadband 9 03-09-2007 01:50 AM
Slow outgoing mail through Eclipse? Paul Broadband 2 09-30-2003 02:30 PM
Linksys BEFW11S4 v.3 and PPTP outgoing mail problem =?ISO-8859-1?Q?Bj=F8rn_G?= Wireless Internet 1 09-09-2003 11:22 AM



1 2 3 4 5 6 7 8 9 10 11