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

Re: Sender_dependent_relayhost_maps table syntax

Expand Messages
  • Gilles Albusac
    Thanks ... From: Wietse Venema To: Postfix users Sent: Thursday, January 29, 2009 3:23 PM Subject: Re:
    Message 1 of 4 , Jan 29, 2009
      Thanks

      ----- Original Message -----
      From: "Wietse Venema" <wietse@...>
      To: "Postfix users" <postfix-users@...>
      Sent: Thursday, January 29, 2009 3:23 PM
      Subject: Re: Sender_dependent_relayhost_maps table syntax


      >
      > Wietse Venema:
      >> Gilles Albusac:
      >> > I have a syntax problem in my sender_dependent_relayhost_maps table
      >> > (hash table).
      >> >
      >> > I would like to add a default relay at the end of the file (the line
      >> > with *).
      >> >
      >> > /etc/postfix/sender_relay =
      >> > @... [192.168.1.1]
      >> > @... [192.168.1.2]
      >> > * [192.168.1.3]
      >>
      >> According to the docuentation:
      >>
      >> sender_dependent_relayhost_maps (default: empty)
      >> A sender-dependent override for the global relayhost parameter
      >> setting.
      >
      >
      > All you need is:
      >
      > /etc/postfix/main.cf:
      > sender_dependent_relayhost_maps = /etc/postfix/sender_relay
      > relayhost = [192.168.1.3]
      >
      > /etc/postfix/sender_relay =
      > @... [192.168.1.1]
      > @... [192.168.1.2]
      >
      > Wietse
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.