Index: [Article Count Order] [Thread]

Date:  Tue, 4 Dec 2007 16:33:45 +0800
From:  patricko <patricko (at mark) staff.singnet.com.sg>
Subject:  [coba-e:11347] Re: [Vacation.pl - Unknown mailer error in log]
To:  coba-e (at mark) bluequartz.org
Cc:  mon (at mark) cyberec.com
Message-Id:  <20071204163345.1f01990c@patricko>
In-Reply-To:  <002c01c8363b$3b2770b0$4801a8c0@cyberec>
References:  <20071204083259.3d17c6a9@patricko> <002c01c8363b$3b2770b0$4801a8c0@cyberec>
X-Mail-Count: 11347

Hi,

No. This version is not made by me.
 
 Someone else send me a code snippet 
 containing the new changes.


 So .. I am asking the someone to comment his/her work.


Thanks. 


Cheers
patrick






On Tue, 4 Dec 2007 14:02:20 +0800
"Mon Chan" <mon (at mark) cyberec.com> wrote:

> Dear Patrick
> 
> Can you send the full ver to group? Or yum update for this ver?
> I afraid add this line to wrong place.
> 
> 
> Best regards, 
> Mon Chan
> 
> -----Original Message-----
> From: patricko [mailto:patricko (at mark) staff.singnet.com.sg] 
> Sent: Tuesday, December 04, 2007 8:33 AM
> To: coba-e (at mark) bluequartz.org
> Subject: [coba-e:11341] [Vacation.pl - Unknown mailer error in log]
> 
> Hi Blues,
> 
> 
> The unknown mailer error in log, is a dirty way to Stop Vacation.pl to
> generate a Reply  when username quota is Full.
> 
> The above condition will cause a mail delivery loop. Hence I commitef a
> workaround by implicitly breaking the loop.
> 
> 
> eg:  sendmail[7892]: lB3NpiLf007890: lB3NpoLf007892: DSN: unknown mailer
> error <num>
> 
> 
> 
> 
> it seem another blue have added a gracefull way to exit the vacation.pl
> 
> (see       .disable.dbcheck)
> 
> 
> 
> 
> 
> > if (($vacadb{$sendto} >= ($^T - 604800)) && ( ! -e 
> > $Vaca_dir/.disable.dbcheck )) {
> >     # They've been given a reply recently
> >     untie %vacadb;
> >     exit;
> > }
> 
> 
> 
> Please add your contribution in comment on the vacation.pl script.
> 
> 
> 
> Thanks
> 
> 
> Cheers
> patrick
> 
> 
> 
> 
> 
> On Fri, 23 Nov 2007 12:40:54 +0800
> "Mon Chan" <mon (at mark) cyberec.com> wrote:
> 
> > Work now
> > 
> > I update the FC blue via yum update, add the new user, the vacation is 
> > work, but the old user not work.
> > I need del and add new account, the vacation is work now
> > 
> > Mon
> > 
> > 
> > 
> > 
> > 
> > -----Original Message-----
> > From: patricko [mailto:patricko (at mark) staff.singnet.com.sg]
> > Sent: Friday, November 23, 2007 10:08 AM
> > To: coba-e (at mark) bluequartz.org
> > Cc: mon (at mark) cyberec.com
> > Subject: [coba-e:11222] Re: my vacation msg not work again
> > 
> > Hi,
> > 
> > 
> > 
> > >From your log, vacation.pl did generate a mail with size of 408 bytes.
> > 
> > <snip>
> > > <wmai (at mark) emc-distribution.com> => 
> > > \\emc95,\t"|/usr/local/sbin/vacation.pl
> > 
> > <snip>
> > from=<emc95 (at mark) blue1.cyberec.com>, size=408, class=0, nrcpts=1,
> > 
> > 
> > 
> > 
> > Open your received mail and investigate the header attached.
> > 
> > 
> > 2 cents.
> >        "I suspect Clamav remove the content"
> > 
> > 
> > 
> > Thanks
> > 
> > 
> > 
> > Cheers
> > patrick
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > On Thu, 22 Nov 2007 19:14:05 +0800
> > "Mon Chan" <mon (at mark) cyberec.com> wrote:
> > 
> > > Dear Patricko
> > > 
> > > I check my bq, hostname is blue1.cyberec.com. And one Virtual site 
> > > same as blue1.cyberec.com. I have renew the virtual site to another
> name.
> > > And now,  the vacation msg is send to mail, but the sent out email 
> > > is wrong sender ,no subject, and no text body
> > > 
> > > 
> > > [root@blue1 root]# cat /var/log/maillog|grep lAMB5tRN026072 Nov 22
> > > 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: Milter (clamav): 
> > > init success to negotiate Nov 22 19:05:55 blue1 sendmail[26072]:
> > > lAMB5tRN026072: Milter: connect to filters Nov 22 19:05:55 blue1
> > > sendmail[26072]: lAMB5tRN026072: milter=clamav, action=connect, 
> > > continue Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 
> > > 220 blue1.cyberec.com ESMTP Sendmail 8.12.10/8.12.10; Thu, 22 Nov 
> > > 2007
> > > 19:05:55
> > > +0800
> > > Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: <-- EHLO 
> > > smtp.cyberec.com Nov 22 19:05:55 blue1 sendmail[26072]:
> > > lAMB5tRN026072: --- 250-blue1.cyberec.com Hello smtp.cyberec.com 
> > > [202.153.122.101], pleased to meet you Nov 22 19:05:55 blue1
> > > sendmail[26072]: lAMB5tRN026072: --- 250-ENHANCEDSTATUSCODES Nov 22
> > > 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 250-PIPELINING 
> > > Nov
> > > 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 250-8BITMIME 
> > > Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 250-SIZE 
> > > Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 250-DSN 
> > > Nov
> > > 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 250-ETRN Nov 
> > > 22
> > > 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 250-AUTH
> > > DIGEST-MD5 CRAM-MD5
> > > Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 
> > > 250-STARTTLS Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072:
> > > --- 250-DELIVERBY Nov 22 19:05:55 blue1 sendmail[26072]: 
> > > lAMB5tRN026072: --- 250 HELP Nov 22 19:05:55 blue1 sendmail[26072]: 
> > > lAMB5tRN026072: <-- MAIL FROM:<mon (at mark) cyberec.com> SIZE=2281 Nov 22
> > > 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: Milter: senders:
> > > <mon (at mark) cyberec.com>
> > > Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: 
> > > milter=clamav, action=mail, continue Nov 22 19:05:55 blue1
> sendmail[26072]:
> > > lAMB5tRN026072: --- 250 2.1.0 <mon (at mark) cyberec.com>... Sender ok Nov 22
> > > 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: <-- RCPT 
> > > TO:<wmai (at mark) emc-distribution.com> Nov 22 19:05:55 blue1 sendmail[26072]:
> > > lAMB5tRN026072: Milter: rcpts:
> > > <wmai (at mark) emc-distribution.com>
> > > Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: 
> > > milter=clamav, action=rcpt, continue Nov 22 19:05:55 blue1
> sendmail[26072]:
> > > lAMB5tRN026072: --- 250 2.1.5 <wmai (at mark) emc-distribution.com>... 
> > > Recipient ok Nov 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: 
> > > <-- DATA Nov
> > > 22 19:05:55 blue1 sendmail[26072]: lAMB5tRN026072: --- 354 Enter 
> > > mail, end with "." on a line by itself Nov 22 19:05:55 blue1
> > > sendmail[26072]: lAMB5tRN026072:
> > > from=<mon (at mark) cyberec.com>, size=1218, class=0, nrcpts=1, 
> > > msgid=<000b01c82cf7$97e60e80$4801a8c0@cyberec>, proto=ESMTP, 
> > > daemon=MTA, relay=smtp.cyberec.com [202.153.122.101] Nov 22 19:05:55
> > > blue1 sendmail[26072]: lAMB5tRN026072: milter=clamav, action=header, 
> > > continue Nov 22 19:05:56 blue1 sendmail[26072]: lAMB5tRN026072:
> > > milter=clamav, action=eoh, continue Nov 22 19:05:56 blue1
> > > sendmail[26072]: lAMB5tRN026072: milter=clamav, action=body, 
> > > continue Nov 22 19:05:56 blue1 sendmail[26072]: lAMB5tRN026072: Milter
> add: header:
> > > X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 
> > > on blue1.cyberec.com Nov 22 19:05:56 blue1 sendmail[26072]:
> > > lAMB5tRN026072: Milter add: header:
> > > X-Virus-Status: Clean
> > > Nov 22 19:05:56 blue1 sendmail[26072]: lAMB5tRN026072: Milter accept:
> > > message
> > > Nov 22 19:05:56 blue1 sendmail[26072]: lAMB5tRN026072: --- 250 2.0.0
> > > lAMB5tRN026072 Message accepted for delivery Nov 22 19:05:56 blue1
> > > sendmail[26074]: lAMB5tRN026072: forward <wmai (at mark) emc-distribution.com> 
> > > => \\emc95,\t"|/usr/local/sbin/vacation.pl
> > > /home/.sites/106/site15/.users/99/emc95/.vacation_msg emc95"
> > > Nov 22 19:05:56 blue1 sendmail[26074]: lAMB5tRN026072:
> > > to="|/usr/local/sbin/vacation.pl
> > > /home/.sites/106/site15/.users/99/emc95/.vacation_msg emc95", 
> > > ctladdr=<wmai (at mark) emc-distribution.com> (1385/100), delay=00:00:01, 
> > > xdelay=00:00:00, mailer=prog, pri=61537, dsn=2.0.0, stat=Sent Nov 22
> > > 19:05:56 blue1 sendmail[26074]: lAMB5tRN026072: to=\\emc95, 
> > > delay=00:00:01, xdelay=00:00:00, mailer=local, pri=61537, dsn=2.0.0, 
> > > stat=Sent Nov 22 19:05:56 blue1 sendmail[26074]: lAMB5tRN026072: 
> > > done; delay=00:00:01,
> > > ntries=1
> > > 
> > > [root@blue1 root]# cat /var/log/maillog|grep lAMB5uRO026081 Nov 22
> > > 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: --- 
> > > 250-blue1.cyberec.com Hello localhost [127.0.0.1], pleased to meet 
> > > you Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: --- 
> > > 250-ENHANCEDSTATUSCODES Nov 22 19:05:56 blue1 sendmail[26081]:
> > > lAMB5uRO026081: --- 250-PIPELINING Nov 22 19:05:56 blue1
> > > sendmail[26081]: lAMB5uRO026081: --- 250-8BITMIME Nov 22 19:05:56
> > > blue1 sendmail[26081]: lAMB5uRO026081: --- 250-SIZE Nov 22 19:05:56
> > > blue1 sendmail[26081]: lAMB5uRO026081: --- 250-DSN Nov 22 19:05:56
> > > blue1 sendmail[26081]: lAMB5uRO026081: --- 250-ETRN Nov 22 19:05:56
> > > blue1 sendmail[26081]: lAMB5uRO026081: --- 250-AUTH
> > > DIGEST-MD5 CRAM-MD5
> > > Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: --- 
> > > 250-DELIVERBY Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081:
> > > --- 250 HELP Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: 
> > > <-- MAIL From:<emc95 (at mark) blue1.cyberec.com> SIZE=185 
> > > AUTH=emc95 (at mark) blue1.cyberec.com Nov 22 19:05:56 blue1 sendmail[26081]:
> > lAMB5uRO026081: Milter: senders:
> > > <emc95 (at mark) blue1.cyberec.com>
> > > Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: 
> > > milter=clamav, action=mail, continue Nov 22 19:05:56 blue1
> sendmail[26081]:
> > > lAMB5uRO026081: --- 250 2.1.0 <emc95 (at mark) blue1.cyberec.com>... Sender ok 
> > > Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: <-- RCPT 
> > > To:<mon (at mark) cyberec.com> Nov 22 19:05:56 blue1 sendmail[26081]:
> > > lAMB5uRO026081: Milter: rcpts:
> > > <mon (at mark) cyberec.com>
> > > Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: 
> > > milter=clamav, action=rcpt, continue Nov 22 19:05:56 blue1
> sendmail[26081]:
> > > lAMB5uRO026081: --- 250 2.1.5 <mon (at mark) cyberec.com>... Recipient ok Nov 
> > > 22
> > > 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: <-- DATA Nov 22
> > > 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: --- 354 Enter mail, 
> > > end with "." on a line by itself Nov 22 19:05:56 blue1
> > > sendmail[26081]: lAMB5uRO026081:
> > > from=<emc95 (at mark) blue1.cyberec.com>, size=408, class=0, nrcpts=1, 
> > > msgid=<200711221105.lAMB5umF026079 (at mark) blue1.cyberec.com>, proto=ESMTP, 
> > > daemon=MTA, relay=localhost [127.0.0.1] Nov 22 19:05:56 blue1
> > > sendmail[26081]: lAMB5uRO026081: milter=clamav, action=header, 
> > > continue Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081:
> > > milter=clamav, action=eoh, continue Nov 22 19:05:56 blue1
> > > sendmail[26081]: lAMB5uRO026081: milter=clamav, action=body, 
> > > continue Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: Milter
> add: header:
> > > X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 
> > > on blue1.cyberec.com Nov 22 19:05:56 blue1 sendmail[26081]:
> > > lAMB5uRO026081: Milter add: header:
> > > X-Virus-Status: Clean
> > > Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: Milter accept:
> > > message
> > > Nov 22 19:05:56 blue1 sendmail[26081]: lAMB5uRO026081: --- 250 2.0.0
> > > lAMB5uRO026081 Message accepted for delivery Nov 22 19:05:56 blue1
> > > sendmail[26079]: lAMB5umF026079: to=mon (at mark) cyberec.com,
> > > ctladdr=emc95 (1385/100), delay=00:00:00, xdelay=00:00:00, 
> > > mailer=relay, pri=30185, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, 
> > > stat=Sent
> > > (lAMB5uRO026081 Message accepted for delivery) Nov 22 19:05:56 blue1
> > > sendmail[26084]: lAMB5uRO026081: --- 050 <mon (at mark) cyberec.com>... 
> > > Connecting to smtp.cyberec.com. via relay...
> > > Nov 22 19:05:56 blue1 sendmail[26084]: lAMB5uRO026081: SMTP outgoing 
> > > connect on blue1.cyberec.com Nov 22 19:05:56 blue1 sendmail[26084]:
> > > lAMB5uRO026081: --- 050 <mon (at mark) cyberec.com>... Sent (OK
> > > id=1Iv9sA-0003Oi-00) Nov 22 19:05:56 blue1 sendmail[26084]: 
> > > lAMB5uRO026081: to=<mon (at mark) cyberec.com>, 
> > > ctladdr=<emc95 (at mark) blue1.cyberec.com> (1385/100), delay=00:00:00, 
> > > xdelay=00:00:00, mailer=relay, pri=30408, relay=smtp.cyberec.com.
> > > [202.153.122.101], dsn=2.0.0, stat=Sent (OK id=1Iv9sA-0003Oi-00) Nov
> > > 22 19:05:56 blue1 sendmail[26084]: lAMB5uRO026081: done; 
> > > delay=00:00:00,
> > > ntries=1
> > > 
> > > 
> > > Best regards,
> > > Mon Chan
> > > Cyber Express Communication Ltd.
> > > Tel: (852) 2353 1445
> > > Fax: (852) 2353 1105
> > > Email: mon (at mark) cyberec.com
> > > URL: http://www.cyberec.com
> > > 
> > > -----Original Message-----
> > > From: patricko [mailto:patricko (at mark) staff.singnet.com.sg]
> > > Sent: Thursday, November 22, 2007 3:28 PM
> > > To: patricko
> > > Cc: coba-e (at mark) bluequartz.org; mon (at mark) cyberec.com
> > > Subject: [coba-e:11218] Re: my vacation msg not work again
> > > 
> > > 
> > > 
> > > I checked my setup.
> > > 
> > >  All my Blue boxes have FQDN.
> > > 
> > > 
> > >  The mail envelope will tied to your box FQDN
> > > 
> > >  eg: From: <user>@<bluebox>  NO FQDN no mail ~ sorry - this is 
> > > Sendmail security. (8.12 onward)
> > > 
> > > 
> > >  the Address From: field will not be affected.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Hmm.. I dont have 5.6.0 error.
> > >       ~sendmail is stopping you.
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Ok Now I understand
> > > 
> > >  message has come in and
> > > 
> > >  vacation.pl is activated
> > > 
> > >  and you see the error
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 1)
> > > 
> > > 
> > > Try
> > > 
> > > to turn on debug in /etc/mail/sendmail.cf
> > > 
> > > # log level
> > > O LogLevel=16
> > > 
> > > 
> > > 2)
> > > 
> > > delete the ~<user>/.<user>.db #vacation DB
> > > 
> > > 
> > > 
> > > 
> > > Cheers
> > > patrick
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > On Thu, 22 Nov 2007 14:42:05 +0800
> > > patricko <patricko (at mark) staff.singnet.com.sg> wrote:
> > > 
> > > > Hi,
> > > > 
> > > > 
> > > > > Nov 22 11:40:22 blue1 sendmail[22759]: lAM3eMbD022759: from=Full 
> > > > > User HK <emc95>,
> > > > 
> > > > 
> > > > 
> > > >  "From:" field missing <domain>
> > > > 
> > > > 
> > > >  Domain field is needed.
> > > > 
> > > > 
> > > > 
> > > >  1st to prevent local loop
> > > > 
> > > >  and 2ndly to Return back to sender (of course)
> > > > 
> > > > 
> > > > 
> > > >  Thanks
> > > > 
> > > > Cheers
> > > > patrick
> > > > 
> > > > 
> > > > 
> > > > 
> > > > On Thu, 22 Nov 2007 12:46:40 +0800 "Mon Chan" <mon (at mark) cyberec.com> 
> > > > wrote:
> > > > 
> > > > > My FC1 bq box, the vacation msg is new ver(modified by patricko) 
> > > > > Surprising, some domain work,and some domain not work in this 
> > > > > FC1 bq
> > > > >  
> > > > >  
> > > > > Nov 22 11:40:22 blue1 sendmail[22759]: lAM3eMbD022759: from=Full 
> > > > > User HK <emc95>, size=195, class=0, nrcpts=1, 
> > > > > msgid=<200711220340.lAM3eMbD022759 (at mark) xxx.cyberec.com>,
> > > > > relay=emc95@localhost Nov 22 11:40:23 blue1 sendmail[22759]:
> > > lAM3eMbD022759:
> > > > > to=freewww (at mark) emailnetvigator.com, ctladdr=Full User HK <emc95> 
> > > > > (1385/100), delay=00:00:01, xdelay=00:00:01, mailer=relay, 
> > > > > pri=30195, relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data 
> > > > > format error Nov 22 11:40:23 blue1 sendmail[22733]: lAM3e08W022527:
> > > > > to="|/usr/local/sbin/vacation.pl 
> > > > > /home/.sites/106/site15/.users/99/emc95/.vacation_msg emc95", 
> > > > > ctladdr=<user (at mark) xxxxxx.com> (1385/100), delay=00:00:13, 
> > > > > xdelay=00:00:01, mailer=prog, pri=419546, dsn=2.0.0, stat=Sent 
> > > > > Nov
> > > > > 22 11:40:24 blue1 sendmail[22733]: lAM3e08W022527: to=\\emc95, 
> > > > > delay=00:00:14, xdelay=00:00:00, mailer=local, pri=419546, 
> > > > > dsn=2.0.0, stat=Sent
> > > > >  
> > > > > Best regards,
> > > > > Mon Chan
> > > > > Cyber Express Communication Ltd.
> > > > > Email: mon (at mark) cyberec.com
> > > > > URL: http://www.cyberec.com <http://www.cyberec.com/>
> > > > >  
> > 
> > 
> > 
> 
>