OpenWebMail Packages for CentOS 4 + BlueQuartz

This forum is devoted to showing off and discussing open source and free software we use and/or think is worth while. If you're looking for software, post your need here and we'll make a suggestion.

Moderator: forhire

OpenWebMail Packages for CentOS 4 + BlueQuartz

Postby forhire » Wed Feb 15, 2006 12:22 am

I've been running BlueQuartz as a replacement for our Cobalt Raq hosting servers. It has worked well. About a year ago I decided I needed Openwebmail for it. The package didn't exist so I wrote something. Works well. If you host you might find it worth while. I also have a ClamAV package for it also.

http://home.lewiscounty.com/~forhire/owm.html
forhire
Site Admin
 
Posts: 376
Joined: Thu Jun 24, 2004 7:56 pm
Location: Morton, Washington

Postby forhire » Wed Feb 22, 2006 10:55 am

I'm currently working on an x86_64 version of openwebmail for bluequartz. http://home.lewiscounty.com/~forhire/owm.html has the latest test version available for download.
forhire
Site Admin
 
Posts: 376
Joined: Thu Jun 24, 2004 7:56 pm
Location: Morton, Washington

OpenWebMail Packages for CentOS 4 + BlueQuartz

Postby cybercytes » Tue Mar 14, 2006 1:58 pm

I installed nuonce CentOS v4.2 / BlueQuartz ISO Image v3.5.
All worked well.

After several days of testing, I installed your OWM pkg and am now nolonger receiving mail from the outside.
BlueQuartz-CentOS4-OpenWebmail.2.51-1.010.pkg

I can send out, but outside senders are getting the following error message when sending to me:

xx.xx.xx.xx does not like recipient.
Remote host said: 550 5.7.1 <xx@xx.com>... Relaying denied
Giving up

I've spent numerous hours searching the net, but none found spell-out the actual cure.

Your help greatly appreciated!
cybercytes
 
Posts: 2
Joined: Tue Mar 14, 2006 1:38 pm

Re: OpenWebMail Packages for CentOS 4 + BlueQuartz

Postby forhire » Thu Mar 16, 2006 10:30 pm

cybercytes wrote:I can send out, but outside senders are getting the following error message when sending to me:

xx.xx.xx.xx does not like recipient.
Remote host said: 550 5.7.1 <xx@xx.com>... Relaying denied
Giving up



OWM modifies the virtualusers table using a replace in owusers.sh. Are your mail addresses using fqdn or just domain name? For example user@www.domain.com becomes user@domain.com. I wonder if it's mudging your address.
forhire
Site Admin
 
Posts: 376
Joined: Thu Jun 24, 2004 7:56 pm
Location: Morton, Washington

Postby forhire » Thu Mar 16, 2006 10:46 pm

are you certain that you have the mail setup correctly within the bq admin to accept mail by domain? the default is fqdn. in the bq admin, verify that your domain name is entered under "services", "email" in the "Email Server Aliases" box.
forhire
Site Admin
 
Posts: 376
Joined: Thu Jun 24, 2004 7:56 pm
Location: Morton, Washington

Postby DeepWoods » Sun Jul 30, 2006 5:21 pm

OK, this doesn't pertain to BQ at all but I've been scratching my head for awhile now trying to get speedyCGI working again. We recenty upgraded a RH8 server to CentOS4.3 and I've been fighting with speedy ever since! :x I found where you mention the "500 Internal Server Error" that I've been fighting and also you came up with a solution.
forhire wrote:2005-11-13 Added SpeedyCGI support
I finally got SpeedyCGI working under CentOS. If you look back I pounded on this a few months ago without luck.
Turned out to be a change in the order that perl allows variables to be passed.
So.....what I'm wondering is.....would you care to explain exactly how you fixed this problem? :)

Thanks,
Rob
DeepWoods
 
Posts: 2
Joined: Sun Jul 30, 2006 5:07 pm
Location: NE Ark

Postby forhire » Wed Aug 02, 2006 1:03 pm

CentOS just wants speedy called out like this:
#!/usr/bin/speedy_suidperl

Not like in RH9:
#!/usr/bin/speedy_suidperl -T -- -T/tmp/speedy

I'm not sure if this was the best way to do it but it works. If you discover better way please let me know.

This is a script I use to convert to speedy:

# Enable SpeedyCGI support by forhire 2005/11/13
cp /usr/bin/speedy /usr/bin/speedy_suidperl
chmod 4555 /usr/bin/speedy_suidperl
cd /var/www/cgi-bin/openwebmail
for name in openwebmail*.pl ; do
cp -a $name ${name}.old
sed -e "s/suidperl -T/speedy_suidperl/" < ${name}.old > ${name}
rm ${name}.old
done

:D Hope this helps, Randy
forhire
Site Admin
 
Posts: 376
Joined: Thu Jun 24, 2004 7:56 pm
Location: Morton, Washington

Postby DeepWoods » Wed Aug 02, 2006 2:16 pm

forhire wrote:CentOS just wants speedy called out like this:
#!/usr/bin/speedy_suidperl

Not like in RH9:
#!/usr/bin/speedy_suidperl -T -- -T/tmp/speedy

I'm not sure if this was the best way to do it but it works. If you discover better way please let me know.

This is a script I use to convert to speedy:

# Enable SpeedyCGI support by forhire 2005/11/13
cp /usr/bin/speedy /usr/bin/speedy_suidperl
chmod 4555 /usr/bin/speedy_suidperl
cd /var/www/cgi-bin/openwebmail
for name in openwebmail*.pl ; do
cp -a $name ${name}.old
sed -e "s/suidperl -T/speedy_suidperl/" < ${name}.old > ${name}
rm ${name}.old
done

:D Hope this helps, Randy

Yep. Helped alot. :D I had read somewhere about speedy not liking the command line arguments for some reason. I didn't think that included not being able to run in taint mode. I tried almost every combo except zero arguments thinking that taint mode "should" work for sure. Thanks for the help! Now I get to weigh security concerns versus speed. :?

Rob
DeepWoods
 
Posts: 2
Joined: Sun Jul 30, 2006 5:07 pm
Location: NE Ark


Return to Open Source Software

Who is online

Users browsing this forum: No registered users and 6 guests

cron