BSD Ports

security/clamsmtp 1.10_6 FreeBSD

ClamAV anti-virus SMTP Filter

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE
Categories
security
Package size
30.1 KiB, 55.9 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDsecurity/clamsmtp1.10_6
OpenBSDmail/clamsmtp1.10.2
NetBSDmail/clamsmtp1.10nb1
DragonFlysecurity/clamsmtp1.10_6
MidnightBSDsecurity/clamsmtp1.10_5

Install

Binary package:

pkg install clamsmtp

From the ports tree:

cd /usr/ports/security/clamsmtp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	clamsmtp>0:security/clamsmtp

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.10_61.10_6-1.10_61.10_6
FreeBSD:14:quarterly1.10_61.10_6n/a1.10_61.10_6
FreeBSD:15:latest1.10_61.10_6n/a1.10_61.10_6
FreeBSD:15:quarterly1.10_61.10_6n/an/an/a
FreeBSD:16:latest1.10_61.10_6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 3
Run dependencies 19

No port depends on this one.

Configuration

Options name: security_clamsmtp

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
LOCAL_CLAMAVonRUN_DEPEND on security/clamav
USES
gmake
Service scripts
clamsmtpd

Message after installing

Edit /etc/rc.conf and set

clamsmtpd_enable="YES"

to enable clamsmtpd.

Also, there is a clamsmtpd.conf-sample in /usr/local/etc/,
rename to clamsmtpd.conf, otherwise specify -f option to your
config file.

To work with postfix, See also
http://memberwebs.com/nielsen/software/clamsmtp/postfix.html

===>   NOTICE:

The clamsmtp port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

Manual pages 2
  • clamsmtpd(8)
  • clamsmtpd.conf(5)
pkg-plist 4
  • @sample etc/clamsmtpd.conf.sample
  • share/man/man5/clamsmtpd.conf.5.gz
  • share/man/man8/clamsmtpd.8.gz
  • sbin/clamsmtpd
distinfo 1
FileSizeSHA256
clamsmtp-1.10.tar.gz217126a52fdb4b26e11ece30c478a806c95b1eda16f4e73937bd560ece7017fb0df92a
Master sites 1
  • http://thewalter.net/stef/software/clamsmtp/

Commit history 0

No commits in the history this site was built from.