Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Michael Smirnov                      2:5020/400     23 Oct 2001  14:28:04
 To : All
 Subject : sendmail не работает после AVP
 -------------------------------------------------------------------------------- 
 
 Hа FreeBSD 4.4 поставлен
 avp-ServerSuit-3.0.135-FreeBSD-4.x.tgz,
 sendmail-8.11.6 c
 http://home.i.cz/reho//check_virus/check_virus-1.19-8.11.4.diff
 
 В результате почта вообще не кладется в почтовый ящик,
 а навсегда застревает в очереди.
 Hаверное, проблема в sendmail, а не AVP.
 
 А с дефолтным sendmail.cf из поставки FreeBSD -работает,
 но тога на вирусы не проверяет, конечно.
 Без того патча тоже почта застревала..
 
 Архивы эхи по этому поподу
 http://groups.google.com/groups?q=avp+group%3A*ru*bsd*&hl=ru&scoring=r&btnG=
 %CF%EE%E8%F1%EA+%E2+Google&meta=
 я прочитал, но ничего не помогло.
 
 Как сделать, чтобы заработало?
 Стоит ли ставить kav-serversuit-3.0.136-freebsd-4.x.tgz  ?
 
 /usr/local/share/AVP/avpkeeper/avpkeeper.ini
 [mailer]
 sendmail=/usr/sbin/sendmail -oi -f$f $u
 mail.local=/usr/libexec/mail.local -f $f $u
 
 [avpdaemon]
 avpdaemonname=rooter@ru
 avpdaemonreturnpath=<#@[]>
 
 [link]
 connect=shm
 temppath=/tmp
 socketfile=/var/run/AvpCtl
 
 [log]
 usesyslog=no
 logfile=/var/log/avp/avpcheck%y%m%d.log
 logonlyinfected=no
 
 [group:DEFAULT]
 check=yes
 desinfect=yes
 removeinfectedpart=yes
 infectedaction=passifcured
 #infectedaction=NOTIFY
 infectednotify=rooter@ru
 attachinfected=yes
 notifyfrom=yes
 attachavpanswer=text
 
 [group:NOTCHECK]
 check=no
 to=rooter@ru
 
 [msg_sender_notify]
 subject=SENDER ! Virus found in message from you !
 #content-type="text/plain"
 line=You sent to user $u message with VIRUS .
 line=======================================
 line=AVP Report:
 line=======================================
 line=$AVPANSWER
 line=======================================
 line=Bye !
 line=
 
 [msg_recipient_notify]
 subject=RECIPIENT ! Virus found in message to you !
 #content-type="text/plain"
 line=
 line=User $f sent to you mail with virus.
 line=-------------------------------------
 line= AVP report:
 line=-------------------------------------
 line=$AVPANSWER
 line=-------------------------------------
 line=This message redirect to anton@localhost.localdomain
 line=
 
 [msg_admin_notify]
 subject=ADMIN ! ALARM ! Virus found !
 line=
 line=User $f send to user $u. mail with virus.
 line=-------------------------------------
 line=AVP report:
 line=-------------------------------------
 line=$AVPANSWER
 line=-------------------------------------
 line=
 /usr/share/sendmail/cf/avpkeeper/main.mc:
 
 divert(-1)
 divert(0)
 VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.11 2001/07/14
 18:07:27 gshapiro Exp $')
 OSTYPE(freebsd4)
 DOMAIN(generic)
 
 FEATURE(access_db, `hash -o /etc/mail/access')
 FEATURE(blacklist_recipients)
 FEATURE(local_lmtp)
 FEATURE(mailertable, `hash -o /etc/mail/mailertable')
 FEATURE(relay_based_on_MX)
 FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
 
 dnl Uncomment to activate Realtime Blackhole List
 dnl information available at http://www.mail-abuse.com/
 dnl NOTE: This is a subscription service as of July 31, 2001
 dnl FEATURE(dnsbl)
 dnl Alternatively, you can provide your own rejection message for the RBL:
 dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from "
 $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?"
 $&{client_addr}')
 
 dnl Other DNS based black hole lists
 dnl --------------------------------
 dnl MAPS Relay Spam Stopper (RSS): http://mail-abuse.org/rss/
 dnl NOTE: This is a subscription service as of July 31, 2001
 dnl FEATURE(dnsbl, `relays.mail-abuse.org', `"550 Mail from "
 $&{client_addr} " rejected; see http://mail-abuse.org/cgi-bin/nph-rss?"
 $&{client_addr}')
 
 dnl MAPS Dial-up User List (DUL): http://maps.vix.com/dul/
 dnl NOTE: This is a subscription service as of July 31, 2001
 dnl FEATURE(dnsbl, `dialups.mail-abuse.org', `"550 Mail from dial-up
 rejected; see http://mail-abuse.org/dul/enduser.htm"')
 
 dnl Dialup users should uncomment and define this appropriately
 dnl define(`SMART_HOST', `your.isp.mail.server')
 
 dnl Uncomment the first line to change the location of the default
 dnl /etc/mail/local-host-names and comment out the second line.
 dnl define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
 define(`confCW_FILE', `-o /etc/mail/local-host-names')
 
 dnl Uncomment both of the following lines to listen on IPv6 as well as IPv4
 dnl DAEMON_OPTIONS(`Name=IPv4, Family=inet')
 dnl DAEMON_OPTIONS(`Name=IPv6, Family=inet6')
 
 define(`confMAX_MIME_HEADER_LENGTH', `256/128')
 define(`confNO_RCPT_ACTION', `add-to-undisclosed')
 define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
 
 define(`AVPKEEPER_MAILER',`/usr/local/share/AVP/avpkeeper/avpkeeper')
 define(`AVPKEEPER_CONFIG',`/usr/local/share/AVP/avpkeeper/avpkeeper.ini')
 define(AVP_LOCAL_HACK)
 define(`AVPKEEPER_LOCAL_MAILER',`mail.local')
 define(`confCOPY_ERRORS_TO',`postmaster')dnl
 
 MAILER(local)
 MAILER(smtp)
 MAILER(avpkeeper)
 /var/log/maillog:
 Oct 22 13:18:17 db sendmail[22621]: f9M9IHN22621:
 from=<sencher@mh.vstu.edu.ru>, s
 ize=1673, class=0, nrcpts=1,
 msgid=<004501c15ada$7f1aaeb0$2400a8c0@ivc.vstu.edu.
 
 ru>, proto=ESMTP, daemon=MTA, relay=mh.vstu.edu.ru [194.190.248.3]
 
 Oct 22 13:18:17 db sendmail[22633]: f9M9IHE22633:
 from=sencher@mh.vstu.edu.ru, siz
 e=1939, class=0, nrcpts=0,
 msgid=<004501c15ada$7f1aaeb0$2400a8c0@ivc.vstu.edu.ru
 
 >, relay=root@localhost
 
 Oct 22 13:18:17 db sendmail[22633]: f9M9IHE22633:
 to=sencher@db.vstu.edu.ru.AVP, d
 elay=00:00:00, mailer=local, pri=1939, dsn=4.4.3, stat=queued
 Oct 22 13:18:18 db sendmail[22623]: f9M9IHN22621:
 to=<sencher@db.vstu.edu.ru>, del
 ay=00:00:01, xdelay=00:00:01, mailer=avpkeeper, pri=31673,
 relay=db.vstu.edu.ru.
 AVP, dsn=2.0.0, stat=Sent
 /var/log/avp/avpcheck011022.log
 13:18:17 22/10/01 [22624] cnt=1024
 13:18:17 22/10/01 [22624] from=sencher@mh.vstu.edu.ru,
 to=sencher@db.vstu.edu.ru, gr
 oup=DEFAULT, result=OK
 --- ifmail v.2.15dev5
  * Origin: Demos online service (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 sendmail не работает после AVP   Michael Smirnov   23 Oct 2001 14:28:04 
 Re: sendmail не работает после AVP   Aleksander Maksimov   26 Oct 2001 05:11:55 
Архивное /ru.unix.bsd/2725223ae10f9.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional