the owner of all installed files is a non-root user. This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.
(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
unprivileged.mk. These two variables are lists of other bmake
variables that define package-specific users and groups. Packages
that have user-settable variables for users and groups, e.g. apache
and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
and ${UNPRIVILEGED_GROUP}.
(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
1.7 [2006-08-10]
- Fix crashes when connection goes down unexpectedly.
- Add support for letting virus emails pass.
- Better message for 'busy' [Akihiro Sagawa]
- IMPORTANT: Removed support for listening on ports under < 1024
- Support embedded NULLs in email data.
- Fix problems with not listening properly when in daemon mode
- Fix warnings when compiled with gcc 4.0
- Handle empty addresses properly in logs.
- Don't let exchange send it's strange binary data through the proxy
- More Solaris fixes :(
- Don't reject emails when server is overloaded or errors.
- Don't reject emails when starting the filter command fails.
Changes:
- Handle condition of server refusing data transfers more gracefully.
- Less chatty when setting timeouts fail
- Drop privileges after binding to port. Allows listening on ports < 1024
- Ported to Solaris
- Fix problem with binding to certain 'long' addresses
And always is defined as share/examples/rc.d
which was the default before.
This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.
This was discussed on tech-pkg in late January and late April.
Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
Changes:
- Documentation fixes [Sean Franklin]
- Don't leak file descriptors when clamsmtpd can't connect to outgoing
SMTP server [Chris Mason]
- Now accepts special format arguments on 'Header' line [Olivier Beyssac]
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.
This is from ideas from Greg Woods and others.
Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
Changes:
- XCLIENT support
- Drop XCLIENT commands coming in from clients for security.
- Added the sample virus_action.sh script to the distribution
- Documentation fixes [Olivier Beyssac]
Changes:
- Added CLIENT and SERVER variables to VirusAction script environment.
- Even better logging for network errors.
- Print out clamsmtp version in debug logs
- Allow configuration of server keep alives (NOOPs). Default to none
Changes:
- Removed user option from startup script (use User config option)
- Don't send lines that are too long to syslog [Ben Mesman]
- Stable release
Changes:
- Fixed problem when filtering the last of a list of EHLO responses
- Send NOOPs to the server when receiving data slowly from client
to prevent timeouts on the server side.
- Made the log line always keep the status, rather than dropping of
the end in the case of many recipeints.
0.9.5
- Fixed problems with the select zeroing out timeouts.
- Added support for setting the PidFile from the config file
0.9
- Don't quit when too many threads created
- Restructured smtp passthru system so it can be used by other apps
- Better IO and SMTP parsing
- Changed default header to be similar to Amavis
- Compiles and runs on systems without error checking mutexes
- Ability to drop privileges and run as a different user [Rubio Vaughan]
- Fixed config file bugs
- Virus Actions. Run a script every time a virus is found.
- By default don't use ClamAV sessions. This fixes several stability
problems that were being experienced with clamd.
Changes:
0.8
- clamsmtpd now uses a configuration file
- Transparent proxy support [Andreas Steinmetz]
- Compile option -Wall only enabled on debug builds
- Sample script changed due to configuartion file
- Fixed other minor bugs
Changes:
- Added support for ESMTP [Andreas Steinmetz]
- Fixed crash when too many connections established
- Announce ourselves as 'clamsmtp' in EHLO/HELO responses which fixes 'loopback'
problems with certain versions of Postfix 1.x
- Better IO performance under heavy load
- Fixed most warnings when compiled with -Wall
- Fixed other minor bugs
Changes:
- Announce ourselves as 'clamsmtp' in banner to prevent loop warnings
- Fixed endless loop that occurred on failure to connect out
- Added option for leaving all files in temp directory (debugging purposes)
- Prints version number when run with -v
Changes:
- Option for quarantining files with viruses
- Fixed problem with returning wrong SMTP error code
- Handling timeouts properly
- Fixed stupid problem with sockets not getting closed properly
ClamSMTP is an SMTP filter that allows you to check for viruses using
the ClamAV anti-virus software. It accepts SMTP connections and
forwards the SMTP commands and responses to another SMTP server. The
'DATA' email body is intercepted and scanned before forwarding.
ClamSMTP aims to be lightweight, reliable, and simple rather than have
a myriad of options. It's written in C without major dependencies.
If you need more options then you could use something big like AMaViS
which is written in PERL and can do almost anything.