Page 1 of 1

Send Mail not comunicating with Scalix

Posted: Tue Mar 28, 2006 12:49 am
by cesaro
Hi,

We installed a Fedora 4 server and then we intalled scalix and the problem we are having is that it does not receive or send emails. When we create an account in the OS it receives and sends emails, but the accounts in scalix does not.

When we try the sendmail relay we receive this error:

ERROR SMTP Relay (SMTPD Relay Pr) Mon Mar 27 21:43:14 2006
[OM.DMON 2171] The SMTP Relay could not listen on port 25.
Pid of logging process: 10376

Any help is very appreciated.

Thank you

Posted: Tue Mar 28, 2006 1:18 pm
by ScalixSupport
Hi. This subject has been discussed several times on this forum, so in the future make sure you use the search function. Here is a recent thread regarding this issue:

http://www.scalix.com/community/viewtopic.php?t=1876

Thanks,
Rachel

I did that

Posted: Wed Mar 29, 2006 2:21 am
by cesaro
I did look at that solution but after trying it, this was my results:

Using FC4

Using the sendmail file located in
/etc/sysconfig/sendmail

DAEMON=no
QUEUE=1h

And sendmail config files located in
/etc/mail/sendmail.mc

divert(-1)dnl
dnl #
dnl # This is the sendmail macro config file for m4. If you make changes to
dnl # /etc/mail/sendmail.mc, you will need to regenerate the
dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
dnl # installed and then performing a
dnl #
dnl # make -C /etc/mail
dnl #
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for Red Hat Linux')dnl
OSTYPE(`linux')dnl
dnl #
dnl # Uncomment and edit the following line if your outgoing mail needs to
dnl # be sent out through an external mail server:
dnl #
define(`SMART_HOST',`mail.cmsdiginet.com')
dnl #
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTRUSTED_USER', `smmsp')dnl
dnl define(`confAUTO_REBUILD')dnl
define(`confTO_CONNECT', `1m')dnl
define(`confTRY_NULL_MX_LIST',true)dnl
define(`confDONT_PROBE_INTERFACES',true)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
dnl define(`STATUS_FILE', `/etc/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
dnl #
dnl # The following allows relaying if the user authenticates, and disallows
dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
dnl #
dnl define(`confAUTH_OPTIONS', `A p')dnl
dnl #
dnl # PLAIN is the preferred plaintext authentication method and used by
dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
dnl # use LOGIN. Other mechanisms should be used if the connection is not
dnl # guaranteed secure.
dnl #
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
dnl #
dnl # Rudimentary information on creating certificates for sendmail TLS:
dnl # make -C /usr/share/ssl/certs usage
dnl #
dnl define(`confCACERT_PATH',`/usr/share/ssl/certs')
dnl define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')
dnl define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')
dnl define(`confSERVER_KEY',`/usr/share/ssl/certs/sendmail.pem')
dnl #
dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
dnl # slapd, which requires the file to be readble by group ldap
dnl #
dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekeyfile')dnl
dnl #
dnl define(`confTO_QUEUEWARN', `4h')dnl
dnl define(`confTO_QUEUERETURN', `5d')dnl
dnl define(`confQUEUE_LA', `12')dnl
dnl define(`confREFUSE_LA', `18')dnl
define(`confTO_IDENT', `0')dnl
dnl FEATURE(delay_checks)dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
dnl #
dnl # The -t option will retry delivery if e.g. the user runs over his quota.
dnl #
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
EXPOSED_USER(`root')dnl
dnl #
dnl # The following causes sendmail to only listen on the IPv4 loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
dnl # address restriction to accept email from the internet or intranet.
dnl #
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
dnl #
dnl # The following causes sendmail to additionally listen to port 587 for
dnl # mail from MUAs that authenticate. Roaming users who can't reach their
dnl # preferred sendmail daemon due to port 25 being blocked or redirected find
dnl # this useful.
dnl #
dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
dnl #
dnl # The following causes sendmail to additionally listen to port 465, but
dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed
dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can't
dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS
dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses smtps
dnl # when SSL is enabled-- STARTTLS support is available in version 1.1.1.
dnl #
dnl # For this to work your OpenSSL certificates must be configured.
dnl #
dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
dnl #
dnl # The following causes sendmail to additionally listen on the IPv6 loopback
dnl # device. Remove the loopback address restriction listen to the network.
dnl #
dnl # NOTE: binding both IPv4 and IPv6 daemon to the same port requires
dnl # a kernel patch
dnl #
dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl
dnl #
dnl # We strongly recommend not accepting unresolvable domains if you want to
dnl # protect yourself from spam. However, the laptop and users on computers
dnl # that do not have 24x7 DNS do need this.
dnl #
dnl FEATURE(`accept_unresolvable_domains')dnl
dnl #
dnl FEATURE(`relay_based_on_MX')dnl
dnl #
dnl # Also accept email sent to "localhost.localdomain" as local email.
dnl #
LOCAL_DOMAIN(localhost.localdomain)dnl
dnl #
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
MASQUERADE_AS(`cmsdiginet.com')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
dnl #
FEATURE(masquerade_entire_domain)dnl
dnl #
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
MASQUERADE_DOMAIN(`cmsdiginet.com')dnl
MASQUERADE_DOMAIN(`cardmeter.com')dnl
MASQUERADE_DOMAIN(`cdtcolombia.com')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl

Also the Host file is set as

10.0.30.105 mail.cmsdiginet.com mail
127.0.0.1 mail.cmsdiginet.com localhost.localdomain localhost mail
10.0.30.105 mail.cmsdiginet.com mail
10.0.30.105 mail.cardmeter.com mail

Running

omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 22:53:10
Notification Server Started 22:53:10 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped
Database Monitor Started 22:53:10
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 22:53:10
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 22:53:10
SMTP Relay Started 23:02:12
Mime Browser Controller Started 22:53:10

________________________________________________________________

After this configurations I can not send email, I can receive but not send the message to an external email, when I try to send the mail I get this in /var/log/maillog

Mar 28 22:40:28 mail sendmail[3553]: k2T5eSA9003553: to=dicalder@gmail.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
___________________________________________________________________

Now if I change /etc/sysconfig/sendmail to
DAEMON=yes
QUEUE=1h

and the host file as

127.0.0.1 mail.cmsdiginet.com localhost.localdomain localhost mail
10.0.30.105 mail.cmsdiginet.com mail
10.0.30.105 mail.cardmeter.com mail

and restart the services or reboot the server I will be able to send email to external users and sendmail can send and receive emails fine, but scalix users can not receive emails.

I appreciate any help

Posted: Wed Mar 29, 2006 3:32 am
by ScalixSupport
You do want your sysconfig file to have DAEMON=yes, but your /etc/hosts file should read:

Code: Select all

127.0.0.1 localhost.localdomain localhost
10.0.30.105 mail.cmsdiginet.com mail.cardmeter.com mail
 


You'll also need to restart sendmail and stop and restart the Scalix SMTP Relay. I also can't confirm what your /etc/mail/sendmail.cf file looks like from the .mc file because I don't know if/how the .cf has been edited.

Thanks,
Rachel

Still a litle warning

Posted: Wed Mar 29, 2006 1:35 pm
by cesaro
Thank you su much for your response, after making the change it is working but the send mail is giving me this warning,

Mar 29 10:19:19 mail sendmail[17712]: k2OIKEeM014940: Warning: prog_open: program /opt/scalix/bin/ommapsmtp unsafe: World writable directory

We have the
DAEMON=yes

and the host file like this:

10.0.30.105 mail.cardmeter.com mail.cmsdiginet.com mail
127.0.0.1 localhost.localdomain localhost mail
10.0.30.105 mail.cmsdiginet.com mail.cardmeter.com mail

In the sendmail we have
# local-host-names - include all aliases for your machine here.
cmsdiginet.com
cardmeter.com
cdtcolombia.com

Any ideas about this ?

Posted: Wed Mar 29, 2006 2:33 pm
by ScalixSupport
Hi. As I mentioned in my previous message, you really don't want to 127.0.0.1 to have "mail" as one of it's aliases, but since you've made it the second entry, everything should pick up the 10.0.30.105 first.

Regarding the specific warning you're getting: "Warning: prog_open: program /opt/scalix/bin/ommapsmtp unsafe: World writable directory", this doesn't have anything to do with the /etc/hosts, /etc/mail/local-host-names, etc, but rather it's saying there's an executable program in a world writable directory. By default /opt/scalix/bin should be 555 with owner and group of bin. Could you post the output from:

ls -l /opt/scalix/bin
ls -l /opt/scalix
ls -l /opt
ls -l /

Thanks,
Rachel

Here are the reults

Posted: Wed Mar 29, 2006 3:26 pm
by cesaro
ls -l /opt/scalix/bin

-r-sr-sr-x 1 root scalix 22460 Feb 3 05:47 ackcheck
-r-sr-sr-x 1 scalix scalix 14244 Feb 3 05:47 acklead
-r-xr-sr-x 1 scalix scalix 47560 Feb 3 05:47 admin.daemon
-r-sr-sr-t 4 root scalix 14392 Feb 3 05:47 admin.server
-r-xr-xr-x 1 root scalix 39704 Feb 3 05:47 advmail.sckd
-r-xr-sr-x 1 scalix scalix 14228 Feb 3 05:47 advwrt.browse
-r-sr-sr-x 1 root scalix 7232 Feb 3 05:47 applink
-r-xr-xr-x 1 scalix scalix 14496 Feb 3 05:47 archiver
-r-sr-sr-x 1 root scalix 126032 Feb 3 05:47 bb.server
-r-xr-sr-x 1 scalix scalix 18744 Feb 3 05:47 ccmht2rtf
-r-sr-sr-x 2 root scalix 48656 Feb 3 05:47 cda.server
-r-xr-xr-x 1 root scalix 121916 Feb 3 05:47 cleardb
-r-xr-sr-x 1 scalix scalix 15352 Feb 3 05:47 dca.browse
-r-sr-sr-x 2 root scalix 90768 Feb 3 05:47 defer.manager
-r-sr-sr-x 1 root scalix 267236 Feb 3 05:47 dirsync
-r-xr-xr-x 1 scalix scalix 782 Feb 3 05:35 dl2pcl
-r-xr-xr-x 1 scalix scalix 3140 Feb 3 05:47 epoc.to.date
-r-sr-sr-x 4 root scalix 64408 Feb 3 05:47 error.manager
-r-xr-sr-x 1 scalix scalix 5824 Feb 3 05:47 et.browse
-r-sr-sr-t 1 scalix scalix 11136 Feb 3 05:47 ice.cgi
-r-sr-sr-x 1 root scalix 257972 Feb 3 05:47 ice.user
-r-xr-sr-x 1 scalix scalix 8388 Feb 3 05:47 idel.server
-r-sr-sr-x 1 root scalix 294924 Feb 3 05:47 in.imap41d
-r-xr-xr-x 1 scalix scalix 31048 Feb 3 05:47 in.pop3d
-r-xr-sr-x 1 scalix scalix 170824 Feb 3 05:47 item.browse
-r-xr-xr-x 1 scalix scalix 5920 Feb 3 05:47 kill.appl
-r-sr-sr-x 1 root scalix 134488 Feb 3 05:47 local.delivery
-r-xr-sr-x 1 scalix scalix 17140 Feb 3 05:47 macconv
-r-xr-sr-x 1 scalix scalix 7448 Feb 3 05:47 memomkr.browse
-r-xr-sr-x 1 scalix scalix 3428 Feb 3 05:47 mex.browse
-r-xr-xr-x 1 scalix scalix 10628 Feb 3 05:47 mime.browse
-r-sr-sr-x 1 root scalix 21444 Feb 3 05:47 mime.control
-r-xr-sr-x 1 root scalix 15520 Feb 3 05:47 notif.mon
-r-xr-sr-x 1 scalix scalix 6688 Feb 3 05:47 nw.browse
-r-sr-sr-t 1 root scalix 12544 Feb 3 05:47 omacmd
-r-sr-sr-x 1 root scalix 55928 Feb 3 05:47 omadcdf
-r-xr-sr-x 5 scalix scalix 39536 Feb 3 05:47 omaddaci
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omaddacl
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omaddacln
-r-xr-xr-x 1 scalix scalix 3519 Feb 3 05:35 omaddapp
-r-xr-xr-x 1 scalix scalix 2052 Feb 3 05:35 omaddapppdl
-r-xr-xr-x 1 scalix scalix 2815 Feb 3 05:35 omaddapppdln
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 omaddbb
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 omaddbbsa
-r-xr-sr-x 4 scalix scalix 48668 Feb 3 05:47 omaddcda
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omaddds
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omaddent
-r-xr-xr-x 1 scalix scalix 2613 Feb 3 05:35 omaddfb
-r-xr-sr-x 4 scalix scalix 18684 Feb 3 05:47 omaddiam
-r-xr-xr-x 1 scalix scalix 12869 Feb 3 05:35 omaddlic
-r-xr-sr-x 5 scalix scalix 45476 Feb 3 05:47 omaddmn
-r-xr-xr-x 5 scalix scalix 5612 Feb 3 05:35 omaddmnmp
-r-xr-sr-x 8 scalix scalix 74556 Feb 3 05:47 omaddpdl
-r-xr-sr-x 8 scalix scalix 74556 Feb 3 05:47 omaddpdln
-r-xr-xr-x 1 scalix scalix 8844 Feb 3 05:34 omaddprincs
-r-xr-sr-x 2 scalix scalix 11064 Feb 3 05:47 omaddq
-r-sr-sr-x 2 scalix scalix 17288 Feb 3 05:47 omaddred
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omaddrt
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omaddss
-r-xr-xr-x 1 root scalix 608 Feb 3 05:35 omaddtitle
-r-sr-sr-t 4 root scalix 14392 Feb 3 05:47 omaddu
-r-xr-xr-x 7 scalix scalix 23064 Feb 3 05:47 omadjust
-r-xr----- 1 root scalix 3545 Feb 3 05:44 omadmbkup
-r-xr-sr-x 1 scalix scalix 12612 Feb 3 05:47 omadmidp
-r-sr-sr-x 1 root scalix 7000 Feb 3 05:47 omadmr
-r-xr----- 1 root scalix 4000 Feb 3 05:44 omadmrest
-r-xr-sr-x 1 scalix scalix 11936 Feb 3 05:47 omakcnv
-r-xr-sr-x 3 scalix scalix 53744 Feb 3 05:47 ombprint
-r-xr-xr-x 1 scalix scalix 7291 Feb 3 05:35 omcheck
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omcheckacln
-r-xr-sr-x 1 scalix scalix 5984 Feb 3 05:47 omcheckgc
-r-sr-sr-x 2 root scalix 9272 Feb 3 05:47 omcheckint
-r-xr-sr-x 5 scalix scalix 39536 Feb 3 05:47 omchkaci
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omchkacln
-r-xr-xr-x 1 scalix scalix 5608 Feb 3 05:35 omchkattuniq
-r-xr-sr-t 1 scalix scalix 5324 Feb 3 05:47 omchkclr
-r-xr-xr-x 1 scalix scalix 476 Feb 3 05:35 omchklen
-r-sr-xr-T 1 root scalix 3648 Feb 3 05:47 omchown
-r-xr-xr-x 7 scalix scalix 23064 Feb 3 05:47 omcldo
-r-xr-xr-x 1 scalix scalix 7855 Feb 3 05:35 omcnvdirs
-r-xr-sr-x 1 scalix scalix 55328 Feb 3 05:47 omcnvinst
-r-xr-sr-x 4 scalix scalix 16700 Feb 3 05:47 omconfaud
-r-xr-sr-x 2 scalix scalix 14712 Feb 3 05:47 omconfenu
-r-xr-sr-x 4 scalix scalix 16700 Feb 3 05:47 omconflvl
-r-xr-sr-x 2 scalix scalix 10808 Feb 3 05:47 omconfpwd
-r-sr-sr-x 3 root scalix 13108 Feb 3 05:47 omconfsm
-r-xr-sr-x 2 scalix scalix 22936 Feb 3 05:47 omconfux
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omconfx500
-r-xr-sr-x 2 scalix scalix 138252 Feb 3 05:47 omcpinu
-r-xr-sr-x 2 scalix scalix 138252 Feb 3 05:47 omcpoutu
-r-xr-xr-x 1 scalix scalix 8256 Feb 3 05:47 omcptree
-r-xr-xr-x 1 scalix scalix 615 Feb 3 05:35 omcreateerrs
-r-xr-sr-x 1 root scalix 22504 Feb 3 05:47 omctmon
-r-xr-xr-x 7 scalix scalix 23064 Feb 3 05:47 omcut
-r-sr-sr-x 1 root scalix 19220 Feb 3 05:47 omdbmon
-r-xr-xr-x 1 scalix scalix 1655 Feb 3 05:35 omdbrecover
-r-xr-sr-x 5 scalix scalix 39536 Feb 3 05:47 omdelaci
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omdelacl
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omdelacln
-r-xr-xr-x 1 scalix scalix 1718 Feb 3 05:35 omdelapp
-r-xr-xr-x 1 scalix scalix 2022 Feb 3 05:35 omdelapppdl
-r-xr-xr-x 1 scalix scalix 2591 Feb 3 05:35 omdelapppdln
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 omdelbb
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 omdelbbsa
-r-xr-sr-x 4 scalix scalix 48668 Feb 3 05:47 omdelcda
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omdelds
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omdelent
-r-xr-xr-t 5 scalix scalix 47828 Feb 3 05:47 omdelete
-r-xr-sr-x 4 scalix scalix 18684 Feb 3 05:47 omdeliam
-r-xr-sr-x 5 scalix scalix 45476 Feb 3 05:47 omdelmn
-r-xr-xr-x 5 scalix scalix 5612 Feb 3 05:35 omdelmnmp
-r-xr-xr-x 1 scalix scalix 3926 Feb 3 05:35 omdelom
-r-xr-sr-x 8 scalix scalix 74556 Feb 3 05:47 omdelpdl
-r-xr-sr-x 8 scalix scalix 74556 Feb 3 05:47 omdelpdln
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omdelrt
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omdelss
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omdelu
-r-sr-sr-x 1 scalix scalix 4460 Feb 3 05:47 omdiropt
-r-xr-xr-x 1 scalix scalix 14976 Feb 3 05:35 omdiropt.sh
-r-xr-xr-x 1 scalix scalix 1094 Feb 3 05:35 omdirsort
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omdirutil
-r-xr-sr-x 2 scalix scalix 51980 Feb 3 05:47 omdosur
-r-sr-sr-x 1 root scalix 31552 Feb 3 05:47 omdrs
-r-sr-sr-x 4 scalix scalix 31316 Feb 3 05:47 omdumpis
-r-xr-x--- 1 root scalix 2127 Feb 3 05:35 omdumpmsgs
-r-xr-xr-x 1 scalix scalix 10856 Feb 3 05:47 omeval
-r-sr-sr-x 2 root scalix 48656 Feb 3 05:47 omexeccda
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omfmtent
-r-xr-sr-x 1 scalix scalix 7136 Feb 3 05:47 omformat
-r-xr-sr-x 2 scalix scalix 11064 Feb 3 05:47 omfreeq
-r-xr-xr-x 1 scalix scalix 7741 Feb 3 05:35 omgeniamods
-r-xr-xr-x 1 scalix scalix 3236 Feb 3 05:47 omgenpasswd
-r-xr-sr-t 1 scalix scalix 10148 Feb 3 05:47 omgetmsg
-r-xr-xr-x 7 scalix scalix 23064 Feb 3 05:47 omgetopt
-r-xr-xr-x 1 scalix scalix 11566 Feb 3 05:35 omgetsur
-r-xr-sr-x 8 scalix scalix 23064 Feb 3 05:47 omgrget
-r-xr-xr-x 7 scalix scalix 23064 Feb 3 05:47 omhead
-r-sr-sr-x 1 root scalix 124528 Feb 3 05:47 omhtml.user
-r-xr-xr-x 1 scalix scalix 363 Feb 3 05:35 ominstall
-r-xr-xr-x 1 scalix scalix 3185 Feb 3 05:35 ominstredir
-r-xr-sr-x 1 scalix scalix 6528 Feb 3 05:47 omisoff
-r-xr-xr-x 1 scalix scalix 2926 Feb 3 05:35 omispcup
-r-sr-sr-x 1 root scalix 31252 Feb 3 05:47 omissdm
-r-xr-xr-x 1 scalix scalix 1569 Feb 3 05:34 omkrbconf
-r-xr-xr-x 1 scalix scalix 9542 Feb 3 05:34 omkrbinstall
-r-xr-sr-x 6 scalix scalix 4275804 Feb 3 05:47 omldapadd
-r-xr-sr-x 6 scalix scalix 4275804 Feb 3 05:47 omldapdelete
-r-xr-sr-x 6 scalix scalix 4275804 Feb 3 05:47 omldapmoddn
-r-xr-sr-x 6 scalix scalix 4275804 Feb 3 05:47 omldapmodify
-r-xr-sr-x 6 scalix scalix 4275804 Feb 3 05:47 omldapsearch
-r-xr-xr-x 1 scalix scalix 67325 Feb 3 05:35 omldapsync
-r-xr-sr-x 6 scalix scalix 4275804 Feb 3 05:47 omldaputil
-r-sr-sr-x 1 root scalix 53044 Feb 3 05:47 omlicmon
-r-sr-sr-t 4 root scalix 14392 Feb 3 05:47 omlimit
-r-xr-xr-t 5 scalix scalix 47828 Feb 3 05:47 omlist
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 omlistbbs
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 omlistbbsa
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omlistdirs
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omlistds
-r-xr-sr-x 8 scalix scalix 23064 Feb 3 05:47 omlistpids
-r-xr-sr-t 2 scalix scalix 16348 Feb 3 05:47 omlogoff
-r-xr-sr-t 2 scalix scalix 16348 Feb 3 05:47 omlogon
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 ommaintbb
-r-xr-xr-x 1 scalix scalix 5462 Feb 3 05:35 ommakeom
-r-xr-sr-x 8 scalix scalix 23064 Feb 3 05:47 ommappath
-r-xr-sr-x 1 scalix scalix 10824 Feb 3 05:47 ommapsmtp
-r-xr-sr-x 8 scalix scalix 23064 Feb 3 05:47 ommcpath
-r-xr-sr-x 1 scalix scalix 9376 Feb 3 05:47 ommenu
-r-xr-xr-x 1 scalix scalix 2713 Feb 3 05:34 ommergekeys
-r-xr-xr-x 1 scalix scalix 24314 Feb 3 05:34 ommigu
-r-xr-xr-x 1 scalix scalix 7168 Feb 3 05:47 ommimeadm
-r-xr-sr-x 5 scalix scalix 45476 Feb 3 05:47 ommnmpfile
-r-xr-sr-x 5 scalix scalix 39536 Feb 3 05:47 ommodaci
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 ommodacln
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 ommodbb
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 ommodbbsa
-r-xr-sr-x 4 scalix scalix 48668 Feb 3 05:47 ommodcda
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 ommoddir
-r-xr-sr-x 1 scalix scalix 44116 Feb 3 05:47 ommoddl
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 ommodds
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 ommodent
-r-xr-sr-x 4 scalix scalix 18684 Feb 3 05:47 ommodiam
-r-xr-sr-x 5 scalix scalix 45476 Feb 3 05:47 ommodmn
-r-xr-xr-x 5 scalix scalix 5612 Feb 3 05:35 ommodmnmp
-r-xr-sr-x 8 scalix scalix 74556 Feb 3 05:47 ommodpdl
-r-xr-sr-x 8 scalix scalix 74556 Feb 3 05:47 ommodpdln
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 ommodrt
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 ommodss
-r-sr-sr-t 4 root scalix 14392 Feb 3 05:47 ommodu
-r-xr-x--- 1 root scalix 5746 Feb 3 05:35 ommon
-r-sr-sr-x 3 root scalix 33616 Feb 3 05:47 ommsgtkd
-r-sr-sr-x 3 root scalix 33616 Feb 3 05:47 ommsgtkf
-r-sr-sr-x 3 root scalix 33616 Feb 3 05:47 ommsgtkq
-r-xr-xr-x 1 root scalix 5992 Feb 3 05:44 ommtrep
-r-xr-xr-x 1 root scalix 2888 Feb 3 05:44 ommtshow
-r-xr-xr-t 5 scalix scalix 47828 Feb 3 05:47 omnew
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omnewdir
-r-sr-sr-x 4 scalix scalix 31316 Feb 3 05:47 omnewis
-r-xr-xr-x 2 scalix scalix 10748 Feb 3 05:47 omnewul
-r-sr-sr-x 1 root scalix 9280 Feb 3 05:47 omnsdm
-r-xr-xr-x 1 scalix scalix 7040 Feb 3 05:47 omnssck
-r-sr-sr-x 2 scalix scalix 46484 Feb 3 05:47 omoff
-r-sr-sr-x 2 scalix scalix 46484 Feb 3 05:47 omon
-r-xr-xr-x 1 scalix scalix 35855 Feb 3 05:35 ompatchom
-r-xr-xr-x 1 scalix scalix 22660 Feb 3 05:47 X
-r-xr-sr-x 1 scalix scalix 10176 Feb 3 05:47 ompopadm
lrwxrwxrwx 1 root root 7 Mar 27 18:44 omposixsh -> /bin/sh
-r-xr-xr-x 1 scalix scalix 17676 Feb 3 05:35 ompremigu
-r-xr-xr-x 1 scalix scalix 17364 Feb 3 05:35 omprepinstall
-r-xr-sr-x 2 scalix scalix 51980 Feb 3 05:47 omprepsur
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 ompreviewia
-r-xr-xr-x 1 scalix scalix 555 Feb 3 05:35 omputhdr
-r-xr-sr-x 8 scalix scalix 23064 Feb 3 05:47 ompwget
-r-xr-xr-x 1 scalix scalix 3392 Feb 3 05:47 ompyexec
-r-xr-sr-x 1 root scalix 26740 Feb 3 05:47 omqconv
-r-xr-xr-x 7 scalix scalix 23064 Feb 3 05:47 omrand
-r-xr-xr-x 1 scalix scalix 15381 Feb 3 05:35 omrc
-r-xr-xr-t 5 scalix scalix 47828 Feb 3 05:47 omread
-r-xr-xr-x 1 scalix scalix 479 Feb 3 05:35 omreadnum
-r-xr-sr-x 8 scalix scalix 23064 Feb 3 05:47 omrealpath
-r-xr-xr-x 1 scalix scalix 16132 Feb 3 05:47 omredirtcp
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omremdir
-r-xr-xr-x 1 scalix scalix 6852 Feb 3 05:47 omreorderdir
-r-xr-xr-x 1 scalix scalix 11552 Feb 3 05:35 omreset
-r-xr-xr-x 5 scalix scalix 5612 Feb 3 05:35 omresetmn
-r-sr-sr-x 1 scalix scalix 22688 Feb 3 05:47 omresub
-r-xr-x--- 1 root scalix 2131 Feb 3 05:35 omresubdmp
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omresyncds
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omresyncss
-r-xr-xr-x 2 scalix scalix 10748 Feb 3 05:47 omrmud
-r-xr-sr-x 8 scalix scalix 23064 Feb 3 05:47 omroman8
-r-xr-xr-x 1 scalix scalix 4928 Feb 3 05:47 omrunning
-r-xr-xr-x 1 scalix scalix 4032 Feb 3 05:47 omrunver
-r-sr-sr-x 2 root scalix 134060 Feb 3 05:47 omscan
-r-xr-xr-x 1 scalix scalix 907 Feb 3 05:35 omscanat
-r-sr-sr-x 2 root scalix 134060 Feb 3 05:47 omscan.server
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omsearch
-r-xr-xr-t 5 scalix scalix 47828 Feb 3 05:47 omsend
-r-xr-xr-x 1 scalix scalix 9516 Feb 3 05:35 omsendin
-r-sr-sr-x 1 scalix scalix 18472 Feb 3 05:47 omsessd
-r-sr-sr-x 1 scalix scalix 25120 Feb 3 05:47 omsetsvc
-r-xr-xr-x 1 scalix scalix 220 Feb 3 05:35 omsgrun
-r-xr-sr-x 5 scalix scalix 39536 Feb 3 05:47 omshowaci
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omshowacl
-r-xr-xr-x 1 scalix scalix 1941 Feb 3 05:35 omshowapp
-r-xr-xr-x 1 scalix scalix 1924 Feb 3 05:35 omshowapppdl
-r-xr-xr-x 1 scalix scalix 1829 Feb 3 05:35 omshowapppdln
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omshowatt
-r-xr-sr-x 4 scalix scalix 16700 Feb 3 05:47 omshowaud
-r-xr-sr-x 10 scalix scalix 62508 Feb 3 05:47 omshowbb
-r-xr-sr-x 4 scalix scalix 48668 Feb 3 05:47 omshowcda
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omshowds
-r-xr-sr-x 2 scalix scalix 14712 Feb 3 05:47 omshowenu
-r-xr-sr-x 4 scalix scalix 18684 Feb 3 05:47 omshowiam
-r-sr-sr-x 4 scalix scalix 31316 Feb 3 05:47 omshowis
-r-xr-sr-x 1 scalix scalix 32260 Feb 3 05:47 omshowlog
-r-xr-sr-x 4 scalix scalix 16700 Feb 3 05:47 omshowlvl
-r-xr-sr-x 5 scalix scalix 45476 Feb 3 05:47 omshowmn
-r-xr-xr-x 5 scalix scalix 5612 Feb 3 05:35 omshowmnmp
-r-xr-sr-x 8 scalix scalix 74556 Feb 3 05:47 omshowpdl
-r-xr-sr-x 8 scalix scalix 74556 Feb 3 05:47 omshowpdln
-r-xr-sr-x 2 scalix scalix 10808 Feb 3 05:47 omshowpwd
-r-sr-sr-x 2 scalix scalix 17288 Feb 3 05:47 omshowred
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omshowrt
-r-xr-sr-x 11 scalix scalix 131924 Feb 3 05:47 omshowss
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omshowu
-r-xr-sr-x 2 scalix scalix 22936 Feb 3 05:47 omshowux
-r-xr-sr-t 14 scalix scalix 118032 Feb 3 05:47 omshowx500
-r-xr-xr-x 1 scalix scalix 4565 Feb 3 05:35 omshut
-r-sr-sr-x 3 root scalix 13108 Feb 3 05:47 omshutdm
-r-sr-sr-x 2 root scalix 9272 Feb 3 05:47 omshutint
-r-sr-sr-x 1 root scalix 117540 Feb 3 05:47 omslapd
-r-xr-xr-x 1 scalix scalix 22680 Feb 3 05:47 omslapdeng
-r-sr-sr-x 1 scalix scalix 15952 Feb 3 05:47 omsmdm
-r-sr-sr-x 1 root scalix 73904 Feb 3 05:47 omsmtpd
-r-xr-xr-x 1 scalix scalix 12449 Feb 3 05:35 omsolve
-r-xr-sr-x 1 scalix scalix 10376 Feb 3 05:47 omsolve.browse
-r-xr-xr-x 1 scalix scalix 1488 Feb 3 05:35 omsolveio
-r-xr-xr-x 1 scalix scalix 6270 Feb 3 05:35 omsrtcda
-r-xr-xr-x 1 scalix scalix 4139 Feb 3 05:35 omstartpc
-r-sr-sr-t 15 scalix scalix 14548 Feb 3 05:47 omstat
-r-xr-sr-x 8 scalix scalix 23064 Feb 3 05:47 omstdlang
-r-sr-sr-x 3 root scalix 13108 Feb 3 05:47 omsuspend
-r-xr-sr-x 1 scalix scalix 7072 Feb 3 05:47 omt61conv
-r-xr-xr-x 1 scalix scalix 929 Feb 3 05:35 omtargetid
-r-xr-xr-x 1 scalix scalix 4256 Feb 3 05:47 omtclsh
-r-xr-xr-x 1 scalix scalix 3534 Feb 3 05:35 omtidyallu
-r-xr-sr-x 3 scalix scalix 53744 Feb 3 05:47 omtidyu
-r-xr-xr-x 7 scalix scalix 23064 Feb 3 05:47 omtree
-r-xr-xr-x 1 scalix scalix 4384 Feb 3 05:34 omupdateom
-r-sr-sr-x 4 scalix scalix 31316 Feb 3 05:47 omupdtis
-r-xr-sr-x 1 scalix scalix 12520 Feb 3 05:47 omvers
-r-xr-xr-x 1 scalix scalix 7441 Feb 3 05:35 omwebconf
-r-sr-xr-x 1 root scalix 76796 Feb 3 05:47 pop3.server
-r-sr-xr-x 1 root scalix 5924 Feb 3 05:47 portal.engine
-r-xr-xr-x 1 root scalix 130104 Feb 3 05:47 prdbl
-r-sr-sr-x 4 root scalix 64408 Feb 3 05:47 print.server
dr-xr-xr-x 2 bin bin 4096 Mar 27 18:44 proxy
-r-xr-sr-x 1 scalix scalix 47832 Feb 3 05:47 queue.manager
-r-xr-xr-x 1 scalix scalix 767 Feb 3 05:35 req.none
-r-sr-sr-x 4 root scalix 64408 Feb 3 05:47 req.server
-r-xr-xr-x 1 scalix scalix 785 Feb 3 05:35 req.unknown
-r-xr-sr-x 1 scalix scalix 5956 Feb 3 05:47 rtf.browse
-r-xr-xr-x 1 scalix scalix 22548 Feb 3 05:47 scalixpxy
-r-xr-xr-x 1 scalix scalix 16228 Feb 3 05:47 search.process
-r-sr-sr-x 1 root scalix 14880 Feb 3 05:47 search.server
-r-xr-xr-x 1 scalix scalix 2428 Feb 3 05:35 select.cgi
-r-sr-sr-x 2 root scalix 90768 Feb 3 05:47 service.router
-r-xr-xr-x 1 scalix scalix 14144 Feb 3 05:47 shar
-r-xr-sr-x 1 scalix scalix 7684 Feb 3 05:47 shut.queue
-r-xr-sr-x 1 scalix scalix 5952 Feb 3 05:47 smimetxt
-r-sr-sr-x 1 scalix scalix 5888 Feb 3 05:47 SpErrLog
-rwxr-xr-x 1 scalix scalix 659 Feb 3 05:35 SpRaiseAlert
-rwxr-xr-x 1 root root 1272 Feb 13 16:33 sxchkinstances
-r-sr-sr-t 1 root scalix 205864 Feb 3 05:47 sxconfig
-r-xr-xr-x 1 scalix scalix 10621 Feb 3 05:34 sxconvertu
-r-xr-sr-x 1 scalix scalix 14400 Feb 3 05:47 sxdu
-r-xr-xr-x 1 scalix scalix 4128 Feb 3 05:47 sxencode
-r-xr-sr-x 1 scalix scalix 10496 Feb 3 05:47 sxlicense
-rwxr-xr-x 1 root root 7563 Feb 13 16:33 sxlicmgr.py
-rwxr-xr-x 1 root root 6357 Feb 13 16:33 sxlimitcfg.py
-r-xr-sr-x 3 scalix scalix 53744 Feb 3 05:47 sxmbcprep
-r-xr-xr-x 1 scalix scalix 1930 Feb 3 05:34 sxmodfqdn
-rwxr-xr-x 1 root root 1295 Feb 13 16:33 sxmsusage
-rwxr-xr-x 1 root root 1312 Feb 13 16:33 sxrescmd.py
-rw-r--r-- 1 root root 1698 Mar 27 19:01 sxrescmd.pyc
-rwxr-xr-x 1 root root 9236 Feb 13 16:33 sxresutils.py
-r-sr-sr-t 1 scalix scalix 134312 Feb 3 05:47 sxstat
-r-xr-sr-x 1 scalix scalix 7364 Feb 3 05:47 sxsysclass
-rwxr-xr-x 1 root root 7246 Feb 13 16:33 sxubermgrcfg.py
-r-sr-sr-x 4 root scalix 64408 Feb 3 05:47 test.server
-r-xr-xr-x 1 scalix scalix 6352 Feb 3 05:47 text2pcl
-r-xr-sr-x 1 scalix scalix 15172 Feb 3 05:47 tf.convert
-r-xr-sr-x 1 scalix scalix 10100 Feb 3 05:47 ual.local
-r-xr-xr-x 1 scalix scalix 30828 Feb 3 05:47 ual.remote
-r-sr-sr-x 1 root scalix 126888 Feb 3 05:47 unix.in
-r-xr-xr-x 1 scalix scalix 18784 Feb 3 05:47 unix.out
-r-xr-xr-x 1 root scalix 22548 Feb 3 05:47 vvrelay.daemon
-r-xr-xr-x 1 scalix scalix 24332 Feb 3 05:35 webselect.cgi
-r-sr-sr-t 2 root scalix 66600 Feb 3 05:47 xport.in
-r-sr-sr-t 2 root scalix 66600 Feb 3 05:47 xport.out

[root@mail /]# ls -l /opt/scalix
drwxr-xr-x 2 root scalix 4096 Mar 27 18:44 adm
drwxr-xr-x 2 scalix scalix 4096 Mar 27 18:44 applink
dr-xr-xr-x 3 bin bin 12288 Mar 27 19:01 bin
drwxrwxr-x 2 scalix scalix 4096 Mar 27 18:44 diag
drwxrwxr-x 6 scalix scalix 4096 Mar 27 18:44 examples
drwxrwxr-x 2 bin bin 4096 Feb 3 05:29 filesets
drwxrwxr-x 3 scalix scalix 4096 Mar 27 18:51 global
drwxrwxr-x 2 scalix scalix 4096 Mar 27 18:44 install
dr-xr-xr-x 4 bin bin 4096 Mar 27 18:44 lib
drwxrwxr-x 2 scalix scalix 4096 Mar 28 22:31 newconfig
dr-xr-xr-x 2 scalix scalix 4096 Feb 3 05:29 notify
dr-xr-xr-x 5 scalix scalix 4096 Mar 27 18:44 r2net
dr-xr-xr-x 2 scalix scalix 4096 Mar 27 18:44 req
drwxr-xr-x 4 scalix scalix 4096 Mar 27 18:44 server
drwxr-xr-x 3 bin bin 4096 Mar 27 18:44 share
drwxrwxr-x 49 scalix scalix 4096 Mar 27 18:44 template
drwxr-xr-x 2 root root 4096 Mar 27 18:44 web

[root@mail /]# ls -l /opt
drwxrwxr-x 7 otrs apache 4096 Mar 28 21:47 otrs
-rw-r--r-- 1 root root 11603208 Feb 24 09:25 otrs.tar.gz
drwxr-xr-x 19 scalix scalix 4096 Mar 27 18:44 scalix
drwxr-xr-x 11 root root 4096 Mar 27 18:52 scalix-tomcat

[root@mail /]# ls -l /
drwxr-xr-x 2 root root 4096 Mar 29 04:05 bin
drwxr-xr-x 4 root root 1024 Mar 25 07:37 boot
drwxr-xr-x 11 root root 3480 Mar 28 23:26 dev
drwxr-xr-x 92 root root 12288 Mar 29 11:19 etc
drwxr-xr-x 23 root root 4096 Mar 28 23:23 home
drwxr-xr-x 11 root root 4096 Mar 29 04:04 lib
drwx------ 2 root root 16384 Oct 29 04:58 lost+found
drwxr-xr-x 3 root root 4096 Mar 28 23:26 media
drwxr-xr-x 2 root root 4096 Apr 25 2005 misc
drwxr-xr-x 2 root root 4096 May 22 2005 mnt
drwxr-xr-x 2 root root 0 Mar 28 23:26 net
drwxrwxrwx 5 root root 4096 Mar 27 18:52 opt
dr-xr-xr-x 142 root root 0 Mar 28 16:25 proc
drwxr-x--- 19 root root 4096 Mar 28 16:24 root
drwxr-xr-x 2 root root 12288 Mar 29 04:05 sbin
drwxr-xr-x 2 root root 4096 Oct 29 11:59 selinux
drwxr-xr-x 2 root root 4096 May 22 2005 srv
drwxr-xr-x 10 root root 0 Mar 28 16:25 sys
drwxrwxrwt 10 root root 4096 Mar 29 11:32 tmp
drwxr-xr-x 15 root root 4096 Mar 27 18:52 usr
drwxr-xr-x 25 root root 4096 Oct 29 12:37 var

Posted: Wed Mar 29, 2006 3:34 pm
by ScalixSupport
It looks like you created your /opt subdirectory as world writable. Unless you have another app that requires it to be world writable you probably want to make it 755.

Thanks,
Rachel