On Wed, Aug 5, 2009 at 7:10 AM, Naresh Rawat<[email protected]> wrote:
>
>
> Sanjeev --
>
> Below is the output and mail log details:
>
> [r...@test ~]# echo -e "Hello\nTest mail." |mail -v
> [email protected] -s test
> [email protected]... Connecting to [127.0.0.1] via relay...
> 220 test.india.com ESMTP Sendmail 8.13.1/8.13.1; Tue, 4 Aug 2009 20:18:41
> -0400
>>>> EHLO test.india.com
> 250-test.india.com Hello localhost.localdomain [127.0.0.1], pleased to meet
> you
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-8BITMIME
> 250-SIZE
> 250-DSN
> 250-ETRN
> 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
> 250-DELIVERBY
> 250 HELP
>>>> MAIL From:<[email protected]> SIZE=63 [email protected]
> 250 2.1.0 <[email protected]>... Sender ok
>>>> RCPT To:<[email protected]>
>>>> DATA
> 250 2.1.5 <[email protected]>... Recipient ok
> 354 Enter mail, end with "." on a line by itself
>>>> .
> 250 2.0.0 n750Ifit029239 Message accepted for delivery
> [email protected]... Sent (n750Ifit029239 Message accepted for
> delivery)
> Closing connection to [127.0.0.1]
>>>> QUIT
> 221 2.0.0 test.india.com closing connection
> [r...@test ~]# tail /var/log/maillog
> Aug 4 20:15:49 test sendmail[29101]: dangerous permissions=40755 on queue
> directory /var/spool/clientmqueue/
> Aug 4 20:15:49 test sendmail[29101]: n750Fnve029101: from=root, size=42,
> class=0, nrcpts=1, msgid=<[email protected]>,
> relay=r...@localhost
> Aug 4 20:15:49 test sendmail[29102]: n750FnDW029102:
> from=<[email protected]>, size=330, class=0, nrcpts=1,
> msgid=<[email protected]>, proto=ESMTP, daemon=MTA,
> relay=localhost.localdomain [127.0.0.1]
> Aug 4 20:15:49 test sendmail[29101]: n750Fnve029101: [email protected],
> ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
> pri=30042, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
> (n750FnDW029102 Message accepted for delivery)
> Aug 4 20:15:49 test sendmail[29104]: n750FnDW029102:
> to=<[email protected]>, ctladdr=<[email protected]> (0/0),
> delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120330,
> relay=alt4.gmail-smtp-in.l.google.com. [209.85.129.27], dsn=4.0.0,
> stat=Deferred: Connection refused by alt4.gmail-smtp-in.l.google.com.
> Aug 4 20:18:41 test sendmail[29238]: dangerous permissions=40755 on queue
> directory /var/spool/clientmqueue/
> Aug 4 20:18:41 test sendmail[29238]: n750Ifdt029238: from=root, size=63,
> class=0, nrcpts=1, msgid=<[email protected]>,
> relay=r...@localhost
> Aug 4 20:18:41 test sendmail[29239]: n750Ifit029239:
> from=<[email protected]>, size=358, class=0, nrcpts=1,
> msgid=<[email protected]>, proto=ESMTP, daemon=MTA,
> relay=localhost.localdomain [127.0.0.1]
> Aug 4 20:18:41 test sendmail[29238]: n750Ifdt029238:
> [email protected], ctladdr=root (0/0), delay=00:00:00,
> xdelay=00:00:00, mailer=relay, pri=30063, relay=[127.0.0.1] [127.0.0.1],
> dsn=2.0.0, stat=Sent (n750Ifit029239 Message accepted for delivery)
> Aug 4 20:18:41 test sendmail[29241]: n750Ifit029239:
> to=<[email protected]>, ctladdr=<[email protected]> (0/0),
> delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120358,
> relay=alt4.gmail-smtp-in.l.google.com. [209.85.129.27], dsn=4.0.0,
> stat=Deferred: Connection refused by alt4.gmail-smtp-in.l.google.com.
>
> Regards
>
> Naresh R.
>
> ________________________________
> From: संजीव (Sanjeev Tripurari) <[email protected]>
> To: [email protected]; [email protected]
> Sent: Tuesday, 4 August, 2009 11:25:23 AM
> Subject: Re: [LinuxVadaPav] Sendmail issue -- Mails not going out
>
> hi,
>
> can you try
>
> echo -e "Hello\nTest mail." |mail -v [email protected] -s test
> tail /var/log/maillog
>
> can you paste the o/p and send.
>
> regards
> -sanjeev
>
> 2009/8/4 Naresh Rawat <[email protected]>
>
>>
>>Hi Team,
>>
>>>I am facing a issue with sendmail. It is up and running but my mail queue
>>> is increasing and the mails a stuck. Sendmail is unable to send them.
>>>I don't see any errors. The mail sits calmly in the mail queue.
>>>"Default message with the domain" -- is shown in the log file.
>>>I don't have any firewall also.
>>
>>>An immediate help will be highly appreciated.
>>
>>>Regards
>>
>>>Naresh R.
>>
>>>Love Cricket? Check out live scores, photos, video highlights and more.
>>> Click here http://cricket.yahoo.com
>>
>>>[Non-text portions of this message have been removed]
>>
>>
>>
>
> Yahoo! recommends that you upgrade to the new and safer Internet Explorer 8.
> http://downloads.yahoo.com/in/internetexplorer/
>
> [Non-text portions of this message have been removed]
>
> 

Hi,

Let me Know what is  your permission and UID GID for /var/spool/clientmqueue

For me the permission seem happy at 770 or rwxrwx--- but the big part
which is missing could be the owner and group setting of
/var/spool/clientmqueue/, once you set them to smmsp:smmsp all should
be  good. I read that some people may need this to be mail:mail, but
the permissions globally should be 770.

Also your mails are getting relayed properly to gmail but there are
several reason why your smtp or rcpt server wont accept your mail.
Please analyse it some reasons could be
1. Your IP is in the NOT GOOD LIST of rcpt server.
2. Reverse Lookup of the IP (Use nslookup and ipcalc to find more about your IP)

-- 
Ashwin R.

Reply via email to