/var/log/maillog
Apr 26 17:49:25 mail1 postfix/smtpd[1880]: connect from
unknown[210.212.130.142]
Apr 26 17:49:25 mail1 postfix/smtpd[1880]: 82CB04A38F:
client=unknown[210.212.130.142]
Apr 26 17:49:27 mail1 postfix/cleanup[1882]: 82CB04A38F:
message-id=<NGBBINABOLKANPGIEE...@mail1.egujarat.net>
Apr 26 17:49:27 mail1 postfix/qmgr[1877]: 82CB04A38F:
from=<ema...@mail1.egujarat.net>, size=900, nrcpt=1 (queue active)
Apr 26 17:49:27 mail1 postfix/smtpd[1880]: disconnect from
unknown[210.212.130.142]
Apr 26 17:49:27 mail1 pop3d: Connection, ip=[::ffff:210.212.130.142]
Apr 26 17:49:36 mail1 postfix/pickup[1876]: A599E4A398: uid=501
from=<ema...@mail1.egujarat.net>
Apr 26 17:49:36 mail1 postfix/cleanup[1882]: A599E4A398:
message-id=<NGBBINABOLKANPGIEE...@mail1.egujarat.net>
Apr 26 17:49:36 mail1 postfix/pipe[1884]: 82CB04A38F:
to=<kunal...@egujarat.net>, relay=filter, delay=11, status=sent (dummy)
Apr 26 17:49:36 mail1 postfix/qmgr[1877]: A599E4A398:
from=<ema...@mail1.egujarat.net>, size=1269, nrcpt=1 (queue active)
Apr 26 17:49:36 mail1 ravpostfix[1894]: data received... begin scanning...
Apr 26 17:49:36 mail1 ravpostfix[1894]: scanning returns OK... sending
file...
Apr 26 17:49:36 mail1 postfix/smtpd[1896]: connect from mail1[127.0.0.1]
Apr 26 17:49:36 mail1 postfix/smtpd[1896]: B2E354A38F:
client=mail1[127.0.0.1]
Apr 26 17:49:36 mail1 postfix/smtpd[1896]: B2E354A38F: reject: RCPT from
mail1[127.0.0.1]: 554 <kunal...@egujarat.net>: Relay access denied;
from=<ema...@mail1.egujarat.net> to=<kunal...@egujarat.net> proto=SMTP
helo=<127.0.0.1>
Apr 26 17:49:38 mail1 postfix/smtpd[1896]: warning: mail1[127.0.0.1] sent
Received: header instead of SMTP command: Received: by mail1.egujarat.net
(Postfix, from userid 501)
Apr 26 17:49:38 mail1 postfix/smtpd[1896]: disconnect from mail1[127.0.0.1]
Apr 26 17:49:38 mail1 ravpostfix[1894]: Can't read from socket!
Apr 26 17:49:38 mail1 ravpostfix[1894]: Cannot send a mail file to SMTP
server running on 127.0.0.1 port 10026
Apr 26 17:49:38 mail1 ravpostfix[1894]: Temporary error. The mail will be
reinjected in Postfix queue.
Apr 26 17:49:38 mail1 postfix/smtp[1893]: A599E4A398:
to=<kunal...@egujarat.net>, relay=127.0.0.1[127.0.0.1], delay=2,
status=deferred (host 127.0.0.1[127.0.0.1] said: 450 temporary error: cannot
send mail (in reply to end of DATA command))
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:[127.0.0.1]:10025
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Maildir/
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain
myhostname = mail1.egujarat.net
mynetworks = $config_directory/mynetworks
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /etc/postfix/readme
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
strict_rfc821_envelopes = yes
unknown_local_recipient_reject_code = 450
btw the ip 210.212.130.142 is in my mynetworks file. as defined by
mynetworks = $config_directory/mynetworks
master.cf
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd -o
content_filter=filter:dummy
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
filter unix - n n - - pipe
flags=Rq user=filter argv=/usr/local/anomy/filter.sh -f ${sender} --
${recipient}
#rav-begin: RAV AntiVirus Configuration
127.0.0.1:10026 inet n - n - 100 smtpd
-o content_filter=
-o myhostname=dummy.domain.name
-o local_recipient_maps=
#rav-end
ps -ax
1813 ? S 0:00 ravmd: supervise RAV scanning process...
1814 ? S 0:00 ravmd: accepting connections...
1816 ? S 0:00 ravmd: logging process...
1834 ? S 0:00 ravpostfix: supervise ravpostfix SMTP server...
1835 ? S 0:00 ravpostfix: waiting on 127.0.0.1:10025
anomy/spamassassin works fine but RAV doesn't..... HELP.
though a ps -ax shows rav is running and a netstat -anp shows that 10026 is
being listened on but the service doesn't show
Thanks
Kunal
add 127.0.0.1/8 to mynetworks
> mynetworks = $config_directory/mynetworks
--
Ralf Hildebrandt Ralf.Hil...@charite.de
my current spamtrap partmap...@charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
The doctrine of human equality reposes on this: that there is no man
really clever who has not found that he is stupid.
thanks for the same
Kunal
> ok works perfectly now. but shouldn't 127.0.0.1 be taken by default?
You (or your distribution) changed the default.
--
Ralf Hildebrandt Ralf.Hil...@charite.de
my current spamtrap partmap...@charite.de
http://www.arschkrebs.de/postfix/ Tel. +49 (0)30-450 570-155
And others again have been told what a Unix would be and how it is
working. If this people are extraterrestrial or an ancient
mainframe-team of IBM (the difference is not that big), and they then
try to build a Unix, you will get a AIX 2 and 3 - a hybride monster
with green blood which will not kill you maybe, but when you look at
the innwards you wish you where dead afterwards.