sendmail not working
Hi keen buddies!
I have problem my web server cannot send email. I use LAMP. with SSL. here's the email return to me: Final-Recipient: RFC822; [email@address] Action: failed Status: 5.1.3 Remote-MTA: DNS; smtp.secureserver.net Diagnostic-Code: SMTP; 553 http://www.spamhaus.org/query/bl?ip=[MY IP IS LISTED] Last-Attempt-Date: Mon, 16 Feb 2009 10:33:05 +0800 when I use telnet. [root@localhost log]# telnet 127.0.0.1 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1; Mon, 16 Feb 2009 14:23:39 +0800 what am I going to do? any kind of help will be appreciated. thanx |
what does the command display:
Code:
#sendmail -bv <recepient name> Code:
#echo "hello" | mail -vv <recepient name> Code:
#tail -f /var/log/maillog |
Quote:
I just change my emailaddress to[myemailaddress@hotmail.com] and the to=<[to@hotmail.com]>. here's the log. #sendmail -bv <recepient name> sendmail -bv [myemailaddress@hotmail.com] [myemailaddress@hotmail.com]... deliverable: mailer esmtp, host hotmail.com., user [myemailaddress@hotmail.com] #echo "hello" | mail -vv <recepient name> [myemailaddress@hotmail.com]... Connecting to [127.0.0.1] via relay... 220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1; Mon, 16 Feb 2009 14:47:35 +0800 >>> EHLO localhost.localdomain 250-localhost.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP >>> MAIL From:<root@localhost.localdomain> SIZE=37 250 2.1.0 <root@localhost.localdomain>... Sender ok >>> RCPT To:<[myemailaddress@hotmail.com]> >>> DATA 250 2.1.5 <[myemailaddress@hotmail.com]>... Recipient ok 354 Enter mail, end with "." on a line by itself 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 n1G6lZeQ023370 Message accepted for delivery [myemailaddress@hotmail.com]... Sent (n1G6lZeQ023370 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 localhost.localdomain closing connection #tail -f /var/log/maillog Feb 16 14:30:23 localhost sendmail[23304]: n1D9j8jE016591: to=<[to@hotmail.com]>, ctladdr=<apache@localhost.localdomain> (48/48), delay=2+20:45:15, xdelay=00:00:00, mailer=esmtp, pri=7320704, relay=mail.mydomainwebhost.com., dsn=4.0.0, stat=Deferred: Connection reset by mail.mydomainwebhost.com. Feb 16 14:30:23 localhost sendmail[23304]: n1D9rfYV016620: to=<[to@hotmail.com]>, ctladdr=<apache@localhost.localdomain> (48/48), delay=2+20:36:42, xdelay=00:00:00, mailer=esmtp, pri=7320710, relay=mail.mydomainwebhost.com., dsn=4.0.0, stat=Deferred: Connection reset by mail.mydomainwebhost.com. Feb 16 14:30:23 localhost sendmail[23304]: n1D9b90E016492: to=<[to@hotmail.com]>, ctladdr=<apache@localhost.localdomain> (48/48), delay=2+20:53:14, xdelay=00:00:00, mailer=esmtp, pri=7410710, relay=mail.mydomainwebhost.com., dsn=4.0.0, stat=Deferred: Connection reset by mail.mydomainwebhost.com. Feb 16 14:30:23 localhost sendmail[23304]: n1D7WT6W016037: to=<[to@hotmail.com]>, ctladdr=<apache@localhost.localdomain> (48/48), delay=2+22:57:53, xdelay=00:00:00, mailer=esmtp, pri=7597324, relay=mail.mydomainwebhost.com., dsn=4.0.0, stat=Deferred: Connection reset by mail.mydomainwebhost.com. Feb 16 14:47:36 localhost sendmail[23369]: n1G6lYVc023369: to=[myemailaddress@hotmail.com], ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30037, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n1G6lZeQ023370 Message accepted for delivery) Feb 16 14:47:39 localhost sendmail[23372]: n1G6lZeQ023370: to=<[myemailaddress@hotmail.com]>, ctladdr=<root@localhost.localdomain> (0/0), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120342, relay=mx1.hotmail.com. [65.55.37.88], dsn=5.0.0, stat=Service unavailable Feb 16 14:47:39 localhost sendmail[23372]: n1G6lZeQ023370: n1G6ldeQ023372: DSN: Service unavailable Feb 16 14:47:40 localhost sendmail[23372]: n1G6ldeQ023372: to=<root@localhost.localdomain>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=31603, dsn=2.0.0, stat=Sent when I use nmap. PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 80/tcp open http 111/tcp open rpcbind 443/tcp open https 631/tcp open ipp 819/tcp open unknown 1521/tcp open oracle 3306/tcp open mysql 8009/tcp open ajp13 8080/tcp open http-proxy 32770/tcp open sometimes-rpc3 32771/tcp open sometimes-rpc5 32772/tcp open sometimes-rpc7 Actually I received the email on my /var/spool/mail/root it is inside the root file. Is that a bouncing mail? |
All times are GMT -5. The time now is 02:30 AM. |