Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Something
Posts: 10 Joined: Wed Aug 24, 2016 5:15 pm
Post
by Something » Tue Mar 21, 2017 9:57 pm
Hello,
I have a fresh install of 8.7.5 on CentOS 7.x.
I'm doing my normal configurations to cut back on spam, etc. Many guides (for 8.7+) still reference the directory
and other subdirectories under this such as
.
The directory
does not seem to exist anymore? Am I supposed to just create it, or was it moved somewhere else?
Specifically, following:
https://wiki.zimbra.com/wiki/Domain_lev ... _and_later
It says create the file (which didn't exist either on previous versions of Zimbra), but it doesn't say create the directory structure (and you didn't have to before).
phoenix
Ambassador
Posts: 27272 Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England
Post
by phoenix » Wed Mar 22, 2017 6:39 am
The wiki document is correct (even though it's a link to the real location) and they exist on my server:
Code: Select all
zmcontrol -v
Release 8.7.5_GA_1764.RHEL7_64_20170314032533 RHEL7_64 FOSS edition.
[zimbra@mail01 ~]$ ls -l /opt/zimbra/postfix
lrwxrwxrwx 1 root root 29 Dec 18 2014 /opt/zimbra/postfix -> /opt/zimbra/postfix-2.11.1.2z
[zimbra@mail01 ~]$ ls -l /opt/zimbra/postfix/conf
total 16
-rw-r--r-- 1 zimbra zimbra 4909 Jul 14 2016 main.cf
-r--r----- 1 zimbra zimbra 42 Jul 14 2016 tag_as_foreign.re
-r--r----- 1 zimbra zimbra 42 Jul 14 2016 tag_as_originating.re
Something
Posts: 10 Joined: Wed Aug 24, 2016 5:15 pm
Post
by Something » Wed Mar 22, 2017 4:22 pm
Hello Phoenix! Was your system upgraded to 8.7.5? I read 8.7.5 is now using postfix 3.x, and your's shows 2.11 still.
Mine was a completely fresh install, and here's what I have:
Code: Select all
[zimbra@mail ~]$ zmcontrol -v
Release 8.7.5_GA_1764.RHEL7_64_20170314032533 RHEL7_64 FOSS edition.
[zimbra@mail ~]$ echo $HOME
/opt/zimbra
[zimbra@mail ~]$ pwd
/opt/zimbra
[zimbra@mail ~]$ which postfix && postconf -d | grep "mail_version = "
~/bin/postfix
mail_version = 3.1.1
Code: Select all
[zimbra@mail ~]$ ls -la
total 92
drwxr-xr-x 27 root root 4096 Mar 19 12:13 .
drwxr-xr-x. 3 root root 20 Mar 19 11:57 ..
-rw-r----- 1 zimbra zimbra 2129 Mar 21 16:57 .bash_history
-rw-rw-r-- 1 zimbra zimbra 350 Mar 14 01:03 .bash_profile
-rw-rw-r-- 1 zimbra zimbra 835 Mar 14 01:03 .bashrc
drwxrwxr-x 2 zimbra zimbra 6 Mar 19 12:03 .cache
-rw-rw-r-- 1 zimbra zimbra 62 Mar 14 01:03 .exrc
-rw-r--r-- 1 root root 2218 Mar 19 12:27 .install_history
-rw-rw-r-- 1 zimbra zimbra 52 Mar 14 01:03 .ldaprc
-rw-rw-r-- 1 zimbra zimbra 19 Mar 14 01:03 .platform
drwxr-x--- 2 root root 6 Mar 19 11:57 .saveconfig
drwx------ 2 zimbra zimbra 98 Mar 19 13:23 .ssh
-rw-rw-r-- 1 zimbra zimbra 0 Mar 14 01:03 .viminfo
-rw-r----- 1 zimbra zimbra 0 Mar 19 12:03 .zmmailbox_history
-rw-r----- 1 zimbra zimbra 1696 Mar 19 12:18 .zmprov_history
drwxr-xr-x 2 zimbra zimbra 6 Mar 19 12:03 backup
drwxr-xr-x 2 root root 4096 Mar 19 12:03 bin
drwxr-xr-x 9 root root 91 Mar 19 12:02 common
drwxr-xr-x 12 zimbra zimbra 4096 Mar 22 03:35 conf
-rw------- 1 root root 2780 Mar 19 12:13 config.5548
drwxr-xr-x 2 root root 26 Mar 19 12:03 contrib
drwxr-xr-x 17 zimbra zimbra 221 Mar 19 12:04 data
drwxrwxr-x 3 zimbra zimbra 101 Mar 19 12:04 db
drwxr-xr-x 2 zimbra zimbra 4096 Mar 19 12:03 docs
drwxr-xr-x 3 zimbra zimbra 28 Mar 19 12:03 extensions-extra
drwxr-xr-x 2 zimbra zimbra 6 Mar 19 12:04 fbqueue
drwxr-xr-x 3 zimbra zimbra 15 Mar 19 12:27 index
lrwxrwxrwx 1 root root 46 Mar 19 12:04 jetty -> /opt/zimbra/jetty-distribution-9.3.5.v20151012
drwxr-xr-x 14 root root 275 Mar 19 12:04 jetty-distribution-9.3.5.v20151012
drwxrwxr-x 5 root root 166 Mar 19 12:03 lib
drwxr-xr-x 4 root root 4096 Mar 19 12:04 libexec
drwxrwxr-x 2 zimbra zimbra 4096 Mar 22 09:20 log
drwxr-xr-x 3 zimbra zimbra 16 Mar 19 12:03 logger
lrwxrwxrwx 1 root root 46 Mar 19 12:04 mailboxd -> /opt/zimbra/jetty-distribution-9.3.5.v20151012
drwxr-xr-x 3 zimbra zimbra 37 Mar 21 15:03 redolog
drwxr-xr-x 9 zimbra zimbra 206 Mar 19 13:42 ssl
drwxr-xr-x 4 zimbra zimbra 31 Mar 19 13:00 store
drwxrwxr-x 2 zimbra zimbra 4096 Mar 19 12:04 zimlets
drwxr-xr-x 19 zimbra zimbra 4096 Mar 19 12:26 zimlets-deployed
drwxr-xr-x 6 zimbra zimbra 4096 Mar 22 03:36 zmstat
phoenix
Ambassador
Posts: 27272 Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England
Post
by phoenix » Wed Mar 22, 2017 6:59 pm
You're quite right, my system has been upgraded and I forgot that the directories have changed - the new directory is: /opt/zimbra/common/sbin and the wiki article does need updating.
The postfix 2.11.1 directory (and a few others) are just leftovers from earlier releases, my apologies for the confusion.
Something
Posts: 10 Joined: Wed Aug 24, 2016 5:15 pm
Post
by Something » Wed Mar 22, 2017 7:06 pm
Thanks Phoenix!
Just a confirmation before I do something stupid:
/opt/zimbra/postfix/conf/postfix_reject_sender should now be
/opt/zimbra/common/conf/postfix_reject_sender
Correct? The
/opt/zimbra/common/sbin/ directory doesn't look quite right for this file, unless I'm mistaken?
And then postmap like:
Code: Select all
/opt/zimbra/common/sbin/postmap /opt/zimbra/common/conf/postfix_reject_sender