View Single Post
Old 8th January 2007, 23:05
justix justix is offline
Junior Member
Join Date: Dec 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Virtual Vacation with Postfixadmin

I am really new to this.
But I finally managed to setup Postfix+MySQL+Doveot+Spamassassin+postfixadmin on Redhat.

And I am stuck with virtual vacation setup for 3 weeks. I can't figure this out.
Can someone help? I am getting an error. When I try to send email to user who enabled vacation, the sender doesn't get the autoreply message (he is supposed to get it) and the recipient user mailbox is getting 3 same messages that sender has originally sent.

Please help.

My looks like this:
smtp      inet  n       -       n       -       -       smtpd
   -o content_filter=spamassassin

spamassassin unix -   n   n   -   -   pipe
   user=nobody argv=/usr/bin/spamc -f -e
   /usr/sbin/sendmail.postfix -oi -f ${sender} ${recipient}
#Vacation / Autoreply
vacation  unix   -   n   n   -   -   pipe
  flags=DRhu user=vacation:vacation argv=/usr/bin/perl argv=/var/spool/vacation/
And My looks like this :

broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sender_restrictions = permit_sasl_authenticated

virtual_mailbox_domains = mysql:/etc/postfix/
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_maps = mysql:/etc/postfix/
virtual_alias_maps = mysql:/etc/postfix/
virtual_uid_maps = static:89
virtual_gid_maps = static:89
virtual_transport = virtual
virtual_minimum_uid = 89
virtual_mailbox_limit = 100000000
transport_maps =
vacation_destination_recipient_limit = 1

local_recipient_maps = proxy:unix:passwd.byname $alias_maps
mynetworks =
allow_percent_hack = yes
mailbox_command = /usr/bin/procmail
local_header_rewrite_clients = static:all
smtpd_client_recipient_rate_limit = 10
smtpd_recipient_limit = 100
Reply With Quote
Sponsored Links