Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-15-2012, 03:50 AM   #1
LQ Newbie
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled
Postfix virtual vacation


I have all my mail domains, users, mappings and etc on sql database and I'm trying to get that postfixadmin's "auto reply" to work. I have installed
all the required perl modules and so on followed the instructions as good as I can.

smtp-amavis unix - - y - 2 smtp
-o smtp_data_done_timeout=1200
-o disable_dns_lookups=yes
-o smtp_send_xforward_command=yes
-o max_use=20

smtp inet n - - - - smtpd
-o content_filter=spamassassin

spamassassin unix - n n - - pipe
user=spamd argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}

vacation unix - n n - - pipe
flags=Rq user=vacation argv=/var/spool/vacation/ -f ${sender} -- ${recipient}
# flags=DRhu user=vacation argv=/var/spool/vacation/ inet n - y - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=
-o strict_rfc821_envelopes=yes

smtps inet n - n - - smtpd
-o smtpd_enforce_tsl=yes
-o smtpd_sasl_auth_enable=yes
587 inet n - n - - smtpd
-o smtpd_enforce_tsl=yes
-o smtpd_sasl_auth_enable=yes no modifications as all my settings are in sql database. VIRTUAL_VACATION/INSTALL.TXT says that I have to put like this:

transport_maps = hash:/etc/postfix/transport vacation:

but I already got it like this

transport_maps = mysql:/etc/postfix/

that file looks like this


and when I look to database table domain and field transport it says "virtual". No matter if I change there "vacation" or "vacation:" or "monkey" or "boobs". mmm boobs

How ever if I use on vacation domain the mail.log says:

May 15 09:13:16 mail postfix/smtp[11815]: 399DB1815DB: to=<>, relay=none, delay=0.23, delays=0.01/0.04/0.18/0, dsn=5.4.4, status=bounced (Host or domain n
ame not found. Name service error for type=A: Host not found)

If I put that to DNS then it says

May 15 09:49:26 mail postfix/smtp[12672]: E17731815DB: to=<>, relay=none, delay=0.16, delays=0.02/0.09/0.05/0, dsn=5.4.6, status=bounced (mail for loops back to myself)

What I'm doing wrong now? Does someone got working Postfix autoreply "" system with sql backend with multiple virtual domains and users? How can I check that mail is really passed throught's script..

Last edited by kafka79; 05-15-2012 at 04:43 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vacation on Postfix Server carlosinfl Linux - Server 1 10-14-2010 06:53 AM
Postfix vacation issue izghitu Linux - Software 0 04-03-2008 05:53 PM
postfix vacation tomazN Linux - Software 0 08-06-2007 03:41 AM
Vacation message for postfix. SSBN Linux - Networking 0 05-29-2005 09:27 AM
vacation not working with postfix jmcollin92 Linux - Software 5 09-22-2004 12:17 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration