alogicking wrote:
Code: Select all
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - 1 postscreen
8025 inet n - n - - smtpd
But the problem is in the version I have installed the changes need to be applied in ldap using command:
zmprov to make permanent changes.
I need the command syntax for the same. I hope I am clear in explaining.
Regards
I am having different results here. Just yank the smtp line above and replace it with 8025... Yes it will still say postscreen even if you are not using it. If you really want smtpd, then you need to add the -o options that are required.
Observe.
Code: Select all
[zimbra@tmail ~]$ vi /opt/zimbra/common/conf/master.cf.in
[zimbra@tmail ~]$ grep 8025 /opt/zimbra/common/conf/master.cf.in
8025 inet n - n - 1 postscreen
[zimbra@tmail ~]$ netstat -na |grep LISTEN |grep 8025
[zimbra@tmail ~]$ zmmtactl restart
Rewriting configuration files...done.
Stopping saslauthd...done.
Starting saslauthd...done.
/postfix-script: refreshing the Postfix mail system
[zimbra@tmail ~]$ netstat -na |grep LISTEN |grep 8025
tcp 0 0 0.0.0.0:8025 0.0.0.0:* LISTEN
Not sure why you claim it is being reset. Perhaps double check like I did above to verify if you have a socket in listen on port 8025.
I also did it exactly like you have it above.
Code: Select all
[zimbra@tmail ~]$ vi /opt/zimbra/common/conf/master.cf.in
[zimbra@tmail ~]$ grep 8025 /opt/zimbra/common/conf/master.cf.in
8025 inet n - n - 1 smtpd
[zimbra@tmail ~]$ zmmtactl restart
Rewriting configuration files...done.
Stopping saslauthd...done.
Starting saslauthd...done.
/postfix-script: refreshing the Postfix mail system
[zimbra@tmail ~]$ netstat -na |grep LISTEN |grep 8025
tcp 0 0 0.0.0.0:8025 0.0.0.0:* LISTEN
Again without issue. Finally resetting it back to nothing.
Code: Select all
[zimbra@tmail ~]$ !vi
vi /opt/zimbra/common/conf/master.cf.in
[zimbra@tmail ~]$ grep 8025 /opt/zimbra/common/conf/master.cf.in
[zimbra@tmail ~]$ netstat -na |grep LISTEN |grep 8025
tcp 0 0 0.0.0.0:8025 0.0.0.0:* LISTEN
[zimbra@tmail ~]$ zmmtactl restart
Rewriting configuration files...done.
Stopping saslauthd...done.
Starting saslauthd...done.
/postfix-script: refreshing the Postfix mail system
[zimbra@tmail ~]$ netstat -na |grep LISTEN |grep 8025
[zimbra@tmail ~]$
Very confusing why you are having different results... Perhaps provide the netstat output so we could see. If you think it is being reset because it doesn't work... well that is a different problem and don't forget your FW.
BTW, I don't know of any ldap variable that would hold what you are asking to do. You could do this and look for something if you believe otherwise.
Code: Select all
#list all ldap entries
zmprov gs `zmhostname` > /tmp/zmprov.out
#list all zmlocalconfig
zmlocalconfig -q -m export > /tmp/zmlocalconfig.out