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

276872Sender dependent issue

Expand Messages
  • Dragan Zubac
    Apr 29, 2011
    • 0 Attachment
      Hello

      I'm trying to achieve the following :

      1. email arrives to local@... ,should be delivered locally to
      account local
      2. email arrives from anything@... to anything@...
      (excluding 'local@...') ,the email should be forwarded to remote
      smtp ([10.0.0.202]:52345) using user/pass from sasl_passwd file

      Config files are :

      /etc/postfix/main.cf

      myhostname = mail2.routo-messaging.com
      alias_maps = hash:/etc/aliases
      alias_database = hash:/etc/aliases
      myorigin = /etc/mailname
      mydestination = domain.com,localhost
      relayhost =
      mailbox_command = procmail -a "$EXTENSION"
      mailbox_size_limit = 0
      recipient_delimiter = +
      inet_interfaces = all
      virtual_alias_maps = hash:/etc/postfix/virtual
      smtp_sender_dependent_authentication = yes
      sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay
      smtp_sasl_auth_enable = yes
      smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

      ***********************************************************************
      /etc/postfix/virtual

      local@... local

      ***********************************************************************
      /etc/postfix/sender_relay

      anything@... [10.0.0.202]:52345

      ***********************************************************************

      /etc/postfix/sasl_passwd

      anything@... username:password

      ***********************************************************************

      Is this setup possible ?

      Sincerely

      Dragan Zubac
    • Show all 24 messages in this topic