Merge branch 'master' of github.com:msimerson/qpsmtpd-dev

This commit is contained in:
Matt Simerson 2013-04-29 22:03:50 -04:00
commit 1731542647
2 changed files with 10 additions and 3 deletions

View File

@ -27,7 +27,10 @@ use CPAN;
use English qw( -no_match_vars );
my $apps = [
# { app => 'mysql-server-5', info => { port => 'mysql50-server', dport=>'mysql5', yum =>'mysql-server'} },
{ app => 'daemontools', info => { } },
{ app => 'ucspi-tcp', info => { } },
# { app => 'dspam', info => { } },
# { app => 'mysql-server-55', info => { port => 'mysql55-server', dport=>'mysql5', yum =>'mysql-server'} },
# { app => 'apache22' , info => { port => 'apache22', dport=>'', yum => 'httpd' } },
];
@ -388,7 +391,8 @@ sub name_overrides {
# MacPorts ($dport), yum, and apt.
my @modules = (
{ module=>'LWP::UserAgent', info => { cat=>'www', port=>'p5-libwww', dport=>'p5-libwww-perl' }, },
{ module=>'Mail::Send' , info => { port => 'Mail::Tools', } },
{ module=>'Mail::Send' , info => { port => 'Mail::Tools', } },
{ module=>'Mail::SpamAssassin' , info => { cat => 'mail', } },
);
my ($match) = grep { $_->{module} eq $mod } @modules;
return $match if $match;

View File

@ -59,7 +59,7 @@ dont_require_anglebrackets
badmailfrom reject naughty
#badmailfromto
resolvable_fromhost reject 0
# sender_permitted_from reject 2
sender_permitted_from reject 1
# RCPT TO plugins
badrcptto
@ -105,6 +105,9 @@ naughty reject data
# queue the mail with qmail-queue
# queue/qmail-queue
# forward to another mail server
# queue/smtp-forward 10.2.2.2 9025
# If you need to run the same plugin multiple times, you can do
# something like the following