smtpd
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 19
qmail-smtpd-auth 0.31
qmail-smtpd-auth is a patch for qmail that enables it to support SMTP AUTH protocol. more>>
qmail-smtpd-auth is a patch for qmail that enables it to support SMTP AUTH protocol with the following auth types: LOGIN, PLAIN and CRAM-MD5. Its based on a previous patch by Mrs.Brisby that implemented LOGIN type. This version has some enhancements and allows easy adding of new auth methods.
If you want to learn more about SMTP AUTH itself, then visit my SMTP AUTH page.
This patch adds the ESMTP AUTH option to qmail-1.03, allowing the LOGIN, PLAIN, and CRAM-MD5 AUTH types. An appropriate checkpassword tool is necessary to support the authentication. See http://cr.yp.to/checkpwd.html for more information on the interface. Note that the checkpassword tool should support all of the AUTH types
advertised by qmail-smtpd.
As reflected in the modified qmail-smtpd(8) man page, qmail-smtpd must be invoked with three arguments: hostname, checkprogram, and subprogram. If these arguments are missing, qmail-smtpd will still advertise availability of AUTH, but will fail with a permanent error when AUTH is used.
hostname is simply used to form the CRAM-MD5 challenge. qmail-smtpd invokes checkprogram, feeding it the username and password, in the case of LOGIN or PLAIN, or the username, challenge, and response, in the case of CRAM-MD5. If the user is permitted, checkprogram invokes subprogram, which just has to exit with a status of 0 for the user to be authenticated. Otherwise, checkprogram exits with a non-zero
status. subprogram can usually be /usr/bin/true (or /bin/true, depending on your flavor of OS).
If the user is successfully authenticated, the RELAYCLIENT environment variable is effectively set for the SMTP session, and the TCPREMOTEINFO environment variable is set to the authenticated username, overriding any value that tcpserver may have set. The
value of TCPREMOTEINFO is reflected in a Received header.
Enhancements:
- bug: AUTH PLAIN 334 response not RFC compliant. Reported by Mark Crispin
- .
- change: Set TCPREMOTEINFO environment variable to authenticated username. (Previously only set locally to qmail-smtpd.)
<<lessIf you want to learn more about SMTP AUTH itself, then visit my SMTP AUTH page.
This patch adds the ESMTP AUTH option to qmail-1.03, allowing the LOGIN, PLAIN, and CRAM-MD5 AUTH types. An appropriate checkpassword tool is necessary to support the authentication. See http://cr.yp.to/checkpwd.html for more information on the interface. Note that the checkpassword tool should support all of the AUTH types
advertised by qmail-smtpd.
As reflected in the modified qmail-smtpd(8) man page, qmail-smtpd must be invoked with three arguments: hostname, checkprogram, and subprogram. If these arguments are missing, qmail-smtpd will still advertise availability of AUTH, but will fail with a permanent error when AUTH is used.
hostname is simply used to form the CRAM-MD5 challenge. qmail-smtpd invokes checkprogram, feeding it the username and password, in the case of LOGIN or PLAIN, or the username, challenge, and response, in the case of CRAM-MD5. If the user is permitted, checkprogram invokes subprogram, which just has to exit with a status of 0 for the user to be authenticated. Otherwise, checkprogram exits with a non-zero
status. subprogram can usually be /usr/bin/true (or /bin/true, depending on your flavor of OS).
If the user is successfully authenticated, the RELAYCLIENT environment variable is effectively set for the SMTP session, and the TCPREMOTEINFO environment variable is set to the authenticated username, overriding any value that tcpserver may have set. The
value of TCPREMOTEINFO is reflected in a Received header.
Enhancements:
- bug: AUTH PLAIN 334 response not RFC compliant. Reported by Mark Crispin
- .
- change: Set TCPREMOTEINFO environment variable to authenticated username. (Previously only set locally to qmail-smtpd.)
Download (0.008MB)
Added: 2006-07-06 License: GPL (GNU General Public License) Price:
1228 downloads
LinuxMagic magic-smtpd 0.8.4-2
LinuxMagic magic-smtpd is a drop in replacement for Dan Bernsteins qmail-smtpd. more>>
LinuxMagic magic-smtpd is a drop in replacement for Dan Bernsteins qmail-smtpd, and was originally designed to be part of the LinuxMagic Magic Mail Server.
This opensource version has been released to allow others to benifit from its anti-spam components, and valid user checking to reduce server loads, and spam volumes.
It is designed to support stock qmail installations, qmail/vpopmail installations, as well as having database support.
Designed for ISP service, this will work for all mail servers large and small. Comments are welcome. Support for other mailers expected in the future.
Enhancements:
- A compilation bug for Red Hat/Mandrake, an SMTP AUTH problem with ext_prog, and a problem loading directories with a newline have been fixed.
<<lessThis opensource version has been released to allow others to benifit from its anti-spam components, and valid user checking to reduce server loads, and spam volumes.
It is designed to support stock qmail installations, qmail/vpopmail installations, as well as having database support.
Designed for ISP service, this will work for all mail servers large and small. Comments are welcome. Support for other mailers expected in the future.
Enhancements:
- A compilation bug for Red Hat/Mandrake, an SMTP AUTH problem with ext_prog, and a problem loading directories with a newline have been fixed.
Download (0.47MB)
Added: 2006-01-10 License: Freely Distributable Price:
1387 downloads
smtptools 0.2.0
smtptools is a collection of tools to send or receive mails with the simple mail transfer protocol. more>>
smtptools is a collection of tools to send or receive mails with the simple mail transfer protocol.
maildirblast
may be used to send some or all messages from a maildir to a preconfigured relay host or the official mail exchanger hosts of the recipient addresses. maildirblasts functions partially overlap with those of maildirsmtp from Daniel Bernsteins serialmail package.
smtpblast
sends a single message with SMTP to a configured relay host or to a MX host. It uses the qmail return codes and may be used to bypass a broken mail system or, with for example ssh port forwarding, even some firewalls.
tomaildir
is a simple tool to write a message into a maildir. It uses the qmail return codes (see the dot-qmail manual page for more information). (yes, this has nothing todo with SMTP. But i find it useful anyway)
Main features:
- logging (qmail-smtpd basically has no logging)
- more finegrained relay control, its possibly to allow relaying for *.domain.example, but not for bad.domain.example. Its possible to deny delivery to certain addresses.
- built in RBL support
- check for existence of envelope sender domain.
<<lessmaildirblast
may be used to send some or all messages from a maildir to a preconfigured relay host or the official mail exchanger hosts of the recipient addresses. maildirblasts functions partially overlap with those of maildirsmtp from Daniel Bernsteins serialmail package.
smtpblast
sends a single message with SMTP to a configured relay host or to a MX host. It uses the qmail return codes and may be used to bypass a broken mail system or, with for example ssh port forwarding, even some firewalls.
tomaildir
is a simple tool to write a message into a maildir. It uses the qmail return codes (see the dot-qmail manual page for more information). (yes, this has nothing todo with SMTP. But i find it useful anyway)
Main features:
- logging (qmail-smtpd basically has no logging)
- more finegrained relay control, its possibly to allow relaying for *.domain.example, but not for bad.domain.example. Its possible to deny delivery to certain addresses.
- built in RBL support
- check for existence of envelope sender domain.
Download (MB)
Added: 2006-06-02 License: GPL (GNU General Public License) Price:
717 downloads
smtbang 0.1
smtbang is an SMTP mailer program designed to send mail in chroot environments by sending email through a local smtpd. more>>
smtbang is a small SMTP mailer program designed to send mail in chroot environments by sending email through a local smtpd host without a fully-installed server and keeping requirements at minimum.
Its useful for building scripts in PHP and other Web-based applications.
Installation:
The simplest way to compile this package is:
1. `cd to the directory containing the packages source code and type `./configure to configure the package for your system. If youre using `csh on an old version of System V, you might need to type `sh ./configure instead to prevent `csh from trying to execute `configure itself.
Running `configure takes awhile. While running, it prints some messages telling which features it is checking for.
2. Type `make to compile the package.
3. Optionally, type `make check to run any self-tests that come with the package.
4. Type `make install to install the programs and any data files and documentation.
5. You can remove the program binaries and object files from the source code directory by typing `make clean. To also remove the files that `configure created (so you can compile the package for a different kind of computer), type `make distclean. There is also a `make maintainer-clean target, but that is intended mainly for the packages developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
<<lessIts useful for building scripts in PHP and other Web-based applications.
Installation:
The simplest way to compile this package is:
1. `cd to the directory containing the packages source code and type `./configure to configure the package for your system. If youre using `csh on an old version of System V, you might need to type `sh ./configure instead to prevent `csh from trying to execute `configure itself.
Running `configure takes awhile. While running, it prints some messages telling which features it is checking for.
2. Type `make to compile the package.
3. Optionally, type `make check to run any self-tests that come with the package.
4. Type `make install to install the programs and any data files and documentation.
5. You can remove the program binaries and object files from the source code directory by typing `make clean. To also remove the files that `configure created (so you can compile the package for a different kind of computer), type `make distclean. There is also a `make maintainer-clean target, but that is intended mainly for the packages developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.
Download (0.075MB)
Added: 2006-09-21 License: GPL (GNU General Public License) Price:
1128 downloads
No-relay SMTP daemon T.00.02
No-relay SMTP daemon is a lightweight mail server whose sole purpose is to receive incoming messages. more>>
No-relay SMTP daemon is a lightweight mail server whose sole purpose is to receive incoming messages and deliver them to local users. Its main "feature" (or non-feature, really) is to be completely unable to relay messages to adjacent servers: if an incoming message is not addressed to a local mailbox, smtpd will reject it.
Another convenient feature is its automatic grey-listing of clients that allows you to efficiently reject spammers based on their behaviour. No-relay SMTP daemon can handle incoming email traffic for an unlimited number of domains (i.e. act as a MX for these domains) without the need for any configuration (other than creation of users mailboxes).
<<lessAnother convenient feature is its automatic grey-listing of clients that allows you to efficiently reject spammers based on their behaviour. No-relay SMTP daemon can handle incoming email traffic for an unlimited number of domains (i.e. act as a MX for these domains) without the need for any configuration (other than creation of users mailboxes).
Download (0.018MB)
Added: 2006-11-10 License: GPL (GNU General Public License) Price:
633 downloads
simscan 1.1
Simscan is a simple program that enables qmail-smtpd to reject email malware. more>>
Simscan is a simple program that enables qmail-smtpd to reject viruses, spam, and block attachments during the SMTP conversation so the email never makes it into your computers. Very efficient and written in C. It is made from open source components and is completely free
Main features:
- Runs as a separate program under a separate user than any other qmail program to limit possible security problems.
- clamav virus scanning ( --enable-clamav (default yes ) ). Rejects email containing viruses.
- trophie/TrendMicro virus scanning.
- support for spamassassin 3.0 and 2.6 series.
- spamassassin scanning ( --enable-spam (default no ) ). Rejects email that has X-Spam-Flag: YES set.
- spamassassin hit level rejection ( --enable-spam-hits (default 10.0 ) ). Requires --enable-spam to be enabled. Allows for rejection of email above a certain hit count. All other email is passed through with spamassassin headers and changes.
- attachment blocking ( --enable-attach (default no ) ). Blocks emails with attachments listed in a control file.
- fine grained control of clamav/trophie/spamassassin/attachment blocking per user/per domain/per system. ( --enable-per-domain (default no))
- logging of virus name, IP and to/from addresses to smtpd log file when a virus is detected.
- configuration option to set custom spamc arugments --enable-spamc-args
- configuration option to add -u user@domain argument to spamc --enable-spamc-user
- received header which includes virus scanner and spamassassin version nformation
- works with open source Clam AntiVirus by the Clam Team.
- works with open source trophie virus scanner interface to TrendMicro.
- works with open source SpamAssassin by the Apache Group.
- works with open source QMAILQUEUE patch by Bruce Guenter.
- works with open source ripmime by Paul Daniels.
- works with freely distributable Qmail by D. J. Bernstien.
Enhancements:
- virus drop message was not exiting at the right time. Found by Russ Lists
- use per domain hit count on spam log message if set.
- if read from standard in fails the temp file was not closed so the temporary work directory would not be removed.
<<lessMain features:
- Runs as a separate program under a separate user than any other qmail program to limit possible security problems.
- clamav virus scanning ( --enable-clamav (default yes ) ). Rejects email containing viruses.
- trophie/TrendMicro virus scanning.
- support for spamassassin 3.0 and 2.6 series.
- spamassassin scanning ( --enable-spam (default no ) ). Rejects email that has X-Spam-Flag: YES set.
- spamassassin hit level rejection ( --enable-spam-hits (default 10.0 ) ). Requires --enable-spam to be enabled. Allows for rejection of email above a certain hit count. All other email is passed through with spamassassin headers and changes.
- attachment blocking ( --enable-attach (default no ) ). Blocks emails with attachments listed in a control file.
- fine grained control of clamav/trophie/spamassassin/attachment blocking per user/per domain/per system. ( --enable-per-domain (default no))
- logging of virus name, IP and to/from addresses to smtpd log file when a virus is detected.
- configuration option to set custom spamc arugments --enable-spamc-args
- configuration option to add -u user@domain argument to spamc --enable-spamc-user
- received header which includes virus scanner and spamassassin version nformation
- works with open source Clam AntiVirus by the Clam Team.
- works with open source trophie virus scanner interface to TrendMicro.
- works with open source SpamAssassin by the Apache Group.
- works with open source QMAILQUEUE patch by Bruce Guenter.
- works with open source ripmime by Paul Daniels.
- works with freely distributable Qmail by D. J. Bernstien.
Enhancements:
- virus drop message was not exiting at the right time. Found by Russ Lists
- use per domain hit count on spam log message if set.
- if read from standard in fails the temp file was not closed so the temporary work directory would not be removed.
Download (0.12MB)
Added: 2006-07-11 License: GPL (GNU General Public License) Price:
1227 downloads
Net::Server::Mail::ESMTP::XFORWARD 0.15
Net::Server::Mail::ESMTP::XFORWARD is a Perl module to add support to the XFORWARD command in Net::Server::Mail::ESMTP. more>>
Net::Server::Mail::ESMTP::XFORWARD is a Perl module to add support to the XFORWARD command in Net::Server::Mail::ESMTP.
SYNOPSIS
use Net::Server::Mail::ESMTP;
my @local_domains = qw(example.com example.org);
my $server = new IO::Socket::INET Listen => 1, LocalPort => 25;
my $conn;
while($conn = $server->accept)
{
my $esmtp = new Net::Server::Mail::ESMTP socket => $conn;
# activate some extensions
$esmtp->register(Net::Server::Mail::ESMTP::XFORWARD);
# adding some handlers
$esmtp->set_callback(RCPT => &validate_recipient);
$esmtp->process();
$conn->close()
}
sub validate_recipient
{
my($session, $recipient) = @_;
my $domain;
if($recipient =~ /@(.*)>s*$/)
{
$domain = $1;
}
if(not defined $domain)
{
return(0, 513, Syntax error.);
}
elsif(not(grep $domain eq $_, @local_domains) && $session->get_forwarded_addr != "10.1.1.1")
{
return(0, 554, "$recipient: Recipient address rejected: Relay access denied");
}
return(1);
}
When using a Net::Server::Mail::ESMTP script inside a MTA and not in front of Internet, values like client IP address are not accessible to the script and when the script returns mail to an other instance of smtpd daemon, it logs "localhost" as incoming address. To solve this problem, some administrators use the XFORWARD command. This module gives the ability to read and store XFORWARD informations.
<<lessSYNOPSIS
use Net::Server::Mail::ESMTP;
my @local_domains = qw(example.com example.org);
my $server = new IO::Socket::INET Listen => 1, LocalPort => 25;
my $conn;
while($conn = $server->accept)
{
my $esmtp = new Net::Server::Mail::ESMTP socket => $conn;
# activate some extensions
$esmtp->register(Net::Server::Mail::ESMTP::XFORWARD);
# adding some handlers
$esmtp->set_callback(RCPT => &validate_recipient);
$esmtp->process();
$conn->close()
}
sub validate_recipient
{
my($session, $recipient) = @_;
my $domain;
if($recipient =~ /@(.*)>s*$/)
{
$domain = $1;
}
if(not defined $domain)
{
return(0, 513, Syntax error.);
}
elsif(not(grep $domain eq $_, @local_domains) && $session->get_forwarded_addr != "10.1.1.1")
{
return(0, 554, "$recipient: Recipient address rejected: Relay access denied");
}
return(1);
}
When using a Net::Server::Mail::ESMTP script inside a MTA and not in front of Internet, values like client IP address are not accessible to the script and when the script returns mail to an other instance of smtpd daemon, it logs "localhost" as incoming address. To solve this problem, some administrators use the XFORWARD command. This module gives the ability to read and store XFORWARD informations.
Download (0.015MB)
Added: 2007-04-19 License: Perl Artistic License Price:
918 downloads
qmail-spp 0.42
qmail-spp provides plug-in support for the qmail SMTP daemon. more>>
qmail-spp adds plugin support to qmails SMTP daemon (qmail-smtpd). qmail-spp is written entirely in C using native qmail libraries, so it does not create any dependencies.
qmail-spp has been written because currently there is no common way of enhancing qmail-smtpds functionality apart of patches which usually are not compatible one with other and require recompilation.
In addition, qmail-spp gives you possibility of enhancing your mail server in any language, so you can easily integrate it with anything you want.
Plugins are external programs which are executed after processing SMTP command, but just before accepting it by qmail; this lets you to add extra checks on commands arguments before accepting it; for instance you can check envelope recipient address against your "black list".
Plugins can be written in any language, because they are independent programs. They:
- should not read anything from standard input,
- should not exit with error code 120,
- should print all errors to standard error (they are logged),
- can print commands on standard output.
<<lessqmail-spp has been written because currently there is no common way of enhancing qmail-smtpds functionality apart of patches which usually are not compatible one with other and require recompilation.
In addition, qmail-spp gives you possibility of enhancing your mail server in any language, so you can easily integrate it with anything you want.
Plugins are external programs which are executed after processing SMTP command, but just before accepting it by qmail; this lets you to add extra checks on commands arguments before accepting it; for instance you can check envelope recipient address against your "black list".
Plugins can be written in any language, because they are independent programs. They:
- should not read anything from standard input,
- should not exit with error code 120,
- should print all errors to standard error (they are logged),
- can print commands on standard output.
Download (0.018MB)
Added: 2006-04-07 License: GPL (GNU General Public License) Price:
1296 downloads
qgreylistrbl 0.5
qgreylistrbl is an add-on for qmail. more>>
qgreylistrbl is an add-on for qmail.
Now there are a lot of methods against spam, I have combined two of them: greylisting only for dialin nodes and nodes listed on a RBL. NDNs with more than one recipient will be rejected with permanent error messages and without a greylist entry. A test for EHLO/HELO spoofing was added: if a string is obviously spoofed, the connection will be rejected with a permanent error message, without a greylist entry, and advice to RFC2821. You can define a maximum number of recipients per email.
Greylisting returns a temporary SMTP error at the first delivery attempt. Most spam is sent from bulk mailers that dont retry, so these attempts are blocked. Real mail servers will retry later after a temporary error, allowing the message to go through.
Of course cannot all mail be delayed half an hour or longer to our customers. Thats why I have decided to modify the program qgreylist from Jon Atkins. I have added a RBL request to accept emails from not RBL listed nodes and to delay only dialin lines and RBL listed nodes. The script tests the PTR record of each connecting host for a regular expression to detect dialin nodes.
qgreylist from Jon Atkins puts all files in one base dir. qgreylistrbl creates here a directory structure because of performance reasons. The cleanup is now done by a separate cronjob script and not by qgreylistrbl itself, because when there were some ten thousand files inside the mail server nearly stands still.
Most bulk mailers and zombies,too, do not have queue management. They blast that much emails out into the net, they would be swamped with it. An Example: We use a UW-160 Raid 10 for the queue, but the usual zombie out there has only one IDE disc. Beside even a layman would ask why his hard drive was running all the time.
Effect
80% less spam. Yes, truly. No false positives, NO email gets lost.
Usage
qgreylistrbl is a replacement for rblsmtpd by D.J. Bernstein. Simply put qgreylistrbl instead of rblsmtpd in the command line for starting qmail-smtpd.
Performance
qgreylistrbl is a Perl script. Expect some CPU usage. If you run a QMAILQUEUE-patched version of qmail-smtpd and spamassassin, the load will decrease extensive, because most connection attempts do not cause a mail delivery. With perl > 5.6.1 you can precompile the source code with perlcc.
Installation:
Just copy the perl script wherever you want and edit the start script for qmail-smtpd. qgreylistrbl is a simple replacement for rblsmtpd from D.J. Bernstein and can be used the same way.
Create the greylist IP folder:
# mkdir /var/qmail/qgreylistrbl
# chown qmaild /var/qmail/qgreylistrbl
Adjust User
If you need to install the perl module Mail:RBL, just do the following:
From the root prompt on your server, invoke the CPAN shell:
# perl -MCPAN -e shell
Once the Perl interpreter has loaded (and been configured), you can install modules by issuing the command install MODULENAME.
The first thing you should do is upgrade your CPAN:
cpan> install Bundle::CPAN
Once its done (it will take a while, just enter all questions), type:
cpan> reload cpan
Now, enter the following command to retrieve all of the required modules:
cpan> install Mail::RBL
Then you can be shure everything is installed to correct locations.
Configuration:
At the beginnung of the script you have to adjust a few variables. See script for more details. Important are hostname, working directory, some paths and RBL services. You have to add a crontab entry as follows:
*/20 * * * * vpopmail /var/qmail/bin/qgreylist_cleanup.pl
Adjust user, path and time before.
Dont forget so set up logging facility in /etc/syslog.conf
<<lessNow there are a lot of methods against spam, I have combined two of them: greylisting only for dialin nodes and nodes listed on a RBL. NDNs with more than one recipient will be rejected with permanent error messages and without a greylist entry. A test for EHLO/HELO spoofing was added: if a string is obviously spoofed, the connection will be rejected with a permanent error message, without a greylist entry, and advice to RFC2821. You can define a maximum number of recipients per email.
Greylisting returns a temporary SMTP error at the first delivery attempt. Most spam is sent from bulk mailers that dont retry, so these attempts are blocked. Real mail servers will retry later after a temporary error, allowing the message to go through.
Of course cannot all mail be delayed half an hour or longer to our customers. Thats why I have decided to modify the program qgreylist from Jon Atkins. I have added a RBL request to accept emails from not RBL listed nodes and to delay only dialin lines and RBL listed nodes. The script tests the PTR record of each connecting host for a regular expression to detect dialin nodes.
qgreylist from Jon Atkins puts all files in one base dir. qgreylistrbl creates here a directory structure because of performance reasons. The cleanup is now done by a separate cronjob script and not by qgreylistrbl itself, because when there were some ten thousand files inside the mail server nearly stands still.
Most bulk mailers and zombies,too, do not have queue management. They blast that much emails out into the net, they would be swamped with it. An Example: We use a UW-160 Raid 10 for the queue, but the usual zombie out there has only one IDE disc. Beside even a layman would ask why his hard drive was running all the time.
Effect
80% less spam. Yes, truly. No false positives, NO email gets lost.
Usage
qgreylistrbl is a replacement for rblsmtpd by D.J. Bernstein. Simply put qgreylistrbl instead of rblsmtpd in the command line for starting qmail-smtpd.
Performance
qgreylistrbl is a Perl script. Expect some CPU usage. If you run a QMAILQUEUE-patched version of qmail-smtpd and spamassassin, the load will decrease extensive, because most connection attempts do not cause a mail delivery. With perl > 5.6.1 you can precompile the source code with perlcc.
Installation:
Just copy the perl script wherever you want and edit the start script for qmail-smtpd. qgreylistrbl is a simple replacement for rblsmtpd from D.J. Bernstein and can be used the same way.
Create the greylist IP folder:
# mkdir /var/qmail/qgreylistrbl
# chown qmaild /var/qmail/qgreylistrbl
Adjust User
If you need to install the perl module Mail:RBL, just do the following:
From the root prompt on your server, invoke the CPAN shell:
# perl -MCPAN -e shell
Once the Perl interpreter has loaded (and been configured), you can install modules by issuing the command install MODULENAME.
The first thing you should do is upgrade your CPAN:
cpan> install Bundle::CPAN
Once its done (it will take a while, just enter all questions), type:
cpan> reload cpan
Now, enter the following command to retrieve all of the required modules:
cpan> install Mail::RBL
Then you can be shure everything is installed to correct locations.
Configuration:
At the beginnung of the script you have to adjust a few variables. See script for more details. Important are hostname, working directory, some paths and RBL services. You have to add a crontab entry as follows:
*/20 * * * * vpopmail /var/qmail/bin/qgreylist_cleanup.pl
Adjust user, path and time before.
Dont forget so set up logging facility in /etc/syslog.conf
Download (0.73MB)
Added: 2005-12-20 License: GPL (GNU General Public License) Price:
1408 downloads
cmd5checkpw 0.22
cmd5checkpw is a checkpassword compatible authentication program that uses CRAM-MD5 authentiaction mode. more>>
cmd5checkpw is a checkpassword compatible authentication program that uses CRAM-MD5 authentication mode.
The software was designed primary to work with qmail but it can be used by any other program that knows how to use checkpassword compatible authentication. Actualy you can save yourself a lot of work using this program instead of patching other programs. Changing a program to use checkpassword is certainly simplier than adding whole CRAM-MD5 support.
This code is based on the original checkpassword by Dan Bernstein.
Instalation procedure and usage:
Required software:
- a c compiler (gcc f.e.)
- gnu make
Installation:
Unpack the archive and change to the newly created directory.
1. Compile the program.
% make
2. Install the programs and man page:
# make install
Now you should have an example poppasswd copied to your /etc directory and cmd5checkpw binary in your /bin directory.
Now select a free user id in your system.
Create that user in /etc/passwd do "chown thatuser /etc/poppasswd" , "chmod 400 /etc/poppasswd", "chown thatuser /bin/cmd5checkpw" and "chmod a+s /bin/cmd5checkpw".
Of course replace "thatuser" with username of the user you have created.
Usage:
My qmail-smtpd-auth patch will make qmail use it for authentication. Other programs can use it too. Detailed working of the command is explained in the included man page.
<<lessThe software was designed primary to work with qmail but it can be used by any other program that knows how to use checkpassword compatible authentication. Actualy you can save yourself a lot of work using this program instead of patching other programs. Changing a program to use checkpassword is certainly simplier than adding whole CRAM-MD5 support.
This code is based on the original checkpassword by Dan Bernstein.
Instalation procedure and usage:
Required software:
- a c compiler (gcc f.e.)
- gnu make
Installation:
Unpack the archive and change to the newly created directory.
1. Compile the program.
% make
2. Install the programs and man page:
# make install
Now you should have an example poppasswd copied to your /etc directory and cmd5checkpw binary in your /bin directory.
Now select a free user id in your system.
Create that user in /etc/passwd do "chown thatuser /etc/poppasswd" , "chmod 400 /etc/poppasswd", "chown thatuser /bin/cmd5checkpw" and "chmod a+s /bin/cmd5checkpw".
Of course replace "thatuser" with username of the user you have created.
Usage:
My qmail-smtpd-auth patch will make qmail use it for authentication. Other programs can use it too. Detailed working of the command is explained in the included man page.
Download (0.024MB)
Added: 2007-07-31 License: GPL (GNU General Public License) Price:
815 downloads
QmailToaster 1.3.15
QmailToaster project is an RPM-based Qmail distribution for CentOS, Fedora, SuSE, and Mandriva. more>>
QmailToaster project is an RPM-based Qmail distribution for CentOS, Fedora, SuSE, and Mandriva. This system is designed for ease of deployment and includes strong anti-spam systems. This includes support for SRS, SPF, DomainKeys, and virtual hosting on the SMTP side. On the user side, this has a Web-based administration interface and supports POP3, POP3 over SSL, IMAP, and IMAP over SSL
Main features:
- Source RPM packages ready for RPM based distributions
- SMTP with SMTP-AUTH, TLS, REMOTE-AUTH
- DomainKeys, SPF "Sender Policy Framework" and SRS "Sender Rewriting Scheme"
- Integrated SpamAssassin, ClamAV and Simscan
- Warlord virus and worm loader realtime scanning
- CHKUSER 2.0 functions for qmail-smtpd
- Qmail-Tap provides email archive capability
- Virtual Domains (MySQL), Virtual Users (MySQL)
- Autoresponder, Mailing List
- Web-based email system, Web-based administration tools
- POP3, POP3-SSL, IMAP and IMAP-SSL
Enhancements:
- CentOS 5.x support was added.
<<lessMain features:
- Source RPM packages ready for RPM based distributions
- SMTP with SMTP-AUTH, TLS, REMOTE-AUTH
- DomainKeys, SPF "Sender Policy Framework" and SRS "Sender Rewriting Scheme"
- Integrated SpamAssassin, ClamAV and Simscan
- Warlord virus and worm loader realtime scanning
- CHKUSER 2.0 functions for qmail-smtpd
- Qmail-Tap provides email archive capability
- Virtual Domains (MySQL), Virtual Users (MySQL)
- Autoresponder, Mailing List
- Web-based email system, Web-based administration tools
- POP3, POP3-SSL, IMAP and IMAP-SSL
Enhancements:
- CentOS 5.x support was added.
Download (MB)
Added: 2007-04-23 License: Freely Distributable Price:
925 downloads
dqd 0.23
dqd is a qmail distribution based on the dirqmail patch and intended to be used by qmail power users. more>>
dqd is a qmail distribution based on the dirqmail patch and intended to be used by qmail power users.
Main features:
SMTP service:
- SMTPS support
- qmail-smtpd patched with:
- dirqmail 0.14
- qmail-spp 0.41
- qmail-smtpd-auth 0.4.3
- big-dns
- big-concurrency
- moreipme (includes qmail-0.0.0.0 patch)
- sendmail-flagf
- qmail-smtpd-size
- qmail-bouncecontrol
- qmail-bounce-maxbytes
- qmail-local tab patch
- errno patch
- qmail-queue
- accept-5xx.patch
- ext_todo 20030105 (optional)
- qmail-spp plugins:
- maxbouncercpts
- maxrcpts
- rcptexists
- requireauth
- spf
- tarpit
- SMTP authorization:
- supports PLAIN, LOGIN and CRAM-MD5
- fast RBL configuration
POP3 service:
- POP3S service
- supports PASS and APOP
- support for IMAP and IMAPS using BINC IMAP
- content scanning via qmail-qfilter (optional)
- support for ClamAv and SpamAssassin (as sample)
- bundles with proper checkpassword program
- comes with fast installation system which checks for dependencies and optional software
- supports per-user quota
- bundles with a web administration interface
Enhancements:
- Upgrades dirqmail to 0.14.
- Fixes small bugs in administration scripts and in the Web interface.
<<lessMain features:
SMTP service:
- SMTPS support
- qmail-smtpd patched with:
- dirqmail 0.14
- qmail-spp 0.41
- qmail-smtpd-auth 0.4.3
- big-dns
- big-concurrency
- moreipme (includes qmail-0.0.0.0 patch)
- sendmail-flagf
- qmail-smtpd-size
- qmail-bouncecontrol
- qmail-bounce-maxbytes
- qmail-local tab patch
- errno patch
- qmail-queue
- accept-5xx.patch
- ext_todo 20030105 (optional)
- qmail-spp plugins:
- maxbouncercpts
- maxrcpts
- rcptexists
- requireauth
- spf
- tarpit
- SMTP authorization:
- supports PLAIN, LOGIN and CRAM-MD5
- fast RBL configuration
POP3 service:
- POP3S service
- supports PASS and APOP
- support for IMAP and IMAPS using BINC IMAP
- content scanning via qmail-qfilter (optional)
- support for ClamAv and SpamAssassin (as sample)
- bundles with proper checkpassword program
- comes with fast installation system which checks for dependencies and optional software
- supports per-user quota
- bundles with a web administration interface
Enhancements:
- Upgrades dirqmail to 0.14.
- Fixes small bugs in administration scripts and in the Web interface.
Download (0.30MB)
Added: 2005-11-07 License: GPL (GNU General Public License) Price:
1448 downloads
mhrw 0.8.1
mhrw is a commandline tool for manipulating mail headers. more>>
mhrw is a tool for mailheader manipulation. mhrw can be useful in complex MTA setups. In general, headers shouldnt be rewritten, but i found myself configuring an MTA with special delivery methods, where delivery took place depending on spamassassins spam-level and various other things.
In this setup, smtpd and delivery were completely different tasks without any communication possible between them. So, i decided to use the mail-headers loading some additional neccessary information. To get rid of lots of slow scripts, mhrw was born.
How it works:
mhrw reads mails from < stdin > or (if argument is given) from < file >. It supports two operating modes,
a) replace some part of the header, matched by a regular expression,
b) add some part to the header below the former last headerline.
In no way the body of a message is touched. Anything below the header is passed through. Also, the message will always pass until EOF.
Examples:
To show some example, on how to use mhrw, ill define the following (not
really standard, but very simple) mail as origin:
Received: somehost (somehost.somewhere) by uid 1007 with esmtp
X-Authenticated-SMTP: username
Received: anyhost; date
Subject: some test
body
...
If this mailalike header is getting used by following command:
mhrw ^X-Authenticated-SMTP: .*$
this will result in:
Received: somehost (somehost.somewhere) by uid 1007 with esmtp
Received: anyhost; date
Subject: some test
body
...
Youre able to use any regular expression you like, limited (by default) upto 4 subqueries.
The second argument (the replacement string) interprets written n and r sequences.
Installation:
mhrw dosnt relay on libraries and is written with a very basic set of commands, so:
./configure
make
make install
should build the binary on most platforms.
<<lessIn this setup, smtpd and delivery were completely different tasks without any communication possible between them. So, i decided to use the mail-headers loading some additional neccessary information. To get rid of lots of slow scripts, mhrw was born.
How it works:
mhrw reads mails from < stdin > or (if argument is given) from < file >. It supports two operating modes,
a) replace some part of the header, matched by a regular expression,
b) add some part to the header below the former last headerline.
In no way the body of a message is touched. Anything below the header is passed through. Also, the message will always pass until EOF.
Examples:
To show some example, on how to use mhrw, ill define the following (not
really standard, but very simple) mail as origin:
Received: somehost (somehost.somewhere) by uid 1007 with esmtp
X-Authenticated-SMTP: username
Received: anyhost; date
Subject: some test
body
...
If this mailalike header is getting used by following command:
mhrw ^X-Authenticated-SMTP: .*$
this will result in:
Received: somehost (somehost.somewhere) by uid 1007 with esmtp
Received: anyhost; date
Subject: some test
body
...
Youre able to use any regular expression you like, limited (by default) upto 4 subqueries.
The second argument (the replacement string) interprets written n and r sequences.
Installation:
mhrw dosnt relay on libraries and is written with a very basic set of commands, so:
./configure
make
make install
should build the binary on most platforms.
Download (0.29MB)
Added: 2006-02-08 License: GPL (GNU General Public License) Price:
1353 downloads
eProxy 1.0
eProxy, is an SMTP proxy server framework specially designed for use in conjunction with Postfix version 2.1 and higher. more>>
eProxy software is an SMTP proxy server framework specially designed for use in conjunction with Postfix version 2.1 and higher. However, it does also work as a frontend proxy however security wise I trust on the postfix smtpd.
What can eProxy be used for?
It is very fast and utilizes multi-threading. It is especially fast when it comes to your actual content filtering where you can use the speed of C/C++ in comparison to the interpreted language. It is very easy to use.
There are a few SMTP PROXY implementations out there but all I found are developed in either Perl or Python and some of them are extremely complex to use. This implementation makes it very easy to develop your own content filter in C+ and you only have to implement it in any of the following functions from(string from), to(string to), body(string body) and return a positive number to allow delivery and a negative number to disallow delivery.
You can of course still call to your processing/content filter "script(s)" via a popen(), system() or exec() call and run them through this method.
What do you need to (re)implement
Theres actually one source file that is of interest for you and thats the emailHandling.cpp file. In here the following functions are defined:
string getDomainName(string email);
int from(string from);
int rcptto(string to);
int body(string body);
void email(string email);
string getDomainName(string email); This is a convenience method to simply obtain the domainname part of an email address.
void email(string email); In this function you can do something to the email or part of it depending where you BOUNCED the email. It can be used to for instance store all emails in an archive or waiting box, waiting for manual release when an email is a suspect.
int from(string from); In this function you can do checking on the MAIL FROM part of an SMTP session. When your return a negative number the transaction is cancelled with a 550 error, when you return a positive number (larger than 0) then the MAIL FROM is accepted. The string from contains the email address
int rcptto(string to); In this function you can do checking on the RCPT TO part of an SMTP session. The string to contains the email address. Return a negative number to bounce the email return a positive number (large than 0) to continue.
int body(string body); In this function you will implement your actual body part scanning. Only when your result code is a positive number (larger than 0) then the body is send forth to the secondary (delivery) SMTP server. If it is bounced by your code it will not send the DATA command and the data stream, instead it will send a QUIT command and close the socket to the secondary server.
<<lessWhat can eProxy be used for?
It is very fast and utilizes multi-threading. It is especially fast when it comes to your actual content filtering where you can use the speed of C/C++ in comparison to the interpreted language. It is very easy to use.
There are a few SMTP PROXY implementations out there but all I found are developed in either Perl or Python and some of them are extremely complex to use. This implementation makes it very easy to develop your own content filter in C+ and you only have to implement it in any of the following functions from(string from), to(string to), body(string body) and return a positive number to allow delivery and a negative number to disallow delivery.
You can of course still call to your processing/content filter "script(s)" via a popen(), system() or exec() call and run them through this method.
What do you need to (re)implement
Theres actually one source file that is of interest for you and thats the emailHandling.cpp file. In here the following functions are defined:
string getDomainName(string email);
int from(string from);
int rcptto(string to);
int body(string body);
void email(string email);
string getDomainName(string email); This is a convenience method to simply obtain the domainname part of an email address.
void email(string email); In this function you can do something to the email or part of it depending where you BOUNCED the email. It can be used to for instance store all emails in an archive or waiting box, waiting for manual release when an email is a suspect.
int from(string from); In this function you can do checking on the MAIL FROM part of an SMTP session. When your return a negative number the transaction is cancelled with a 550 error, when you return a positive number (larger than 0) then the MAIL FROM is accepted. The string from contains the email address
int rcptto(string to); In this function you can do checking on the RCPT TO part of an SMTP session. The string to contains the email address. Return a negative number to bounce the email return a positive number (large than 0) to continue.
int body(string body); In this function you will implement your actual body part scanning. Only when your result code is a positive number (larger than 0) then the body is send forth to the secondary (delivery) SMTP server. If it is bounced by your code it will not send the DATA command and the data stream, instead it will send a QUIT command and close the socket to the secondary server.
Download (0.007MB)
Added: 2006-08-22 License: BSD License Price:
1159 downloads
vislog 1.0b
vislog is a set of perlscripts written to bring virus and spamdetection to a mailserver running postfix. more>>
vislog is a set of perlscripts written to bring virus and spamdetection to a mailserver running postfix for smtpd and cyrus-imap for local delivery.
It accepts mail from postfix sends them to clamav-virusscanner und spamassassin and afterwards give the tagged and scanned mail to cyrus-imap for local delivery.
It has a small perlscript to examine its own logfile about the found viruses and generate a html overview about it.
<<lessIt accepts mail from postfix sends them to clamav-virusscanner und spamassassin and afterwards give the tagged and scanned mail to cyrus-imap for local delivery.
It has a small perlscript to examine its own logfile about the found viruses and generate a html overview about it.
Download (0.004MB)
Added: 2005-10-13 License: GPL (GNU General Public License) Price:
1471 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 2
- 1
- 2
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above smtpd search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed