how to add domains etc?

Questions and answers about how to do stuff
Post Reply
martinwa
Posts: 5
Joined: 24 Jan 2014 09:44

how to add domains etc?

Post by martinwa »

In ESVA adding domains is done with ESVA-domainadd but how is it done in EFA?

Great software by the way :)

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

Re: how to add domains etc?

Post by darky83 »

Still busy writing the howto (live somewhere today :P)

in short:
Logon with ssh with the user you created during the setup

- EFA-Configure will automatically start up
- Go to option 8) Mail Settings
- Go to option 4) Transport settings

Here you can add/remove/edit your domains.
Version eFa 4.x now available!
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: how to add domains etc?

Post by shawniverson »

Also,

Spam Settings --> Inline Signature Rules allow you to add domains to the MailScanner signature rules.

:geek:
martinwa
Posts: 5
Joined: 24 Jan 2014 09:44

Re: how to add domains etc?

Post by martinwa »

In ESVA adding a domain also added a user with login rights to the web-interface.
This user could login and release mails from his domain only...

In time, will this be possible in EFA?

Regards :)
Martin
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: how to add domains etc?

Post by shawniverson »

Hello Martin,

For now, simply create a new user in the domain as follows using MailWatch under Tools/Links

username: <myadmin>@<mydoman>
Name, password, etc.
Under User Type, choose "Domain Administrator"
martinwa
Posts: 5
Joined: 24 Jan 2014 09:44

Re: how to add domains etc?

Post by martinwa »

thank you - I try that.

Best regards
Martin
b19wll
Posts: 58
Joined: 22 Nov 2012 09:55

Re: how to add domains etc?

Post by b19wll »

Hello

I have added a user under mailwatch as above and can log in as that user and see all the email for the domain. I then started to whitelist some domains, then to double check I looked at the lists section only to find that the whitelist entries that I made earlier were not listed under the domain administrator login. However when I log in as admin and look at the lists, I can see the entries that I made for the domain administrator logon.

What do I need to do to see those entries when logged in as the domain administrator?


Thanks


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

Re: how to add domains etc?

Post by shawniverson »

Can you share an example entry?

Domain Administrators should only see entries for their own domains:

From: someperson@somewhere.net
To: someperson@mydomain.com
b19wll
Posts: 58
Joined: 22 Nov 2012 09:55

Re: how to add domains etc?

Post by b19wll »

logged in as admin I can see;

From: sendingdomain.com
To: recievingdomain.net

Whilst logged in as a domain administrator nothing is listed.

I know that the W/L is working as the emails are showing as green.

Thanks

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

Re: how to add domains etc?

Post by shawniverson »

Checking into this... :think:
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: how to add domains etc?

Post by shawniverson »

I believe we have a bug...

Just posted an issue to mailwatch

https://github.com/mailwatch/1.2.0/issues/52

Seeing if I can come up with a workaround or temporary fix...
b19wll
Posts: 58
Joined: 22 Nov 2012 09:55

Re: how to add domains etc?

Post by b19wll »

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

Re: how to add domains etc?

Post by shawniverson »

Bug found!

MailWatch has a typo in /var/www/html/mailscanner/lists.php on line 156...

Code: Select all

 $todomain1 = strtolower($url_domain);
This code should read...

Code: Select all

 $todomain = strtolower($url_domain);
Unfortunately, this means that existing whitelist and blacklist entries are screwed up and will either have to be removed and readded or directly modified in the mailscanner whitelist and blacklist tables
b19wll
Posts: 58
Joined: 22 Nov 2012 09:55

Re: how to add domains etc?

Post by b19wll »

Wow that was fast, I'll change the chide note and report back
b19wll
Posts: 58
Joined: 22 Nov 2012 09:55

Re: how to add domains etc?

Post by b19wll »

Ok that works great now, but I think I may have stumbled on another bug

I went ahead and added several entries into the W/L both in the format

from: name@domain.com
to: name@domain.net

and

from: domain.com
to: domain.net

I can delete the entries that are in the format name@domain.com, but not the ones that are listed as domain.com?

Thanks


Will

PS forgot to mention that I can delete any entry while logged in as admin, the above only happens when I am logged in as a domain administator
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: how to add domains etc?

Post by shawniverson »

I'll check into this too.
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: how to add domains etc?

Post by shawniverson »

b19wll
Posts: 58
Joined: 22 Nov 2012 09:55

Re: how to add domains etc?

Post by b19wll »

I'll edit the file and test, thanks for the info

Will
b19wll
Posts: 58
Joined: 22 Nov 2012 09:55

Re: how to add domains etc?

Post by b19wll »

Just changed the lists.php as shown on the github link and can now delete as a domain administrator.

Will add a standard user account tomorrow and see if that works.


Thanks

Will
Post Reply