Relay host
am 20.11.2007 15:36:41 von mbrugoHi 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:
250 2.1.0
>>> RCPT To:
>>> DATA
250 2.1.5
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