Hello Naresh, I checked your output from the file /var/spool/clientmqueue.
This line took my attention 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/ Check if your sendmail permissions are set according to sendmail/SECURITY. Ideally it should be as follows : -r-xr-sr-x root smmsp ... /PATH/TO/sendmail drwxrwx--- smmsp smmsp ... /var/spool/clientmqueue drwx------ root wheel ... /var/spool/mqueue -r--r--r-- root wheel ... /etc/mail/sendmail.cf So before you do anything take a screenshot or copy paste the output into a editor so that you can revert back to the old file folder permission in case of any problem.. Check sendmail/security at the site below http://www.sendmail.org/~ca/email/doc8.12/SECURITY regards Vinod Kumar --- On Wed, 5/8/09, Naresh Rawat <[email protected]> wrote: From: Naresh Rawat <[email protected]> Subject: Re: [LinuxVadaPav] Sendmail issue -- Mails not going out To: "संजीव (Sanjeev Tripurari)" <[email protected]>, [email protected] Date: Wednesday, 5 August, 2009, 7:10 AM Sanjeev -- Below is the output and mail log details: [r...@test ~]# echo -e "Hello\nTest mail." |mail -v sanjeevtripurari@ gmail.com -s test sanjeevtripurari@ gmail.com. .. 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.localdoma in [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSC ODES 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]. com> SIZE=63 auth=r...@test. india.com 250 2.1.0 <[email protected]. com>... Sender ok >>> RCPT To:<sanjeevtripurari@ gmail.com> >>> DATA 250 2.1.5 <sanjeevtripurari@ gmail.com>... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 n750Ifit029239 Message accepted for delivery sanjeevtripurari@ gmail.com. .. 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/clientmq ueue/ Aug 4 20:15:49 test sendmail[29101] : n750Fnve029101: from=root, size=42, class=0, nrcpts=1, msgid=<200908050015. n750Fnve029101@ test.india. com>, relay=r...@localhos t Aug 4 20:15:49 test sendmail[29102] : n750FnDW029102: from=<[email protected]. com>, size=330, class=0, nrcpts=1, msgid=<200908050015. n750Fnve029101@ test.india. com>, proto=ESMTP, daemon=MTA, relay=localhost. localdomain [127.0.0.1] Aug 4 20:15:49 test sendmail[29101] : n750Fnve029101: to=dvgrajesh@ gmail.com, 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=<dvgraj...@gmail. com>, ctladdr=<[email protected]. com> (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/clientmq ueue/ Aug 4 20:18:41 test sendmail[29238] : n750Ifdt029238: from=root, size=63, class=0, nrcpts=1, msgid=<200908050018. n750Ifdt029238@ test.india. com>, relay=r...@localhos t Aug 4 20:18:41 test sendmail[29239] : n750Ifit029239: from=<[email protected]. com>, size=358, class=0, nrcpts=1, msgid=<200908050018. n750Ifdt029238@ test.india. com>, proto=ESMTP, daemon=MTA, relay=localhost. localdomain [127.0.0.1] Aug 4 20:18:41 test sendmail[29238] : n750Ifdt029238: to=sanjeevtripurari @gmail.com, 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=<sanjeevtripurari@ gmail.com>, ctladdr=<[email protected]. com> (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) <sanjeevtripurari@ gmail.com> To: linuxvadapav@ yahoogroups. com; rawatn_1980@ yahoo.co. in 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 sanjeevtripurari@ gmail.com -s test tail /var/log/maillog can you paste the o/p and send. regards -sanjeev 2009/8/4 Naresh Rawat <rawatn_1980@ yahoo.co. in> > >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/internetexplo rer/ [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]
