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

297700Re: Postfix smtp via socks5

Expand Messages
  • Wietse Venema
    Jan 25, 2014
    • 0 Attachment
      Andrzej A. Filip:
      > > You can try:
      > >
      > > /etc/postfix/main.cf:
      > > import_environment = LD_PRELOAD=/path/to/object remainder of default
      > > $import_environment settings
      > >
      > > I make no promises that this will be sufficient. For example,
      > > features such as mynetworks look at local network interfaces, and
      > > that will not work.
      >
      > Is it possible to set/pass environment variables per master.cf entry?

      There currently is no code to set environments for individual
      daemons, because until now such code was not needed.

      It is easy enough to wrap the smtpd(8) or smtp(8) executable with
      a small program that sets the environment.

      There are no promises that automatic socksification will work.
      Postfix daemons make socket calls not only for email delivery but
      also to talk to other Postfix daemons.

      Wietse
    • Show all 13 messages in this topic