aboutsummaryrefslogtreecommitdiffstats
path: root/emailwiz.sh
Commit message (Collapse)AuthorAgeFilesLines
* Reversed order of reject_sender_login_mismatch and permit_sasl_authenticated ↵Goats!2025-05-041-1/+1
| | | | in sender restrictions (main.cf)
* Merge branch 'master' into patch-1Luke Smith2024-07-171-13/+23
|\
| * dmarc to postmasterLuke Smith2024-03-291-1/+1
| |
| * feat: turn user "dmarc" into "postmaster" for more generic use caseskedom2024-03-281-5/+5
| |
| * bind added in caseLuke Smith2024-03-131-1/+1
| |
| * Merge pull request #304 from amnweb/patch-1Luke Smith2024-02-101-1/+1
| |\ | | | | | | Open port 110 and 995 for POP3 support
| | * Update emailwiz.shamnweb2023-12-221-1/+1
| | | | | | | | | Open port 110 and 995 for POP3 support
| * | Merge pull request #305 from aartoni/masterLuke Smith2024-02-101-0/+4
| |\ \ | | | | | | | | Short-term workaround to prevent SMTP smuggling
| | * | Long term fix to prevent SMTP smugglingaartoni2024-02-101-3/+3
| | | |
| | * | Short-term workaround to prevent SMTP smugglingaartoni2023-12-291-0/+4
| | |/
| * | exit when records aren't setuptfasano12024-01-241-2/+2
| | |
| * | Add checks with helpful debug informationtfasano12024-01-241-5/+7
| | |
| * | add ipv6 mechanismtfasano12024-01-181-4/+4
| | |
| * | Update emailwiz.shtfasano12024-01-171-1/+1
| | |
| * | Add spf arg to lower gmail false positive spamtfasano12024-01-171-1/+5
| |/
| * Correct grammatical and phrasing errorsjacob.eva2023-09-211-4/+4
| |
* | now it can make self-signed certs, turn some settings into optionsAlberto Bursi2023-10-281-28/+91
|/ | | | | | | | | | | | | | | | -- the change to the apt-get install part at the beginning forces an uninstall and purge of configs. This means that if you re-run the script it will "reset" the install to default state by deleting packages and configs and re-installing and re-generating the configs. --I turned some hardcoded settings into options that can be set in the variables at the top of the script (for convenience). The default behavior is the same as before. allow_suboptimal_ciphers="yes" #yes no mailbox_format="maildir" # maildir sdbox allowed_protocols=" imap pop3 " #imap pop3 --added a setting "selfsigned="no" # yes no" to choose between "let's get a cert from letsencrypt" and "create self-signed cert that lasts 100 years", and added the logic to generate the certs and whatnot. My usecase is for an "isolated" server that collects notifications from devices in the same local network(s) or serves as secure/private messaging system over VPN (wireguard or whatever). The default is still as before. If creating a self-signed cert is selected, it will show the certificate creation wizard as normal. --added a few setting variables to auto-generate the certificate with country name, state/province name, organization name and hostname Again this is not enabled by default.
* Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith2023-08-191-6/+25
|\
| * Merge pull request #286 from andrewrunxiyu/masterLuke Smith2023-07-261-3/+17
| |\ | | | | | | Make it work with Debian 12: spamassassin -> spamd
| | * Make it work with Debian 12: spamassassin -> spamdAndrew Yu2023-07-031-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits checks for /etc/default/spamassassin. If it exists, it's passed through sed to modify the CRON variable as usual, and spamassassin.service is enabled and restarted. If /etc/default/spamassassin does not exist, but /etc/default/spamd exists, we modify /etc/default/spamd instead, and restart and enable spamd.service. This has to be done because Debian 12 introduced this breaking change: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020859 Apologies for my previous commit which introduced a new "README" file specifically for my fork of the repository. I've modified my patch to remove it, please accept this version of the patch instead. Signed-off-by: Andrew Yu <andrew@andrewyu.org>
| * | adding pop3 specific settingsMed Anis Jbara2023-07-111-2/+7
| |/
| * fix commentxkcdstickfigure2023-06-301-1/+1
| |
* | disable excluded ciphers until further investigation, close #292Luke Smith2023-08-191-2/+2
| |
* | ensure systemd backend for fail2banLuke Smith2023-08-111-0/+2
|/
* fix #279Luke Smith2023-05-291-1/+1
|
* Use single-quotes to prevent interpolation when configuring PostfixJames Puleo2023-05-011-1/+1
| | | | | | | | Unless you intend to interpolate, you should never use double-quotes. In this instance, it was actually impactful -- `$myhostname` and `$mydomain` were meant to be left as-is, referring to those Postfix config parameters, but were accidentally interpolated and subsequently generating nonsense (but not fatal) configuration.
* change made and removed all sasl parametersAPoniatowski2023-04-261-4/+0
|
* Missed a parameter, thanks to copy/paste mistakeAPoniatowski2023-04-261-1/+1
|
* Made minor changes to postconf changes, to fix the relay access denied issue.APoniatowski2023-04-261-1/+15
|
* no error if no dmar dir, fix #271Luke Smith2023-03-291-1/+2
|
* Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith2023-03-021-1/+1
|\
| * Reverse DNS does not match SMTP BannerAleksa Vučković2023-03-011-1/+1
| |
* | enable spamassassin cronjobLuke Smith2023-03-021-0/+3
|/
* clean out old dmarc feedback, other cleanupLuke Smith2023-02-121-19/+13
|
* mx record added and mail subdomain noteLuke Smith2023-02-111-2/+7
|
* fail2ban added and configured for extra securityLuke Smith2023-01-311-2/+12
|
* fix #259 and edit commentsLuke Smith2023-01-311-19/+11
|
* check for wildcard certs as well, resolve #257Luke Smith2023-01-271-1/+1
|
* it makes elegant sense in my headLuke Smith2023-01-271-1/+3
|
* fixLuke Smith2023-01-271-5/+1
|
* get cert if absent fix #253. ufw fix #256.Luke Smith2023-01-271-12/+22
|
* rDNS readme fix. Should be mail subdomain.Luke Smith2023-01-271-11/+5
|
* Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith2023-01-261-0/+5
|\
| * Merge branch 'master' into masterLuke Smith2023-01-261-7/+11
| |\
| * | add sender restrictions for our own usersWilliam_S2022-09-111-0/+6
| | |
* | | close #248Luke Smith2023-01-261-1/+2
| |/ |/|
* | dkim location fixed, close #240Luke Smith2022-10-091-1/+1
| |
* | reject_unknown_recipient_domainLuke Smith2022-10-011-1/+1
| |
* | Merge branch 'master' of github.com:LukeSmithxyz/emailwizLuke Smith2022-09-281-7/+12
|\|
| * use apt-get to install packagesWilliam Behrens2022-08-041-2/+2
| | | | | | This fixes the output "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."