Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 8th January 2007, 22: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

Hi,
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 master.cf looks like this:
Code:
smtp      inet  n       -       n       -       -       smtpd
   -o content_filter=spamassassin

#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/vacation.pl
And My main.cf looks like this :

Code:
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/mysql_virtual_domains_maps.cf
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_uid_maps = static:89
virtual_gid_maps = static:89
virtual_transport = virtual
virtual_minimum_uid = 89
virtual_mailbox_limit = 100000000
transport_maps =
   hash:/etc/postfix/transport
   mysql:/etc/postfix/mysql_virtual_transport_maps.cf
vacation_destination_recipient_limit = 1

local_recipient_maps = proxy:unix:passwd.byname $alias_maps
mynetworks = 127.0.0.0/8
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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
Problem setting up LVS (load-balancer, linux virtual server) in Xen Virtual Machine cifroes Server Operation 1 7th November 2006 16:55
How to add a virtual IP address to ISPConfig? tdd_topdog Installation/Configuration 2 13th July 2006 13:48
Building a virtual hosting structure thim Suggest HOWTO 16 25th June 2006 13:40
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 18:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.