Loading ...
Sorry, an error occurred while loading the content.

Postfix + Virtual_transport + yaa

Expand Messages
  • Klaus Zahradnik
    Hello List! I have Postfix set up for virtual delivery for multiple domains. Now we would like to use vacation messages for obvious reasons. The only peace of
    Message 1 of 3 , Feb 1, 2006
    • 0 Attachment
      Hello List!

      I have Postfix set up for virtual delivery for multiple domains. Now we
      would like to use vacation messages for obvious reasons.
      The only peace of software that I could find to work with postfix and
      mysql is yaa.
      However, I am too dumb to get it to work and I was hoping you guys could
      help me out.

      The problem is, that I cannot get yaa to trigger nor do I have any
      logfile output. Mails are still beeing delivered without any problems.

      postconf -n
      alias_maps = hash:/etc/aliases
      always_bcc = vacation@autoreply.i-net.at
      command_directory = /usr/sbin
      config_directory = /etc/postfix
      daemon_directory = /usr/libexec/postfix
      debug_peer_level = 2
      html_directory = /var/www/html/postfix
      inet_interfaces = all
      mail_owner = postfix
      mailbox_command_maps = hash:/etc/postfix/mailbox_commands
      mailq_path = /usr/bin/mailq
      manpage_directory = /usr/local/man
      mynetworks = 127.0.0.0/8, 85.124.67.224/27, 81.223.242.224/27,
      mysql:/etc/postfix/mysql_mynetwork_maps.cf
      mynetworks_style = host
      newaliases_path = /usr/bin/newaliases
      queue_directory = /var/spool/postfix
      readme_directory = /root/postfix/
      recipient_bcc_maps = hash:/etc/postfix/sender_bcc_maps
      sample_directory = /etc/postfix
      sender_bcc_maps = hash:/etc/postfix/sender_bcc_maps
      sendmail_path = /usr/sbin/sendmail
      setgid_group = postdrop
      unknown_local_recipient_reject_code = 550
      virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
      virtual_gid_maps = static:89
      virtual_mailbox_base = /usr/local/virtual
      virtual_mailbox_domains =
      mysql:/etc/postfix/mysql_virtual_domains_maps.cf
      virtual_mailbox_limit = 51200000
      virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
      virtual_minimum_uid = 89
      virtual_transport = virtual
      virtual_uid_maps = static:89

      [master.cf]
      smtp inet n - n - - smtpd
      yaa unix - n n - - pipe
      user=postfix

      argv=/usr/local/yaa-0.3/bin/yaa.pl
      [/master.cf]

      [transport]
      autoreply.i-net.at yaa:
      [/transport]

      [yaa.conf]
      attached
      [/yaa.conf]

      Thanks in advance and
      kind regards
      Klaus
    • Klaus Zahradnik
      I did find an obvious mistage: transport_maps = hash:/etc/postfix/transport was missing... (now that is emberassing!)
      Message 2 of 3 , Feb 1, 2006
      • 0 Attachment
        I did find an obvious mistage:
        transport_maps = hash:/etc/postfix/transport
        was missing... (now that is emberassing!)
      • Klaus Zahradnik
        ... Ups! Accidentely hit + - sorry for that! Now I do have the following in my maillog: Feb 1 13:37:25 bart postfix/qmgr[31707]: 97D7D6400E:
        Message 3 of 3 , Feb 1, 2006
        • 0 Attachment
          On Wednesday 01 February 2006 13:45, Klaus Zahradnik wrote:
          > I did find an obvious mistage:
          > transport_maps = hash:/etc/postfix/transport
          > was missing... (now that is emberassing!)

          Ups! Accidentely hit <crtl>+<enter> - sorry for that!

          Now I do have the following in my maillog:

          Feb 1 13:37:25 bart postfix/qmgr[31707]: 97D7D6400E:
          to=<vacation@autoreply.i-net.at>, relay=none, delay=0, status=deferred
          (delivery temporarily suspended: unknown mail transport error)

          The message does get delivered to the users mailbox fine - just the
          autoresponder acts up.

          Kind regards
          Klaus
        Your message has been successfully submitted and would be delivered to recipients shortly.