From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of J Gao
Sent: Saturday, April 14, 2012 12:48 AM
To: postfix-users@postfix.org
Subject: Re: Autoresponse for Postfix problem

 

On 12-04-13 11:35 AM, Tom Hendrikx wrote: 

On 13-04-12 20:24, J Gao wrote:

 
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/
 
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]: 4F5108031:
client=unknown[24.207.43.101], sasl_method=PLAIN,
sasl_username=j...@veecall.com

 
The message arrives from an sasl authenticated client...

Yes, this is required by the autoresponse perl script.
From: http://nefaria.com/project_index/autoresponse/
"For security reasons, SASL authentication is required in order to configure
autoresponses via e-mail "




 
 

And mu master.cf:
==========================================================================
# 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

 
Only submission seems to have sasl enabled, which you are using.
But you seem to have the autoresponder only on the smtpd interface, not
on the submission interface.
 
 
Kind regards,
        Tom
 

Sorry I am still learning Postfix. So do you mean I should add the filter to
submission as well?



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
   -o content_filter=autoresponder:dummy
 

 

If you use webmin, There is a option to set auto response in to it. I have
checked it and found useful.

 

Thanks/Regards,

Vishal Agarwal

 

Reply via email to