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

connect to transport hash: No such file or directory

Expand Messages
  • Mohamed Tahoon
    HI, i am configuring my postfix daemon to forward mails to two different destinations mail servers (example1.com, example2.com) while the folllowing warning
    Message 1 of 2 , May 2, 2012

      HI,

       

      i am configuring my postfix daemon to forward mails to two different destinations "mail servers" (example1.com, example2.com)

       

      while the folllowing warning messages appears every minute:

      # tail -10 mail.warn

      Apr 23 21:43:53 myservername postfix/qmgr[27933]: warning: connect to transport hash: No such file or directory

      Apr 23 21:44:53 myservername postfix/qmgr[27933]: warning: connect to transport hash: No such file or directory

      Apr 23 21:45:53 myservername postfix/qmgr[27933]: warning: connect to transport hash: No such file or directory

      .

      .

       

       

       

      configuration as follows:

       

      # postconf | grep relay

      address_verify_relay_transport = $relay_transport

      address_verify_relayhost = $relayhost

      fallback_relay =

      fast_flush_domains = $relay_domains

      relay_clientcerts =

      relay_domains = example1.com

      relay_domains_reject_code = 554

      relay_recipient_maps =

      relay_transport = hash:/etc/postfix/transport

      relayhost =

      unknown_relay_recipient_reject_code = 550

       

       

      # postconf | grep transport

      best_mx_transport =

      default_transport = smtp

      defer_transports =

      fallback_transport =

      local_transport = local:$myhostname

      mailbox_transport =

      relay_transport = hash:/etc/postfix/transport

      transport_maps = hash:/etc/postfix/transport

      transport_retry_time = 60s

      virtual_transport = virtual

       

       

      cat /etc/postfix/transport:

      example1.com :server1.xxx.domain1.net

       

       

       

      Regards




      The content of this email together with any attachments, statements and opinions expressed herein contains information that is private and confidential, are intended for the named addressee/s only. If you are not the addressee of this email you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this message in error, please notify Mail.Admin@... by email immediately and delete the message without making any copies.
    • Wietse Venema
      ... Specify a mail delivery transport (local, smtp, etc.), not a lookup table. Wietse http://www.postfix.org/postconf.5.html#transport relay_transport
      Message 2 of 2 , May 2, 2012
        Mohamed Tahoon:
        > relay_transport = hash:/etc/postfix/transport

        Specify a mail delivery transport (local, smtp, etc.), not a lookup table.

        Wietse

        http://www.postfix.org/postconf.5.html#transport

        relay_transport (default: relay)
        The default mail delivery transport and next-hop destination for remote
        delivery to domains listed with $relay_domains.
      Your message has been successfully submitted and would be delivered to recipients shortly.