Relay host - SendMail

This is a discussion on Relay host - SendMail ; Hi to all, i try to modify my sendmail to relay incoming mail to another mail server. my server is solaris 5.9 i've: 0) /etc/init.d/sendmail stop 1) copy /usr/lib/mail/cf/main.mc to /usr/lib/mail/cf/mike.mc 2) add define(`SMART_HOST', myrelay.domain.com)dnl 3) make mike.mc 4) copy ...

+ Reply to Thread
Results 1 to 2 of 2

Relay host

  1. Default Relay host

    Hi to all, i try to modify my sendmail to relay incoming mail to
    another mail server.

    my server is solaris 5.9

    i've:

    0) /etc/init.d/sendmail stop

    1) copy /usr/lib/mail/cf/main.mc to /usr/lib/mail/cf/mike.mc

    2) add define(`SMART_HOST', myrelay.domain.com)dnl

    3) make mike.mc

    4) copy mike.cf /etc/mail/sendmail.cf

    5) /etc/init.d/sendmail start

    when i try to test my modify i use:


    sendmail -v ombodo@nls.com < /tmp/x1_hh.logins_h.lst

    i got:

    root antares /usr/lib > sendmail -v ombodo@nls.com < /tmp/
    x1_hh.logins_h.lst
    ombodo@nls.com... Connecting to [127.0.0.1] via relay...
    220 antares.secure.com ESMTP Sendmail 8.12.9+Sun/8.12.9; Tue, 20 Nov
    2007 15:25:39 +0100 (CET)
    >>> EHLO antares.secure.com

    250-antares.secure.com Hello localhost [127.0.0.1], pleased to meet
    you
    250-ENHANCEDSTATUSCODES
    250-PIPELINING
    250-EXPN
    250-VERB
    250-8BITMIME
    250-SIZE
    250-DSN
    250-ETRN
    250-DELIVERBY
    250 HELP
    >>> MAIL From:<root@antares.secure.com> SIZE=40

    250 2.1.0 <root@antares.secure.com>... Sender ok
    >>> RCPT To:<ombodo@nls.com>
    >>> DATA

    250 2.1.5 <ombodo@nls.com>... Recipient ok
    354 Enter mail, end with "." on a line by itself
    >>> .

    250 2.0.0 lAKEPdQo000381 Message accepted for delivery
    ombodo@nls.com... Sent (lAKEPdQo000381 Message accepted for delivery)
    Closing connection to [127.0.0.1]
    >>> QUIT

    221 2.0.0 antares.secure.com closing connection
    root antares /usr/lib >

    mail doesn't send and it stay on mail queue

    why ????

    Thanks

    Mike

  2. Default Re: Relay host

    On Nov 20
    RESOLVED. there was a nslookup problem, as suggest me 6 month ago.

    Thanks to all

    Mike

+ Reply to Thread

Similar Threads

  1. Relay host
    By Application Development in forum SendMail
    Replies: 0
    Last Post: 11-20-2007, 09:36 AM
  2. Subdomain going to MX rather than relay host
    By Application Development in forum SendMail
    Replies: 0
    Last Post: 08-08-2007, 07:04 AM
  3. Replies: 1
    Last Post: 05-15-2007, 04:18 AM
  4. smart host to relay not working
    By Application Development in forum Inetserver
    Replies: 3
    Last Post: 03-02-2005, 09:57 PM
  5. SMTP smart host & Relay
    By Application Development in forum Microsoft Exchange
    Replies: 4
    Last Post: 08-27-2003, 08:16 AM