Skip to content

Instantly share code, notes, and snippets.

@ckoehler ckoehler/gist:78b893994be727ce0be6 Secret
Last active Dec 17, 2015

Embed
What would you like to do?
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
dovecot_destination_recipient_limit = 1
dspam_destination_recipient_limit = 1
html_directory = no
inet_protocols = ipv4
local_recipient_maps = $virtual_mailbox_maps
local_transport = virtual
mail_owner = postfix
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 25600000
milter_default_action = accept
milter_protocol = 2
mydestination = localhost
mydomain = mydomain.net
myhostname = mail.mydomain.net
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
non_smtpd_milters = inet:127.0.0.1:8891
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /etc/postfix/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_milters = inet:127.0.0.1:8891
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, check_policy_service unix:private/spfpolicy, check_client_access pcre:/etc/postfix/dspam_filter_access
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /etc/dovecot/ssl/ca.pem
smtpd_tls_cert_file = /etc/dovecot/ssl/certificate-unified.crt
smtpd_tls_key_file = /etc/dovecot/ssl/key-decrypted.pem
smtpd_tls_security_level = may
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = dovecot
=== logs
May 6 17:17:31 localhost postfix/pickup[13247]: C4EB21B224: uid=0 from=<root>
May 6 17:17:31 localhost postfix/cleanup[13259]: C4EB21B224: message-id=<20130506231731.C4EB21B224@mail.mydomain.net>
May 6 17:17:31 localhost postfix/qmgr[13248]: C4EB21B224: from=<root@mydomain.net>, size=481, nrcpt=1 (queue active)
May 6 17:17:31 localhost dovecot: lda(root@mydomain.net): sieve: msgid=<20130506231731.C4EB21B224@mail.mydomain.net>: stored mail into mailbox 'INBOX'
May 6 17:17:31 localhost postfix/pipe[13270]: C4EB21B224: to=<root@mydomain.net>, orig_to=<root>, relay=dovecot, delay=0.07, delays=0.05/0/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
May 6 17:17:31 localhost postfix/qmgr[13248]: C4EB21B224: removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.