No Description

Juan José Gutiérrez de Quevedo Pérez b24e8501d9 add readme 3 weeks ago
docs aa44aca5c7 add an example for the windows version 12 years ago
win32-installer fdb0b6d33e added installer 12 years ago
Makefile c7cafb1e63 separate config functions in config.{c,h} 12 years ago
Makefile.win fdb0b6d33e added installer 12 years ago
README.md b24e8501d9 add readme 3 weeks ago
auth.c 301a4caf6b add gpl2 licence to source files 12 years ago
auth.h 301a4caf6b add gpl2 licence to source files 12 years ago
base64.c 61b6bef780 initial commit 12 years ago
base64.h 61b6bef780 initial commit 12 years ago
config.c 301a4caf6b add gpl2 licence to source files 12 years ago
config.h 301a4caf6b add gpl2 licence to source files 12 years ago
saop.c 301a4caf6b add gpl2 licence to source files 12 years ago
utils.c 301a4caf6b add gpl2 licence to source files 12 years ago
utils.h 301a4caf6b add gpl2 licence to source files 12 years ago
win32-service.c fdb0b6d33e added installer 12 years ago

README.md

saop

saop adds authentication to any smtp server, using a pop3 or imap4 server as the authentication backend.

To do so, it sits in the middle of an SMTP session and intercepts login attempts. It then captures the user and password and uses them to authenticate against a POP3 server, an IMAP4 server or a password list.

It was created for the IIS SMTP service on windows, although the code compiles and works on linux (even better than on windows). In the case of IIS, it allows the SMTP service to authenticate users with the same user/password as the POP3 service without having to define local users.

I've tested it with postfix and dovecot and with IIS' SMTP and POP3 service, but it should run with any server combinations. On windows it installs as a service and runs at startup.

saop doesn't have any dependencies apart from a pthread library. On Linux it should be included as part of glibc, but on windows you'll need to download pthreads-w32 separately in case you want to compile it. It's included on the installer, so if all you want to do is execute saop, then just download the installer and you are good to go.

documentation

Documentation is included in the distribution file and an example of a configuration file is included.

license

saop is licensed under the GPL