Opened 14 years ago

Last modified 14 years ago

#107 new enhancement

Unix Sockets

Reported by: brainkiller Owned by: naoki iimura
Priority: normal Milestone:
Component: unknown Version:
Severity: normal Keywords:
Cc:

Description

Unix socket support would be a nice feature since it's increased security and speed

Attachments (3)

unix_socket.patch (11.3 KB ) - added by naoki iimura 14 years ago.
Patch for supporting unix sockets
Proxy.pm (28.9 KB ) - added by naoki iimura 14 years ago.
Replacement of Proxy.pm
SMTP.pm (14.6 KB ) - added by naoki iimura 14 years ago.
Replacement of SMTP.pm

Download all attachments as: .zip

Change History (5)

by naoki iimura, 14 years ago

Attachment: unix_socket.patch added

Patch for supporting unix sockets

by naoki iimura, 14 years ago

Attachment: Proxy.pm added

Replacement of Proxy.pm

by naoki iimura, 14 years ago

Attachment: SMTP.pm added

Replacement of SMTP.pm

comment:1 by naoki iimura, 14 years ago

Owner: set to naoki iimura

Hi,

I've finally written a patch for supporting unix sockets. I tested the patch on Mac OS X using socat. (I've never tested the patch with real mail servers.)

This patch is for POPFile v1.1.1 RC5 but it is compatible with POPFile v1.1.0.

HOW TO USE THIS PATCH

  1. Apply the patch
  2. Start POPFile and go to the Advanced page
  3. Modify *_unix_socket to your favorite socket name (e.g. /tmp/popfile-smtp.sock)
  4. If you want to connect to the SMTP chain server via unix sockets, modify smtp_chain_unix_socket too
  5. Restart POPFile
  6. POPFile will wait for connections using unix sockets instead of inet sockets

Naoki

comment:2 by naoki iimura, 14 years ago

HOW TO USE THIS PATCH

  1. Apply the patch
  2. Start POPFile and go to the Advanced page
  3. Modify *_unix_socket to your favorite socket name (e.g. /tmp/popfile-smtp.sock)
  4. If you want to connect to the SMTP chain server via unix sockets, modify smtp_chain_unix_socket too
  5. Restart POPFile
  6. POPFile will wait for connections using unix sockets instead of inet sockets
Note: See TracTickets for help on using tickets.