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 » 31 Jan 2014 16:23

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: 3029
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson » 31 Jan 2014 19:47

This can be done.

How are you installing the Linux server OS, out of curiosity?
Version eFa 4.0.2 now available!

Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke » 31 Jan 2014 20:48

It''s a VPS....

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

Re: Build from scratch

Post by shawniverson » 31 Jan 2014 21:56

I see, next question.

What flavor of Linux is it?
Version eFa 4.0.2 now available!

fijekladias
Posts: 6
Joined: 28 Jan 2014 08:17

Re: Build from scratch

Post by fijekladias » 01 Feb 2014 02:16

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 » 01 Feb 2014 07:58

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: 535
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Build from scratch

Post by darky83 » 01 Feb 2014 13:17

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.0.1 now available!

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

Re: Build from scratch

Post by ge2000 » 01 Feb 2014 16:32

removed
Last edited by ge2000 on 05 Feb 2014 19:07, edited 1 time in total.

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

Re: Build from scratch

Post by shawniverson » 01 Feb 2014 20:26

[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.
Version eFa 4.0.2 now available!

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

Re: Build from scratch

Post by shawniverson » 01 Feb 2014 20:27

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?
Version eFa 4.0.2 now available!

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

Re: Build from scratch

Post by ge2000 » 02 Feb 2014 00:21

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 » 05 Feb 2014 15:22

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: 3029
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson » 05 Feb 2014 16:31

Yep :D
Version eFa 4.0.2 now available!

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

Re: Build from scratch

Post by ge2000 » 05 Feb 2014 19:08

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 » 11 Feb 2014 11:02

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 » 11 Feb 2014 11:18

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: 535
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Build from scratch

Post by darky83 » 11 Feb 2014 11:59

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.0.1 now available!

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

Re: Build from scratch

Post by shawniverson » 11 Feb 2014 21:50

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.
Version eFa 4.0.2 now available!

Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke » 25 Feb 2014 13:56

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: 535
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Build from scratch

Post by darky83 » 25 Feb 2014 16:00

Disable SELinux

Code: Select all

sed -i '/SELINUX=enforcing/ c\SELINUX=disabled' /etc/selinux/config
reboot
Version eFa 4.0.1 now available!

Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke » 25 Feb 2014 16:18

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 » 26 Feb 2014 10:36

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: 3029
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Build from scratch

Post by shawniverson » 26 Feb 2014 22:56

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.
Version eFa 4.0.2 now available!

Uk Bloke
Posts: 37
Joined: 07 Mar 2013 14:56

Re: Build from scratch

Post by Uk Bloke » 27 Feb 2014 09:26

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 » 27 Feb 2014 09:32

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