On 10/02/2015 6:05 PM, Viktor Dukhovni wrote:
On Tue, Feb 10, 2015 at 05:58:34PM +1100, Carl Brewer wrote:

IN OTHER WORDS:  post the output of "/usr/pkg/sbin/postconf -Mf"
(non-comment /usr/pkg/etc/postfix/master.cf file content)!

bash-4.3# /usr/pkg/sbin/postconf -Mf
smtp       inet  n       -       n       -       1       postscreen
smtpd      pass  -       -       n       -       -       smtpd
dnsblog    unix  -       -       n       -       0       dnsblog
tlsproxy   unix  -       -       n       -       0       tlsproxy
submission inet  n       -       n       -       -       smtpd
pickup     fifo  n       -       n       60      1       pickup
cleanup    unix  n       -       n       -       0       cleanup
qmgr       fifo  n       -       n       300     1       qmgr
tlsmgr     unix  -       -       n       1000?   1       tlsmgr
rewrite    unix  -       -       n       -       -       trivial-rewrite
bounce     unix  -       -       n       -       0       bounce
defer      unix  -       -       n       -       0       bounce
trace      unix  -       -       n       -       0       bounce
verify     unix  -       -       n       -       1       verify
flush      unix  n       -       n       1000?   0       flush
proxymap   unix  -       -       n       -       -       proxymap
proxywrite unix  -       -       n       -       1       proxymap
smtp       unix  -       -       n       -       -       smtp
relay      unix  -       -       n       -       -       smtp
showq      unix  n       -       n       -       -       showq
error      unix  -       -       n       -       -       error
retry      unix  -       -       n       -       -       error
discard    unix  -       -       n       -       -       discard
local      unix  -       n       n       -       -       local
virtual    unix  -       n       n       -       -       virtual
lmtp       unix  -       -       n       -       -       lmtp
anvil      unix  -       -       n       -       1       anvil
scache     unix  -       -       n       -       1       scache

No relevant overrides here, provided this is the right master.cf
file.

On Tue, Feb 10, 2015 at 05:54:32PM +1100, Carl Brewer wrote:

What's the "-c" for?  Are you actually running the pkgsrc postfix,
or the base system Postfix?

pkgsrc, which is why I told it to use that directory
ahha ... I see

And the evidence for that is?

If I use the right postconf ...

/usr/pkg/sbin/postconf -d

Really?  "postconf -d"?  Why do you think we'd want that...

sorry!

/usr/pkg/sbin/postconf -n
address_verify_map = btree:$data_directory/verify_cache
alias_database = hash:/usr/pkg/etc/postfix/aliases
alias_maps = hash:/usr/pkg/etc/postfix/aliases
command_directory = /usr/pkg/sbin
config_directory = /usr/pkg/etc/postfix
daemon_directory = /usr/pkg/libexec/postfix
data_directory = /var/db/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
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
lmtp_tls_mandatory_protocols = !SSLv2
mail_owner = postfix
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp
mailq_path = /usr/pkg/bin/mailq
manpage_directory = /usr/pkg/man
milter_default_action = accept
myhostname = rollcage3.bl.echidna.id.au
mynetworks_style = subnet
newaliases_path = /usr/pkg/bin/newaliases
postscreen_access_list = permit_mynetworks,cidr:/usr/pkg/etc/postfix/postscreen_access.cidr postscreen_dnsbl_sites = zen.spamhaus.org*3 b.barracudacentral.org*2 bl.spameatingmonkey.net*2 dnsbl.ahbl.org*2 bl.spamcop.net dnsbl.sorbs.net psbl.surriel.com bl.mailspike.net swl.spamhaus.org*-4 list.dnswl.org=127.[0..255].[0..255].0*-2 list.dnswl.org=127.[0..255].[0..255].1*-3 list.dnswl.org=127.[0..255].[0..255].[2..255]*-4
postscreen_dnsbl_threshold = 3
postscreen_greet_action = enforce
queue_directory = /var/spool/postfix
readme_directory = /usr/pkg/share/doc/postfix
relay_recipient_maps = hash:/usr/pkg/etc/postfix/relay_recipients
sample_directory = /usr/pkg/share/examples/postfix
sendmail_path = /usr/pkg/sbin/sendmail
setgid_group = maildrop
smtp_tls_mandatory_protocols = !SSLv2
smtpd_banner = $myhostname ESMTP $mail_name (how far can a goat see-2.11.3)
smtpd_milters = unix:/var/clamav/clamav-milter.socket,unix:/var/run/spamass.sock smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_unknown_recipient_domain reject_unverified_recipient
smtpd_sasl_path = smtpd
smtpd_tls_cert_file = /usr/pkg/etc/postfix/certs/rollcage.bl.echidna.id.au.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_mandatory_protocols = !SSLv2
smtpd_tls_security_level = may
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/usr/pkg/etc/postfix/virtual
virtual_mailbox_domains = /usr/pkg/etc/postfix/virtual_mailbox_domains
virtual_transport = lmtp:unix:/var/imap/socket/lmtp


Which "master" process (full path) does "ps" show running?

I have:

     $ ps -o pid,etime,args -p $(pgrep -x master)
       PID    ELAPSED COMMAND
     20870 4-12:38:19 /usr/pkg/libexec/postfix/master -w

I showed you mine, now you show me yours!

ps -o pid,etime,args -p $(pgrep -x master)
  PID ELAPSED COMMAND
25095   37:15 /usr/pkg/libexec/postfix/master -w


Reply via email to