mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Typo in compilation commands of postfix.
Now it works together with cyrus sasl! git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1045 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
2
config/cyrus-sasl/smtpd.conf
Normal file
2
config/cyrus-sasl/smtpd.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
pwcheck_method: saslauthd
|
||||
mech_list: PLAIN LOGIN
|
||||
@@ -1,10 +1,12 @@
|
||||
LoadModule php5_module /usr/lib/apache/libphp5.so
|
||||
<IfModule php5_module>
|
||||
|
||||
AddType application/x-httpd-php .php3
|
||||
AddType application/x-httpd-php .php4
|
||||
AddType application/x-httpd-php .php5
|
||||
AddType application/x-httpd-php .php
|
||||
DirectoryIndex index.php3
|
||||
DirectoryIndex index.php4
|
||||
DirectoryIndex index.php5
|
||||
DirectoryIndex index.php
|
||||
AddType application/x-httpd-php .php3
|
||||
AddType application/x-httpd-php .php4
|
||||
AddType application/x-httpd-php .php5
|
||||
AddType application/x-httpd-php .php
|
||||
DirectoryIndex index.php3
|
||||
DirectoryIndex index.php4
|
||||
DirectoryIndex index.php5
|
||||
DirectoryIndex index.php
|
||||
|
||||
</IfModule>
|
||||
|
||||
@@ -48,3 +48,4 @@ LoadModule dir_module /usr/lib/apache/mod_dir.so
|
||||
LoadModule alias_module /usr/lib/apache/mod_alias.so
|
||||
LoadModule rewrite_module /usr/lib/apache/mod_rewrite.so
|
||||
LoadModule ssl_module /usr/lib/apache/mod_ssl.so
|
||||
LoadModule php5_module /usr/lib/apache/libphp5.so
|
||||
|
||||
@@ -50,3 +50,31 @@ smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
|
||||
|
||||
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
|
||||
sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
|
||||
|
||||
smtpd_sasl_type = cyrus
|
||||
smtpd_sasl_auth_enable = yes
|
||||
smtpd_sasl_security_options = noanonymous
|
||||
smtpd_sasl_local_domain = $myhostname
|
||||
broken_sasl_auth_clients = yes
|
||||
|
||||
#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
|
||||
|
||||
smtpd_helo_required = yes
|
||||
mime_header_checks=pcre:/etc/postfix/body_checks
|
||||
smtpd_recipient_restrictions =
|
||||
reject_invalid_hostname,
|
||||
#reject_non_fqdn_hostname,
|
||||
reject_non_fqdn_sender,
|
||||
reject_non_fqdn_recipient,
|
||||
reject_unknown_sender_domain,
|
||||
reject_unknown_recipient_domain,
|
||||
reject_unauth_pipelining,
|
||||
permit_mynetworks,
|
||||
permit_sasl_authenticated,
|
||||
reject_unauth_destination,
|
||||
reject_rbl_client zombie.dnsbl.sorbs.net,
|
||||
reject_rbl_client relays.ordb.org,
|
||||
reject_rbl_client opm.blitzed.org,
|
||||
reject_rbl_client list.dsbl.org,
|
||||
reject_rbl_client sbl.spamhaus.org,
|
||||
permit
|
||||
|
||||
Reference in New Issue
Block a user