Here's my Postfix configuration:

[root@myhost myuser]$ postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
enable_server_options = yes
header_checks = pcre:/etc/postfix/custom_header_checks
html_directory = /usr/share/doc/postfix/html
imap_submit_cred_file = /private/etc/postfix/submit.cred
inet_interfaces = all
local_recipient_maps = proxy:unix:passwd.byname $alias_maps
mail_owner = _postfix
mailbox_size_limit = 0
mailbox_transport = dovecot
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
maps_rbl_domains = 
message_size_limit = 0
mydestination = $myhostname, localhost.$mydomain, localhost, myhost, $mydomain, 
mail
mydomain = lemings.com
mydomain_fallback = localhost
myhostname = mail.lemings.com
mynetworks = 127.0.0.0/8,192.168.0.0/16
newaliases_path = /usr/bin/newaliases
postscreen_dnsbl_sites = zen.spamhaus.org*2 rbl-plus.mail-abuse.org 
bl.spamcop.net
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
recipient_canonical_maps = hash:/etc/postfix/system_user_maps
recipient_delimiter = +
relayhost = 
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtp_sasl_auth_enable = no
smtp_sasl_password_maps = 
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated 
reject_rbl_client zen.spamhaus.org reject_rbl_client rbl-plus.mail-abuse.org 
reject_rbl_client bl.spamcop.net permit
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,    check_helo_access         
hash:/etc/postfix/helo_access,    reject_non_fqdn_helo_hostname,    
reject_invalid_helo_hostname,    permit
smtpd_pw_server_security_options = cram-md5,gssapi,login,plain
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks  
reject_unauth_destination check_policy_service unix:private/policy permit
smtpd_sasl_auth_enable = yes
smtpd_tls_CAfile = 
/etc/certificates/myhost.lemings.com.F10D537E0CACDAC26C86B0FAA5A3E24477F0F6A3.chain.pem
smtpd_tls_cert_file = 
/etc/certificates/myhost.lemings.com.F10D537E0CACDAC26C86B0FAA5A3E24477F0F6A3.cert.pem
smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
smtpd_tls_key_file = 
/etc/certificates/myhost.lemings.com.F10D537E0CACDAC26C86B0FAA5A3E24477F0F6A3.key.pem
smtpd_use_pw_server = yes
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
use_sacl_cache = yes
virtual_alias_maps = $virtual_maps

[root@cyberia myuser]$ postconf | grep 'mail_version ='
mail_version = 2.8.4


On Jan 4, 2012, at 12:12 PM, Stan Hoeppner wrote:

> On 1/4/2012 11:31 AM, Eric Lemings wrote:
>> Greetings,
>> 
>> Can anyone point me to some good guides/tutorials for configuring Postfix on 
>> Mac systems?  In particular, I'm trying to stop spam in its tracks.  I've 
>> tried using the Server app and the older Server Admin app.  I've even tried 
>> manually editing the Postfix config files by hand.  Nothing seems to work.  
>> I still get hundreds of junk mails.  (I have really old email addresses.)
>> 
>> Any pointers, tips, links appreciated greatly.
> 
> First, please supply 'postconf -n' output, as you were directed in the
> list welcome message.  This allows us to see how you are currently
> configured so we can recommend changes that work with your particular
> setup, and help you fix anything that's not currently correct.
> 
> Also, post the output of following command:
> 
> $ postconf |grep 'mail_version ='
> 
> 
> -- 
> Stan

Reply via email to