Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO #2

Open
10 of 30 tasks
Skywalker-11 opened this issue Feb 14, 2017 · 12 comments
Open
10 of 30 tasks

TODO #2

Skywalker-11 opened this issue Feb 14, 2017 · 12 comments

Comments

@Skywalker-11
Copy link
Member

Skywalker-11 commented Feb 14, 2017

Previous discussion in mailwatch/MailWatch#512

  • apache 2.2/2.4
    • RedHat/CentOS (to test)
    • Debian/Ubuntu (Skywalker-11/stefaweb)
    • SUSE (to test)
  • nginx
    • RedHat/CentOS
    • Debian/Ubuntu (stefaweb)
    • SUSE
  • sendmail
    • RedHat/CentOS
    • Debian/Ubuntu
    • SUSE
  • postfix
    • RedHat/CentOS (asuweb)
    • Debian/Ubuntu (stefaweb)
    • SUSE (to test)
  • exim
    • RedHat/CentOS (to test)
    • Debian/Ubuntu (stefaweb)
    • SUSE (to test)
  • find paths, users/groups, commands for different os
    • RedHat/CentOS (asuweb)
    • Debian/Ubuntu (Skywalker-11/stefaweb)
    • SUSE (to test)
  • (optional) auto detect os
  • (optional) detect old install and perform needed updates while keeping old data
    • keep database
    • keep config file
    • mta config, web server updates?
  • test if db exists, ask for confirmation to override
@stefaweb
Copy link
Contributor

I post the tree if this can help.

mailwatch/
├── setup
│   ├── deb
│   │   ├── apache.sh
│   │   ├── apache2
│   │   │   └── conf-available
│   │   │       └── mailwatch.conf
│   │   ├── cron_crontab.sh
│   │   ├── exim
│   │   │   └── etc
│   │   │       ├── default
│   │   │       │   └── exim
│   │   │       └── exim
│   │   │           ├── conf.d
│   │   │           │   └── main
│   │   │           │       ├── 00_mailscanner_listmacrosdefs
│   │   │           │       └── 01_mailscanner_config
│   │   │           ├── hubbed_hosts
│   │   │           ├── mailscanner_acldefs
│   │   │           └── relay_domains
│   │   ├── exim.sh
│   │   ├── mailscanner
│   │   │   └── etc
│   │   │       └── MailScanner
│   │   │           └── conf.d
│   │   │               └── mailwatch.conf
│   │   ├── mailscanner.sh
│   │   ├── postfix
│   │   │   └── etc
│   │   │       └── postfix
│   │   │           └── header_checks
│   │   └── postfix.sh
│   └── rpm
│       ├── apache
│       │   └── conf.d
│       │       └── mailwatch.conf
│       ├── apache.sh
│       ├── cron_crontab.sh
│       ├── exim
│       │   └── etc
│       │       └── exim
│       │           └── ?
│       ├── exim.sh
│       ├── mailscanner
│       │   └── etc
│       │       └── MailScanner
│       │           └── conf.d
│       │               └── mailwatch.conf
│       ├── mailscanner.sh
│       └── postfix
│           └── etc
│               └── postfix
│                   └── header_checks
└── setup.sh

mailwatch.zip

@stefaweb stefaweb reopened this Feb 14, 2017
@stefaweb
Copy link
Contributor

I can close?

@Skywalker-11
Copy link
Member Author

As the todo list is not finished yet we should let it open

@stefaweb
Copy link
Contributor

It was a mistake. I clicked without looking on my keyboard. ;)

But, on the mailwatch repository, I can delete only my own Issue. Why?

@Skywalker-11
Copy link
Member Author

Permissions set by Manuel

@stefaweb
Copy link
Contributor

I'm very sorry. Done a big mistake. I deleted "develop".

You should reduce my right.

@Skywalker-11
Copy link
Member Author

lol 🤣

@stefaweb
Copy link
Contributor

Ouf, you reverted it back. I was afraid that all was lost.
Manuel should absolute reduce my right as in the mailwatch project.

@stefaweb
Copy link
Contributor

I forgot for Exim Debian.

Before /usr/sbin/update-exim4.conf add:

hostname --fqdn in /etc/mailname

(put host.domain.tld in the file /etc/mailname)

@remkolodder
Copy link

Stuff in FreeBSD is configured in /usr/local/{etc,bin,share/doc}, so that is somewhat of a change.
But honestly do we need to do all that?

If we describe that properly on an install page, then people should find that out themselves. I mean if they cannot configure a system, why would they be running it in the first place. At some point in time that will either bite the company or us (us=project mailwatch).

I was more thinking of a 'install.php' which lets you set the database parameters, lets you set certain parameters to get the installation going (like timezone, quarantine report information, etc), and after acknowledging the proper database is created and filled with the available information, next to a conf.php which is written via install.php (and/or can be made copy/paste for systems where you cannot write to conf.php for whatever reason).

I do not think we should setup an entire system, integrating mailwatch and mailscanner for example, can be different for every single individual, with many many different MTA's and setups. You do not want to cover that. You want to make sure that if the prereqs are met, mailwatch can be used by the end user..

But that is my humble opinion ;-)

@endelwar
Copy link
Member

if they cannot configure a system, why would they be running it in the first place. At some point in time that will either bite the company or us (us=project mailwatch)

🍻🍻🍻🍻🍻

@Skywalker-11
Copy link
Member Author

I already thought on putting the part that configures MailWatch itself to a seperate file so you can condigure every part of the large script itself. I'll try to do that soon maybe this weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants