Solved postconf command not found

andrewm659

Active Member

Reaction score: 4
Messages: 166

I just installed postfix on FreeBSD 10.1 in a jail (ezjail) setup and I don't have postconf. Is it not part of the main package? What other package do I need to install?

root@mta:~ # which postconf
Code:
postconf: Command not found.
root@mta:~ # postconf
Code:
postconf: Command not found.
 

junovitch@

Daemon
Developer

Reaction score: 632
Messages: 1,773

What does echo $PATH return? Is /usr/local/sbin there?

# which postconf
Code:
/usr/local/sbin/postconf

Both the Postfix packages in quarterly and latest are showing the above.
 
OP
andrewm659

andrewm659

Active Member

Reaction score: 4
Messages: 166

Code:
root@mta:~ # /usr/local/sbin/
editmap*          makemap*          pkg-static*       praliases*        sasldblistusers2* tcsd*            
lsof*             nslcd*            pkg2ng*           saslauthd*        saslpasswd2*      testsaslauthd*    
mailstats*        pkg*              pluginviewer*     saslcache*        sendmail*        
root@mta:~ # /usr/local/sbin/post
 
OP
andrewm659

andrewm659

Active Member

Reaction score: 4
Messages: 166

What does pkg info postfix return?
root@mta:~ # pkg info postfix
Code:
pkg: No package(s) matching postfix
root@mta:~ # pkg upgrade
Code:
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking for upgrades (1 candidates): 100%
Processing candidates (1 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
 

junovitch@

Daemon
Developer

Reaction score: 632
Messages: 1,773

I just installed postfix on FreeBSD 10.1 in a jail (ezjail) setup and I don't have postconf. Is it not part of the main package? What other package do I need to install?
...

What package did you install? Both /usr/ports/mail/postfix/pkg-plist for mail/postfix and /usr/ports/mail/postfix-current/pkg-plist for mail/postfix-current contain the postconf command
 
Top