All pastes #815003 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-12-13 18:28 UTC
rendered paste body
# MISC STUFF

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix

myhostname = mydomain.org

#virtual_mailbox_domains = 
mydestination = $myhostname, localhost.$mydomain, localhost, mail.mydomain.org

#unknown_local_recipient_reject_code = 550

alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases
#alias_maps = hash:/etc/aliases
#alias_database = hash:/etc/aliases

mailbox_command = maildrop
maildrop_destination_recipient_limit = 1
virtual_mailbox_domains = mydomain.org
virtual_transport = maildrop

home_mailbox = Maildir/

debug_peer_level = 9
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
unknown_local_recipient_reject_code = 550

smtpd_helo_required = yes
smtpd_delay_reject = yes
disable_vrfy_command = yes

#     good idea, but not yet!
#     check_helo_access hash:/usr/local/etc/postfix/helo_access,

smtpd_helo_restrictions =
     permit_mynetworks,
     reject_invalid_hostname,
     permit

#    trying to figure out the spf stuff but it seems not to be there
#    check_policy_service unix:private/spfpolicy
smtpd_recipient_restrictions = permit_sasl_authenticated,
    permit_mynetworks,
    check_sender_access hash:/etc/postfix/sender_access
    sleep 10,
    reject_unauth_destination,
    reject_non_fqdn_hostname,
    reject_invalid_hostname,
    reject_unknown_hostname,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_unknown_helo_hostname,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    reject_unlisted_recipient,
    reject_rbl_client sbl.spamhaus.org,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client dnsbl.njabl.org,
    check_policy_service inet:127.0.0.1:10023
    permit

smtpd_sender_restrictions =
   permit_sasl_authenticated,
   permit_mynetworks,
   reject_unknown_sender_domain,
   permit

relay_domains = mydomain.org
transport_maps = hash:/etc/postfix/transport
mailman_destination_recipient_limit = 1

virtual_alias_domains = mydomain1.org
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_maps = hash:/etc/postfix/virtual


smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_tls_auth_only = yes
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom

local_recipient_maps = proxy:unix:passwd.byname $alias_maps
#local_recipient_maps = 
recipient_delimiter = -