Professional Web Applications Themes

Outgoing mail from fresh RH8.0 box - Linux Setup, Configuration & Administration

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 sendmail[4094]: h8MKNbTd004094: to=foowhatever.com, 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 ...

  1. #1

    Default Outgoing mail from fresh RH8.0 box

    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 sendmail[4094]: h8MKNbTd004094:
    to=foowhatever.com, 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 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 doentation on the web ?

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

    BR,

    James
    James Schnack Guest

  2. #2

    Default Re: Outgoing mail from fresh RH8.0 box

    kanarip wrote: 
    >
    >
    > 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
    >
    >[/ref]


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

    G. Guest

  3. #3

    Default Re: Outgoing mail from fresh RH8.0 box

    In article <google.com>,
    com says... 

    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

    Ron Guest

  4. #4

    Default Re: Outgoing mail from fresh RH8.0 box


    "James Schnack" <com> wrote in message
    news:google.com... 

    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


    kanarip Guest

  5. #5

    Default Re: Outgoing mail from fresh RH8.0 box

    On 22 Sep 2003 14:12:22 -0700, com (James Schnack)
    wrote:
     


    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 =---
    Michael Guest

Similar Threads

  1. setBandwidthLimit not setting outgoing BW?
    By stuarte in forum Macromedia Flash Flashcom
    Replies: 0
    Last Post: September 26th, 07:10 PM
  2. ipfilter outgoing
    By Sandy Rutherford in forum FreeBSD
    Replies: 0
    Last Post: February 17th, 12:34 AM
  3. How to see the outgoing SOAP envelop
    By Devesh Kumar in forum ASP.NET Web Services
    Replies: 0
    Last Post: February 20th, 10:49 PM
  4. Fwd: exim outgoing emails always timeout
    By Jamin W. Collins in forum Debian
    Replies: 0
    Last Post: July 17th, 02:50 AM
  5. exim outgoing emails always timeout
    By Derrick 'dman' Hudson in forum Debian
    Replies: 0
    Last Post: July 16th, 11:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139