|
|
|
|
||||||
| comp.mail.sendmail Configuring and using the BSD sendmail agent. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi ALL!
Few days ago I have got this errors in my maillog: Milter: data, reject=451 4.3.2 Please try again later I suppose that this error comes from my old version of spamassassin, I have upgraded it to 3.2.4 version from 3.0.1 but tomorrow I have see in my maillog this error again: Milter: data, reject=451 4.3.2 Please try again later My sendmail.mc contains this lines, that depends to milters: define(`_FFR_MILTER',1)dnl MAIL_FILTER(`clamav-milter', `S=local:/var/run/clamav/clamav- milter.sock, T=S:4m;R:4m;E:10m')dnl MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, T=C:15m;S: 4m;R:4m;E:10m')dnl MAIL_FILTER(`scam-grey', `S=unix:/var/run/scam/scam-grey.sock, T=S: 240s;R:240s;E:5m')dnl define(`confINPUT_MAIL_FILTERS', `scam-grey, clamav-milter, spamassassin')dnl Sendmail version is 8.14.1, clamav version is 0.92.1. Sendmail server works as relay for local network, but nobody can't send mails from local network when this error comes up. Please tell what should I do to tell sendmail server to ignore this milter errors and accept them for delivery even if one of milters fail? What can cause this problem? Why milter generates this answer to sendmail? Thx. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
askon23@gmail.com schrieb:
> Few days ago I have got this errors in my maillog: > Milter: data, reject=451 4.3.2 Please try again later > > I suppose that this error comes from my old version of spamassassin, [...] I don't think so: > My sendmail.mc contains this lines, that depends to milters: > > define(`_FFR_MILTER',1)dnl > MAIL_FILTER(`clamav-milter', `S=local:/var/run/clamav/clamav-milter.sock, T=S:4m;R:4m;E:10m')dnl > MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass.sock, T=C:15m;S:4m;R:4m;E:10m')dnl > MAIL_FILTER(`scam-grey', `S=unix:/var/run/scam/scam-grey.sock, T=S:240s;R:240s;E:5m')dnl > > define(`confINPUT_MAIL_FILTERS', `scam-grey, clamav-milter, spamassassin')dnl ~~~~~~~~~ Looks like your greylisting milter is doing its job. HTH T. -- Please excuse my bad English/German/French/Greek/Cantonese/Klingon/... |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> > define(`confINPUT_MAIL_FILTERS', `scam-grey, clamav-milter, spamassassin')dnl
> > ~~~~~~~~~ > Looks like your greylisting milter is doing its job. Thank you for quick reply! No, when scam-grey doing his job it looks like: Mar 13 11:43:21 gate scam-grey[23979]: m2D9guOW008869: added server.fann.com to greylist Mar 13 11:43:21 gate sendmail[8869]: m2D9guOW008869: Milter: data, reject=450 4.7.0 Temporarily rejected. Try again later. Mar 13 11:43:21 gate sendmail[8869]: m2D9guOW008869: to=<nvb@mydomain.com>, delay=00:00:01, pri=46678, stat=Temporarily rejected. Try again later. I think this reject error were generated by milter, when it can't connect to daemon. At this night my clamd fall down, in logs I see: Thu Mar 13 04:29:55 2008 -> SelfCheck: Database modification detected. Forcing reload. Thu Mar 13 04:29:55 2008 -> Reading databases from /var/lib/clamav Thu Mar 13 04:29:55 2008 -> ERROR: reload db failed: Not supported data format Thu Mar 13 04:29:55 2008 -> Terminating because of a fatal error. Thu Mar 13 04:29:55 2008 -> ERROR: ScanStream: error transmitting port. Thu Mar 13 04:29:56 2008 -> Pid file removed. Thu Mar 13 04:29:56 2008 -> --- Stopped at Thu Mar 13 04:29:56 2008 Thu Mar 13 04:32:01 2008 -> +++ Started at Thu Mar 13 04:32:01 2008 Thu Mar 13 04:32:01 2008 -> clamd daemon 0.92.1 (OS: linux-gnu, ARCH: i386, CPU: i686) Thu Mar 13 04:32:01 2008 -> Log file size limit disabled. Thu Mar 13 04:32:01 2008 -> Reading databases from /var/lib/clamav Thu Mar 13 04:32:01 2008 -> Not loading PUA signatures. Thu Mar 13 04:32:01 2008 -> ERROR: Not supported data format And until freshclam didn't work correctly again clamd didn't work, but clamav-milter do. So I think this error comes from clamav-milter. It is quite strange to me, because I haven't "F=T" option in my sendmail.mc. So if one of milters falls sendmail just ignore them and continue to work. But whats happens, when milter are live, but daemon is not? Is there any ways to fix this without modifying milter source code? And changing they reply codes for sendmail, if they can't gain daemon? |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Mar 13, 6:06 am, asko...@gmail.com wrote:
> > > define(`confINPUT_MAIL_FILTERS', `scam-grey, clamav-milter, spamassassin')dnl > > > ~~~~~~~~~ > > Looks like your greylisting milter is doing its job. > > Thank you for quick reply! > > No, when scam-grey doing his job it looks like: > Mar 13 11:43:21 gate scam-grey[23979]: m2D9guOW008869: added > server.fann.com to greylist > Mar 13 11:43:21 gate sendmail[8869]: m2D9guOW008869: Milter: data, > reject=450 4.7.0 Temporarily rejected. Try again later. > Mar 13 11:43:21 gate sendmail[8869]: m2D9guOW008869: > to=<n...@mydomain.com>, delay=00:00:01, pri=46678, stat=Temporarily > rejected. Try again later. > > I think this reject error were generated by milter, when it can't > connect to daemon. At this night my clamd fall down, in logs I see: > > Thu Mar 13 04:29:55 2008 -> SelfCheck: Database modification detected. > Forcing reload. > Thu Mar 13 04:29:55 2008 -> Reading databases from /var/lib/clamav > Thu Mar 13 04:29:55 2008 -> ERROR: reload db failed: Not supported > data format > Thu Mar 13 04:29:55 2008 -> Terminating because of a fatal error. > Thu Mar 13 04:29:55 2008 -> ERROR: ScanStream: error transmitting > port. > Thu Mar 13 04:29:56 2008 -> Pid file removed. > Thu Mar 13 04:29:56 2008 -> --- Stopped at Thu Mar 13 04:29:56 2008 > Thu Mar 13 04:32:01 2008 -> +++ Started at Thu Mar 13 04:32:01 2008 > Thu Mar 13 04:32:01 2008 -> clamd daemon 0.92.1 (OS: linux-gnu, ARCH: > i386, CPU: i686) > Thu Mar 13 04:32:01 2008 -> Log file size limit disabled. > Thu Mar 13 04:32:01 2008 -> Reading databases from /var/lib/clamav > Thu Mar 13 04:32:01 2008 -> Not loading PUA signatures. > Thu Mar 13 04:32:01 2008 -> ERROR: Not supported data format > > And until freshclam didn't work correctly again clamd didn't work, but > clamav-milter do. So I think this error comes from clamav-milter. It > is quite strange to me, because I haven't "F=T" option in my > sendmail.mc. So if one of milters falls sendmail just ignore them and > continue to work. But whats happens, when milter are live, but daemon > is not? > Is there any ways to fix this without modifying milter source code? > And changing they reply codes for sendmail, if they can't gain daemon? Your clamav-milter needs to be configured not to send 451 when it itself cant process correctly, if thats indeed what you want to happen. The F=T is only for sendmail when it cant connect to the milter. So this is an individiual milter thing. |
|
![]() |
| Outils de la discussion | |
|
|