Build from scratch

Questions and answers about how to do stuff
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Build from scratch

Post by Uk Bloke »

Hi
Is it possible to build EFA on top of a Linux server?
I ask as I don't have the ability to mount the ISO (long story), I would be happy to pay someone to build the EFA part if I supply the OS.

Thanks
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson »

This can be done.

How are you installing the Linux server OS, out of curiosity?
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

It''s a VPS....
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson »

I see, next question.

What flavor of Linux is it?
fijekladias
Posts: 6
Joined: 28 Jan 2014 08:17

Re: Build from scratch

Post by fijekladias »

any particular reason why the efa build script must be used for 64-bit only?
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

shawniverson wrote:I see, next question.

What flavor of Linux is it?
I have a choice, Centos 5 or 5, unbuntu, fedora etc, which would be best?
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Build from scratch

Post by darky83 »

It will need to be Centos 6.5 x64,

Without Centos 6.5 x64 you are out of luck, Centos 5 is just way to old to support.
Version eFa 4.x now available!
ge2000
Posts: 28
Joined: 23 Jan 2013 19:27

Re: Build from scratch

Post by ge2000 »

removed
Last edited by ge2000 on 05 Feb 2014 19:07, edited 1 time in total.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson »

[I have a choice, Centos 5 or 5, unbuntu, fedora etc, which would be best?
If you can do CentOS 6.5 64bit, I will be able to help you.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson »

ge2000 wrote:It is great to see EFA moved back to ESVA principles. Thank all for that! But it is a pity that CentOS was chosen as the OS.
So it would be really, really great to have the possibility to build EFA on non "yum" systems.

--Ge
Are you wanting a deb-based system? What's your reasoning/thoughts?
ge2000
Posts: 28
Joined: 23 Jan 2013 19:27

Re: Build from scratch

Post by ge2000 »

removed
Last edited by ge2000 on 05 Feb 2014 19:07, edited 1 time in total.
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

Looks like my post has been hijacked.....

I can confirm the OS will be Centos 6.5, so that's good.
Are you able to install the parts needed to build a EFA once the OS is setup?
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson »

Yep :D
ge2000
Posts: 28
Joined: 23 Jan 2013 19:27

Re: Build from scratch

Post by ge2000 »

Uk Bloke wrote:Looks like my post has been hijacked.....
You are right. Sorry for that.
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

shawniverson wrote:Yep :D
Are you saying you can do the build for me?
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

I have had a look at this page http://efa-project.org/documentation/building_efa/ but I don't have boot access, can I download the http://dl.efa-project.org/build/3.0.0.1/ks.cfg file and run this once on the running server?

Thanks
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Build from scratch

Post by darky83 »

You can, but first make sure that the pre-requirements that are set by the kickstart file are configured manual:

https://github.com/E-F-A/v3/blob/3.0.0.1/build/ks.cfg

So set the correct password and install the packages needed.
Version eFa 4.x now available!
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson »

Uk Bloke wrote:
shawniverson wrote:Yep :D
Are you saying you can do the build for me?
yep, let me know if you need help.
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

Well I think I have built it.

Getting lots of this on the console:
type=1400 audit(1393336446.504:501): avc: denied { getattr } for pid=3532 com
m="ps" path="/proc/1530" dev=proc ino=13467 scontext=system_u:system_r:httpd_t:s
type=1400 audit(1393336446.508:502): avc: denied { search } for pid=3532 comm
="ps" name="1530" dev=proc ino=13467 scontext=system_u:system_r:httpd_t:s0 tcont
type=1400 audit(1393336477.181:512): avc: denied { getattr } for pid=3562 com
m="ps" path="/proc/1863" dev=proc ino=14753 scontext=system_u:system_r:httpd_t:s
type=1400 audit(1393336477.186:513): avc: denied { search } for pid=3562 comm
="ps" name="1863" dev=proc ino=14753 scontext=system_u:system_r:httpd_t:s0 tcont
ext=system_u:system_r:postfix_pickup_t:s0 tclass=dir

Any ideas, should I be concerned?
thanks
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Build from scratch

Post by darky83 »

Disable SELinux

Code: Select all

sed -i '/SELINUX=enforcing/ c\SELINUX=disabled' /etc/selinux/config
reboot
Version eFa 4.x now available!
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

Thanks, the cmd didn't work so I changed it manually, it was set to passive.
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

Update:
The server is only identifying a small amount of SPAM and a lot is getting through as clean, as there anything I can do about this?
Thanks
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson »

You can try lowering your default Spam Score setting in /etc/MailScanner/MailScanner.conf:

Code: Select all

Required SpamAssassin Score = 3
You also want to train your Bayesian Filter...submit spam and ham to it to build a database of known spam and ham.
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

Ok, done that thanks.

It seems to only be checking emails on the domain I set at install time, all the ones I have set since using Transport mapping are not being checked..... do I need to restart Postfix after each update to the mappings?
Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke »

just tried to 'learn' some SPAM and got this error:
spam SA Learn: error code 127 returned from sa-learn: sh: /usr/local/bin/sa-learn: No such file or directory

Can I just create this folder or does something need to be updated?
Post Reply