Reliable RBL For Use In Exim On Cpanel?
Mar 28, 2009What are some good and reliable RBL for use in Exim on Cpanel? Please provide full urls.
View 5 RepliesWhat are some good and reliable RBL for use in Exim on Cpanel? Please provide full urls.
View 5 RepliesI have been researching various servers for some time, had my experience with bad ones, had experience with good ones, currently my price range is around $1000 a month. Does anyone feel it is possible to find a reliable Dedicated server with cPanel for under $100/month?
View 14 Replies View RelatedI am having really bad experiences with my current host. I guess I've overlook "quantity" over "quality". I got my current hosting account (almost 3 months now) from ebay...I guess that sums up pretty much everything. Actually I knew it was a newly startup company, but they offer WHM as well (which a function I really want for other reasons) for a really low price of one year with unlimited everything. I know.....I know.....there is no such thing, but I've figure I would not reach their limits anytime soon. So I went for it.....test drive I would rather put it. Let's make the long story short:
* 2 weeks after account setup, server down for 7 days (because their servers got hacked).
* Received email, everything was lost and "all accounts will be move to their new SUPER FAST servers (yes indeed, I've to say !) in the next couple of days".
* Waited another 4 days, nothing. Summited a support ticket; their response was all their clients account was already moved to the new servers with an new ip which I did not get notified.
* Fine, re-setup everything and.....cross my fingers!
* Everything went well for...almost a month and half. (Well...other then the company was brought by another company ) Other then that, server will be down 10, 20 mins. at a time here & there.......
* Until yesterday.....I thought it was like the usual 10, 20 mins., but it was more than half an hour, 1 hour, 2 hours, 3 hours,.....I went to check on "their" web site, no longer accessible. Then I know it's time for me to look for a new host.
Anyway, sorry for the long post. I think I should rather change the title to "Really bad hosting experience from....." (Rather not to mention who, but if anybody care to know...)
Well, any offers from any web host in here?
Yes, THIS is one of my site. Let me know if / when it is working! Post the time if possible.
I've used many webhosts over the years and have run into various issues from which I've compiled my key wants:
Reliability - availability of mail & web are both just as important - I've had a few hosts who have great HTTP uptime, but mail can go down for hours and is not covered by any SLA. Prefer clustered solutions using a NAS, or at the least RAID-1 (or 10). I recognise downtime is inevitable, I care more about the impact of single component failure and recovery time.
Control Panel/Security - I'd prefer the host to have a custom control panel (i.e. not cPanel/WHM, Plesk/Parallels, DirectAdmin, H-Sphere etc). I really like DreamHost's panel, in particular their model of arbitrary combinations of shell users and domains underneath them. I like to use this to separate installs of untrusted software (such as MovableType, Wordpress, Gallery, Joomla) into their own user accounts so that if one gets compromised it doesn't hose everything. Need multiple domain hosting.
Disk - 2GB sufficient, 3-4GB preferable.
Bandwidth - 10GB or more (I don't really use more than 2GB but prefer not to worry about overage)
Price - I'm happy to pay US$20-30 for a premium service.
Support - I'm technically savvy and only need for support to be responsive to technical questions & issues (i.e. reporting downtime).
To provide some background - I'm currently a customer of both DreamHost and Media Temple (gs). DH sucks because their uptime is completely unpredictable, I have kept it only because their user/domain model is convenient for toying with untrusted software. (mt) was to be the ideal host but reliability of their (gs) service is crap despite all the claims about superior architecture. Additionally they don't allow separation of users/domains and I don't want to host multiple 3rd party apps in the one account. To their credit (mt)'s support is extremely responsive and the company as a whole are very transparent about outages but they simply have too many technology issues.
I am on a very fixed budget, and I'm looking for a reliable host I can host my domain on.
I am familar with cpanel already, I was once a VPS owner, until I could no longer afford a VPS
after I lost my job
so I'm on the hunt for $1 hosting that I can pay for once a year using paypal
so I don't have to risk loosing my site again.
I had a $25/mo VPS with a very nice hosting provider, but could not afford to keep the host,
so 2 days late on my bill, and they deleted my VPS just like that! I lost everything!
15 years of work down the drain in 2 seconds! oh I was so pissed!!
I mean, yeah I should have had a local backup, but the problem was, my Computer was in the shop,
and the guy who repaired my computer formatted my backup drive, which I was pissed about that too.
Can you believe it? lost a job, and 15 years of programming and design work down the drain in 2 seconds. Even if that host offered me a FREE VPS for life, I still wouldn't accept it. I mean that was rediculus that they couldn't restore even an old backup for me. better then no site at all, ya know?
For awhile after that, I thought about giving up on having my own website, but then I thought, well I need a presence, a wordpress blog or something, so I started looking around.
I found a few places that offered $1 hosting, which didn't seem like too bad of an idea, I could probably swing $10 once a year. There was one host that even had a $5/yr promo running,
which sounded really cool, because it had Fantasico and RVSkin too, which was a really good deal for all that, but I diddn't know anything about the host, not much information on the site, so decided to not to sign up and ask you guys first.
the host was manadospace.com
Does anyone know if their reliable or not? otherwise can you guys recommend a host? I have no idea. Knownhost used to have $1 hosting, but not anymoore it looks like. my X has always had good luck with them over the years. any ideas for a reliable host?
I mean, even when I had a VPS, I was lucky to use 1GB/month bandwidth, most of the time I was lucky to use 450mb/mo bandwidth. I did use a gig of disk space though over several sites, but I've lost a couple of domains already, and I only have 2 left that didn't get taken over, so all I'm looking for now is a site to host a couple pages, and a wordpress blog, so I don't really need that much.
I live in Indiana
Could you please recommend a stable reliable VPS provider that manage Tomcat/JSP fine on cpanel?
I did search and find no suitable one
How do you get Exim to rewrite/remove
Received: from ip.isp.com ([123.123.123.123])
by mx.myhost.net with esmtpa (Exim 4.69)
I'm trying to avoid the error
Received-SPF: softfail (google.com: domain of transitioning me@myhost.net does not designate 123.123.123.123 as permitted sender) client-ip=123.123.123.123;
Basically, any email thats sent through myhost.net should look like it was sent directly.
I am having issues in receieving emails. For some reason, the rbl lists I had setup are causing the server to reject emails (retry - timeout). So, I need to take this rbl list completely. How can I do that? exim.conf is locked and using the advanced editor is no fun even though I tried it putting the dnslists without the rbl causing the problem.
View 3 Replies View RelatedI'm having an issue with email generated from a website contact form. The email is being sent from the website via php. The issue is that the email address that it is being sent to is a domain/website that is also on cpanel. It is trying to deliver it to a local account, but the email is acutally on a third party system outside of cpanel. Does anyone know anyway for exim to not try and deliver locally?
View 4 Replies View RelatedI seem to be experiencing some difficulty adding SPF records via "Edit DNS Zone". When adding these records and checking them with several SPF record checkers, it always reports a record such as the following:
“v=spf1
Which turns out to be invalid, and definitely not the record I had specified. The record I specified looks like the following:
"v=spf1 a mx ip4:XXX.XXX.XXX.XXX ~all"
XXX.XXX.XXX.XXX being a valid IP, of course.
Is there known issues when adding these types of records via WHM?
And to make it clear, I have added these records as TXT type, with and without the quotes.
Wondered if anyone out there would like to share their experience, if any, of setting up cpanel to work with domainkeys via exim.
Hopefully anyone reading this thread will know by now what domainkeys are and how it affects the delivering of email to most major email providers inboxes rather than spam/bulk folders.
antispam.yahoo.com/domainkeys
The domainkeys support for exim is now in the 'experimental' phase:
duncanthrax.net/exim-experimental/
(page allegedly updated on 30th Oct, 06)
However cpanel themselves seem to be dragging their feet a little with implementing it:
bugzilla.cpanel.net/show_bug.cgi?id=4099
This is understandable considering support for domainkeys is not yet part of the main exim core code, and thus is likely to change. From what I've been reading elsewhere, re-compiling and upgrading exim is not advisable with cpanel.
My knowledge of exim (and cpanel TBH) is limited however, and I was wondering what might be the implications of *ahem* hacking it a little in order to enable domainkeys.
SPF records alone just don't seem to cut it anymore.
change some variables in exim.conf so that they will not be modified next time cPanel will update exim.
Basically I need to modify this:
smtp_banner and rfc1413_query_timeout.
more specific filtering options in cpanel exactly:
if header from contains 'example' and also header from contains 'example2' then discard
in cpanel it just has one word or phrase i need the filter to check for 2 words in any order in the from field
I found a handful of howto's for dspam, but none of them catered for exim with virtual users. After hunting around, I eventually have it working on a cPanel server, with user authentication for mail users.
My setup:
dspam version 3.6.8, using mysql driver.
exim version 4.
mysql 4.1
CentOS (2.6.9-023stab033.9-enterprise)
cPanel / WHM - latest RELEASE version.
Download the source, configure and compile:
Code:
# cd /usr/local/src
# wget http://dspam.nuclearelephant.com/sou...m-3.6.8.tar.gz
# tar -zxf dspam-3.6.8.tar.gz
# cd dspam-3.6.8
Configure, replacing user/groups with your web-server user (web / apache / nobody), and use your mysql-include / library paths (will need mysql-devel on rh based systems).
Code:
# ./configure --prefix=/opt/dspam-3.6.8 --with-local-delivery-agent=/usr/sbin/exim --with-storage-driver=mysql_drv --with-userdir=/var/spool/mail/dspam --with-userdir-owner=nobody --with-userdir-group=nobody --with-dspam-mode=none --with-dspam-owner=nobody --with-dspam-group=nobody --enable-whitelist --enable-spam-delivery --enable-alternative-bayesian --disable-dependency-tracking --enable-virtual-users --with-mysql-includes=/usr/include/mysql --with-mysql-libraries=/usr/lib/mysql/ --with-dspam-home=/opt/dspam-3.6.8/var/dspam
# make && make install
Set up mysql
Code:
# mysqladmin -p create dspamdb
# mysql -p
>grant all privileges on dspamdb.* to dspamuser@localhost identified by dspampass;
>flush privileges;
>exit;
Create tables:
Code:
mysql -p dspamdb < /usr/local/src/dspam-3.6.8/src/tools.mysql_drv/mysql_objects_speed.sql
mysql -p dspamdb < /usr/local/src/dspam-3.6.8/src/tools.mysql_drv/virtual_users.sql
Link dspam in opt for easy versioning:
Code:
ln -s dspam-3.6.8 /opt/dspam
Copy the web interface files to a web directory:
Code:
# cp webui/cgi-bin /opt/dspam -r
# cp webui/htdocs /opt/dspam/
This next step is required for pop3 authentication.
Install perl module Apache::AuthPOP3 - which does apache pop3 authorisation:
Code:
perl -MCPAN -e shell
install Apache::AuthPOP3
Next, apache will need mod_perl installed - WHM -> Apache Update will allow you to enable the perl module (I am running it alongside php with no issues).
Then in /usr/local/apache/conf/httpd.conf:
Code:
ScriptAlias /dspam/ /opt/dspam/cgi-bin/
Alias /dspam_files/ /opt/dspam/htdocs/
<Directory /opt/dspam/cgi-bin>
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
Create .htaccess in /opt/dspam/cgi-bin as follows:
Code:
AuthName "Dspam"
AuthType Basic
PerlAuthenHandler Apache::AuthPOP3
PerlSetVar MailHost localhost
Require valid-user
#PerlSetVar UserMap pop3user1=>realname1,pop3user2=>realname2
#Require user pop3user1 pop3user2 pop3user3 pop3user4
there are 2 commented parameters you can set when using POP3 auth - sure its pretty self-explanatory.
Set up admin user (the admin_user must be able to authenticate as a pop user):
Code:
#echo "admin_user" >> /opt/dspam/cgi-bin/admins
Create a queuesize script for web user - so dspam can determine how many messages in the queue.
Code:
vi /usr/local/bin/eximqsize
#!/bin/sh
/usr/bin/find /var/spool/exim/input/ -type f | wc -l | cut -d" " -f1-
##EOF
# chmod 4755 /usr/local/bin/eximqsize
# chown nobody /usr/local/bin/eximqsize
Configure web ui, edit /opt/dspam/cgi-bin/configure.pl:
Code:
$CONFIG{'MAIL_QUEUE'} = "/usr/local/bin/eximqsize";
$CONFIG{'WEB_ROOT'} = "/dspam_files";
$CONFIG{'LOCAL_DOMAIN'} = "FQDN"; #your servers fully qualified domain name - e.g. host.yourdomain.com
Next, set the default preferences for the system (you need /opt/dspam/bin in your path if you copy and paste this...):
Code:
dspam_admin ch pref default trainingMode TEFT
dspam_admin ch pref default spamAction quarantine
dspam_admin ch pref default spamSubject "[SPAM]"
dspam_admin ch pref default enableWhitelist on
dspam_admin ch pref default showFactors off
Permissions:
I would suggest reading the README over dspam to get a full understanding of the permissions required for running of dspam. My permissions were:
Code:
# chown nobody:mail /opt/dspam/var/dspam -R
# chown nobody:mail /opt/dspam/etc/ -R
Edit dspam.conf (in /opt/dspam/etc/. I have only listed the parameters I changed here...):
Code:
TrustedDeliveryAgent "/usr/sbin/exim -oMr spam-scanned"
Trust: root
Trust: mail
Trust: nobody / httpd #choose 1 - what ever your webserver runs as - `ps axu | grep httpd` to find out
#Use the same details as you did for the "grant all privileges on...." statement in mysql.
MySQLServer /var/lib/mysql/mysql.sock
MySQLPort
MySQLUser dspamuser
MySQLPass dspampass
MySQLDb dspamdb
MySQLCompress true
MySQLVirtualTable dspam_virtual_uids
MySQLVirtualUIDField uid
MySQLVirtualUsernameField username
Almost there....
Confirm that mysql is configure to listen on a socket in /etc/my.cnf (or whereever your config file is):
Code:
# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
Now the final step - exim configuration. This is the part that took the longest, hopefully it works for you. Just as I read in the howto's I used for this, please please please dont just copy and paste - you stand a good chance of breaking your mail server if you make changes without understanding. Be warned.
My config file is /etc/exim.conf. This should be edited using the WHM -> Exim Configuration Editor -> Advanced.
Code:
#Routers - Add these in the box before virtual_user delivery / user delivery router).
dspam_router:
no_verify
#uncomment the next line to disable dspam for virtual users.
# check_local_user
condition = "${if and {
{!def:h_X-Spam-Flag:}
{!def:h_X-FILTER-DSPAM:}
{!eq {$sender_address_domain}{$domain}}
{!eq {$received_protocol}{local}}
{!eq {$received_protocol}{spam-scanned}}
} }"
headers_add = "X-FILTER-DSPAM: by $primary_hostname on $tod_full"
driver = accept
transport = dspam_spamcheck
## The next 2 routers allow you to forward spam / non-spam to dspam for training (e.g. spam-yourmail@yourdomain.net).
# spam-username
dspam_addspam_router:
driver = accept
local_part_prefix = spam-
transport = dspam_addspam
# nospam-username
dspam_falsepositive_router:
driver = accept
local_part_prefix = notspam-
transport = dspam_falsepositive
##Transports - can be added anywhere:
#this adds the spam-scanned protocol header, so when it is passed back to exim after being processed by dspam, it doesnt get stuck in a loop.
dspam_spamcheck:
driver = pipe
command = "/usr/sbin/exim -oMr spam-scanned -bS"
transport_filter = "/opt/dspam/bin/dspam --stdout --deliver=innocent,spam --user $local_part@$domain"
use_bsmtp = true
home_directory = "/tmp"
current_directory = "/tmp"
user = nobody
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
dspam_addspam:
driver = pipe
command = "/opt/dspam/bin/dspam --user $local_part@$domain --class=spam --source=error"
home_directory = "/tmp"
current_directory = "/tmp"
user = nobody
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
dspam_falsepositive:
driver = pipe
command = "/opt/dspam/bin/dspam --user $local_part@$domain --class=innocent --source=error"
home_directory = "/tmp"
current_directory = "/tmp"
user = nobody
group = mail
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =
If you have set up authentication correctly as well, then you should be able to open [url] and log in - if you add your login details to the "admins" file, you can configure defaults, etc. It also allows ALL users (with 1 user being an email account) to log in, using www.yourclientsdomain.com/dspam/dspam.cgi
This will not work with suexec enabled!! This is because dspam needs specific permissions, and it is expecting user nobody to access it. If suexec is enabled, you will need to use the default host, and NOT virtual hosts (and even this may not work - testing still required).
Watch exim_mainlog after this - you should pick up what transports and routers are being used.
Dspam can really hammer a system - mysql, cpu and memory usage will go up a bit, especially on busy production servers. Monitor your servers performance.
Other settings: add /opt/dspam/man to MANPATH in /etc/man.config or move dspam man directory to an existing man directory.
[ADDED]
This dspam.cgi hack will do a lookup in the cpanel config file to find the domain for any username without a domain, and append it on match (or leave just the username part if nothing is found). This requires unsecuring your system a bit - your http user will need to be able to read /etc/trueuserdomains (either chmod 644 or chown nobody):
Code:
#add this just after $CURRENT_USER is set.
if ($CURRENT_USER !~ /@.+./) {
open(TUD, "</etc/trueuserdomains");
while(<TUD>) {
my ($domain, $user) = split(/:/,$_);
chomp($user);
$user =~ s/^s*//g;
if ($user eq $CURRENT_USER) {
$CURRENT_USER = $CURRENT_USER . "@$domain";
}
}
close(TUD);
}
That should do it
dspam will allow all messages through by default, and will require some training. With this config, users can train using email commands - all they need to do is forward any spam that hits their mailbox to spam-emailaddress@domain.com (their own email address with spam- prepended). Unfortunately this does not allow handling of false positives if you are using a "quarantine" policy instead of subject. the web interface comes in handy for this.
I am busy testing a combination of dspam with assp, which seems to be working well - I especially like the greylisting feature of assp and ProtectionBox... Will add to this howto when testing is finish.
We are having trouble with disk space on some of our shared hosting servers and we are wondering if anyone have a script to clean e-mails from exim not checked in the last 60 days ?
View 1 Replies View RelatedAre there others that are having a problem with exim getting slammed with the max allowed connections after updating to cpanel 11?
I have upgraded perl to 5.8.8 and upgraded cpanel. Now, all day yesterday, last night, and now.. pstree is showing exim maxed out.
Clients are complaining that they can't send email due to the "too many connections" error.
I have bumped up the max to 300 for now to hopefully get more clients able to send, but it is quickly working its way over 200 as I type this.
I have tried every setting in the exim configuration editor, on and off, I have a data center techs working on it since yesterday...
we have a freebsd/cpanel box what seems to be trouble prone combination, specially for exim.
After cpanel upgrade, exim simple has stopped. Somehow I managed receiving on this way:
# /etc/init.d/exim start
/libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "sendmail"
I checked which perl version is running: perl -v
This is perl, v5.10.0 built for i386-freebsd-64int
then applied:
unix1# ln -s /usr/local/lib/perl5/5.10.*/mach/CORE/libperl.so /usr/local/lib
unix1# /etc/init.d/exim start
exim exim antirelaydunix1#
unix1#
but this solved only half of a problem, now we can receive e-mails, but not send them, what is really frustrating.
Here is the error which cpanel sends on each 5 min:
exim failed @ Fri May 1 16:06:15 2009. A restart was attempted automatically.
Service Check Method: [tcp connect]
Failure Reason: TCP Transaction Log:
<< 220-xxxxxxxxxx.xxxx ESMTP Exim 4.69 #3 Fri, 01 May 2009 16:06:41 +0200 << <<
>> EHLO localhost
<< 250-xxxx.xxxx.xxx Hello localhost [127.0.0.1] << << << << <<
>> AUTH PLAIN
>> AF9fY3BhbmVsX19zZXJ2aWNlX19hdXRoX19leGltX19Nd2NxU1pyUng1S3R5YTl2enZaV
>> zN4R3Q1MU5WdTh1MHBZcnI4NDhqaWVtWFhSY3VraERTSGZnZU1tQkpiVXNWAFRkbzNpY3
>> ZVTUg1N1Z0R0t5c2VLYW82T1U1UFlqRDEwVThpVXlGSUpFMkZDRWVFaWxzTTNZMHVaRGd
>> UWXM1WnU=
<<
exim: ** [ != 2]
and I can not find the solution for this almost two days (!), no help for host support either. Closest what I have found on net is this topic:
[url]
whether our webhost has their configuration messed up, or if this is not genuinely possible with cpanel + exim + shared hosting.
Our email server is hosted with the web host, and what we want to do is to not allow certain users to be able to receive (And send) outgoing email to non-local domains e.g. they should only be able send and receive within our hosted domain, @mydomain.com .
Now, we've tried doing this using cpanel's user level filters and have setup the following:
Rules:
If Field To does not contain @mydomain.com OR
If Field From does not contain @mydomain.com
Action:
Fail with message.
We've tested these filters using combinations and they seem to be working as far as we can see on cpanel (it has the filter testing feature)
Now this works for people sending emails into our domain e.g. someone from hotmail tries sending emails to a user, and it bounces back.
But people from inside the domain can send emails to other domains even when they give valid results on the cpanel filter tester.
Does anyone know if it is possible to implement DKIM (DomainKeys Identified Mail) on a Linux server that uses cPanel/Exim? I am interested in getting this implemented but not sure how, or if it's even possible yet on my setup.
View 14 Replies View RelatedI have noticed on my two dedicated servers logs that some emails just dissapear after being frozen for days in queue and there is no notice or warning sent to the sender.
Please check your logs and tell me if I am wrong, just check for non-zero on your exim_mainlog
grep non-zero /var/log/exim_mainlog
and then grep your messageId
grep 1K17WW-0002so-Sn /var/log/exim_mainlog
2008-05-24 17:34:23 1K17WW-0002so-Sn == vicoello@xxxxx.com R=lookuphost T=remote_smtp defer (-1): smtp transport process returned non-zero status 0x000e: terminated by signal 14
2008-05-24 17:34:23 1K17WW-0002so-Sn Frozen
2008-05-25 18:02:27 1K17WW-0002so-Sn Message is frozen
...
2008-05-26 22:08:47 1K17WW-0002so-Sn Message is frozen
....
2008-05-27 15:00:31 1K17WW-0002so-Sn Message is frozen
? Dissapeared
Anybody done this like one or two email server running especially Exim and all other cPanel servers are using them as email proxies to send email?
View 6 Replies View RelatedBroadcast message from root (Sat Jan 6 15:52:08 2007):
cPanel Layer 2 Update Commencing
Broadcast message from root (Sat Jan 6 16:01:09 2007):
cPanel Layer 2 Install Complete
I got this message while leaving my computer on over the weekend. And suddenly find that my mail server aint' working. So i tried to restart exim
root@kuching [~]# service exim restart
Shutting down exim: [FAILED]
Shutting down antirelayd: [ OK ]
Shutting down spamd: [ OK ]
Starting exim: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
[FAILED]
Starting exim-smtps: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
[FAILED]
Starting antirelayd: [ OK ]
Starting spamd: [ OK ]
I tried to reinstall exim by # /scripts/exim4 --force
It doesn't work again, so I tried to update again # /scripts/upcp --force