Am incercat sa pun ravul pentru mail pe un RH 7.1. Am facut modificarile
de rigoare, dar cand am facut testul (adica am trimis in retea un e-mail)
imi dadea urm. eroare
Apr 2 14:35:20 goga sendmail[24233]: g32BZKN24233:
Authentication-Warning: goga.isjsibiu.ro: php owned process doing -bs
Apr 2 14:35:20 goga sendmail[24233]: g32BZKN24233:
from=<[EMAIL PROTECTED]>, size=271, class=0, nrcpts=1,
msgid=<[EMAIL PROTECTED]>,
proto=ESMTP, relay=php@localhost
Apr 2 14:35:20 goga sendmail[24235]: g32BZKN24233:
to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00,
mailer=ravsendmail, pri=30271, relay=cristian<@goga.isjsibiu.ro.>,
dsn=4.0.0, stat=Deferred
Am urmat pasii urmatori:
3. Modify sendmail configuration
= =============================
A) Modifications in sendmail.cf
====================================
a) In "Ruleset 0" section, the line:
R$* $: $>Parse1 $1 final parsing
must be replaced with:
R$* $#ravsendmail $@$1 $:$1
!!!NOTE: attention with tabs:"R$*<tab><tab>$#ravsendmail $@$1 $:$1"
b) In "MAILER DEFINITIONS" section you must add:
Mravsendmail, P=/usr/local/rav8/bin/ravsendmail, F=ClADFMSPhu, S=0, R=0,
T=DNS/RFC822/X-Unix,
A=ravsendmail $h $f $u $i
c) Write next line in "Format of headers" section:
HX-RAV-AntiVirus: This e-mail has been scanned for viruses on host: $j
if you want that scanned mails have such a information on their header.
Be careful with its position among other lines. For example:
H?P?Return-Path: <$g>
HReceived: $?sfrom $s $.$?_($?s$|from $.$_)
$.by $j ($v/$Z)$?r with $r$. id $i$?u
for $u; $|;
$.$b
HX-RAV-AntiVirus: This e-mail has been scanned for viruses on host: $j
H?D?Resent-Date: $a
H?D?Date: $a
H?F?Resent-From: $?x$x <$g>$|$g$.
H?F?From: $?x$x <$g>$|$g$.
H?x?Full-Name: $x
# HPosted-Date: $a
# H?l?Received-Date: $b
H?M?Resent-Message-Id: <$t.$i@$j>
H?M?Message-Id: <$t.$i@$j>
B) Modifications in sendmail.cf.orig
=========================================
Set the new mail queue directory for sendmail.orig:
# queue directory
#O QueueDirectory=/var/spool/mqueue
O QueueDirectory=/var/spool/rav/sendmail
Set a new status file for sendmail.orig:
# status file
#O StatusFile=/var/log/sendmail.st
O StatusFile=/var/log/sendmail.st.orig
Set a new pid file for second sendmail (for sendmail >= 8.11 only):
# location of pid file
#O PidFile=/var/run/sendmail.pid
O PidFile=/var/run/sendmail.pid.orig
Directory /var/spool/rav/sendmail must has the same access rights and
owners as /var/spool/mqueue (this is set by rpm).
drwxr-xr-x 2 root mail 12288 Feb 27 02:27 mqueue
drwxr-xr-x 2 root mail 24576 Feb 27 02:28 sendmail
Dar imi dadea eroarea de mai sus.
A mai lucrat cineva cu SENDMAIL si RAV? Ma puteti ajuta?
Va multumesc
---
<a href="mailto:[EMAIL PROTECTED]?Subject=unsubscribe%20rlug">unsubscribe</a>
REGULI, arhive si alte informatii: http://www.lug.ro/mlist/