Hello,
We have a Postfix mail server (CentOS 5.7, Postfix, Courier, Virtual
Domain, MailScanner) and I want setup the autoresponder for Postifx.
I followed the instruction on
http://nefaria.com/project_index/autoresponse/
Now, the autoresponse works in command line mode. I can
add/delete/enable/disable autoresponse.
But it failed to let user to create their own autoresponse messege via
email. When I send an email to user+autorespo...@domain.tld, the mail
just drop in inbox and no autoresponse setup.
I looked the maillog and I found that the filter override seems not
working. The mail doesn't handle over to the "autoresponder", it always
goes to "relay=virtual"
Here is the maillog:
===============
Apr 13 11:10:51 zeta postfix/smtpd[26079]: warning: 24.207.43.101:
address not listed for hostname h24-207-43-101.cable.static.dccnet.com
Apr 13 11:10:51 zeta postfix/smtpd[26079]: connect from
unknown[24.207.43.101]
Apr 13 11:10:51 zeta postfix/smtpd[26079]: setting up TLS connection
from unknown[24.207.43.101]
Apr 13 11:10:51 zeta postfix/smtpd[26079]: TLS connection established
from unknown[24.207.43.101]: TLSv1 with cipher DHE-RSA-AES256-SHA
(256/256 bits)
Apr 13 11:10:51 zeta postfix/smtpd[26079]: 4F5108031:
client=unknown[24.207.43.101], sasl_method=PLAIN,
sasl_username=j...@veecall.com
Apr 13 11:10:51 zeta postfix/cleanup[26090]: 4F5108031: hold: header
Received: from [192.168.123.60] (unknown [24.207.43.101])??(using TLSv1
with cipher DHE-RSA-AES256-SHA (256/256 bits))??(No client certificate
requested)??by zeta.sjgeophysics.com (Postfix) with ESMTP from
unknown[24.207.43.101]; from=<j...@veecall.com>
to=<jgao+autorespo...@veecall.com> proto=ESMTP helo=<[192.168.123.60]>
Apr 13 11:10:51 zeta postfix/cleanup[26090]: 4F5108031:
message-id=<4f886c28.7070...@veecall.com>
Apr 13 11:10:51 zeta postfix/smtpd[26079]: disconnect from
unknown[24.207.43.101]
Apr 13 11:10:52 zeta MailScanner[23639]: New Batch: Scanning 1 messages,
1320 bytes
Apr 13 11:10:52 zeta MailScanner[23639]: Virus and Content Scanning:
Starting
Apr 13 11:10:52 zeta MailScanner[23639]: Spam Checks: Starting
Apr 13 11:10:52 zeta MailScanner[23639]: Expired 8 records from the
SpamAssassin cache
Apr 13 11:10:52 zeta MailScanner[23639]: Message 4F5108031.A4482 from
24.207.43.101 (j...@veecall.com) is whitelisted
Apr 13 11:10:54 zeta MailScanner[23639]: Requeue: 4F5108031.A4482 to
4E9208096
Apr 13 11:10:54 zeta postfix/qmgr[10040]: 4E9208096:
from=<j...@veecall.com>, size=1095, nrcpt=1 (queue active)
Apr 13 11:10:54 zeta MailScanner[23639]: Uninfected: Delivered 1 messages
Apr 13 11:10:54 zeta MailScanner[23639]: Deleted 1 messages from
processing-database
Apr 13 11:10:54 zeta postfix/virtual[26100]: 4E9208096:
to=<jgao+autorespo...@veecall.com>, relay=virtual, delay=3.4,
delays=3.4/0.01/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Apr 13 11:10:54 zeta postfix/qmgr[10040]: 4E9208096: removed
==============
And mu master.cf:
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
-o content_filter=autoresponder:dummy
submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#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 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
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=/usr/lib/cyrus-imapd/deliver -e -m
${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
#
# Other external delivery methods.
#
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
autoresponder unix - n n - - pipe
flags=Fq user=autoresponse argv=/usr/local/sbin/autoresponse -s
${sender} -r ${recipient} -S ${sasl_username} -C ${client_address}
====================================
Please help me. How can I make the sutoresponse works?
Thanks a lot!q
Jian
--