Ticket #107 (new enhancement)

Opened 8 years ago

Last modified 8 years ago

Unix Sockets

Reported by: brainkiller Assigned to: amatubu
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

unix_socket.patch (11.3 kB) - added by amatubu on 07/31/09 20:17:29.
Patch for supporting unix sockets
Proxy.pm (28.9 kB) - added by amatubu on 07/31/09 20:18:51.
Replacement of Proxy.pm
SMTP.pm (14.6 kB) - added by amatubu on 07/31/09 20:19:23.
Replacement of SMTP.pm

Change History

07/31/09 20:17:29 changed by amatubu

  • attachment unix_socket.patch added.

Patch for supporting unix sockets

07/31/09 20:18:51 changed by amatubu

  • attachment Proxy.pm added.

Replacement of Proxy.pm

07/31/09 20:19:23 changed by amatubu

  • attachment SMTP.pm added.

Replacement of SMTP.pm

07/31/09 20:27:54 changed by amatubu

  • owner set to amatubu.

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

07/31/09 20:29:48 changed by amatubu

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