Commit 9536faed authored by The Heavy's avatar The Heavy 🚂
Browse files

More defaults, set opendkim up as service

parent bcdcf3d1
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ done
chown -R root:shadow /etc/{gshadow,gshadow-,shadow,shadow-}
chown -R root:bin /etc/usermin
chown root:crontab /var/spool/cron/crontabs
chown -R opendkim:opendkim /etc/dkimkeys
chown -R opendkim:opendkim /etc/dkimkeys /run/opendkim
chown -R clamav:clamav /var/lib/clamav
chown -R mysql:root /var/run/mysqld
chmod -R go-w /etc/postfix
+2 −0
Original line number Diff line number Diff line
#!/bin/sh -e
/usr/sbin/opendkim -x /config/etc/opendkim.conf -f
+11 −5
Original line number Diff line number Diff line
aliascopy=1
alias_mode=1
alias_types=1,2,5,6,7,8,9,10,11,12,13
all_namevirtual=0
allow_subdoms=0
@@ -81,7 +80,6 @@ defforceunder=0
defipfollow=
defmailboxlimit=
defmongrelslimit=4
defmquota=51200
defnodbname=0
defnorename=
defquota=1048576
@@ -228,7 +226,6 @@ php8.3cgi=none
php8.3fcgi=none
php8.4cgi=none
php8.4fcgi=none
phpchildren=20
php_fpm=
php_fpm_port=8000
php_ini_5=
@@ -304,8 +301,6 @@ statustimeout=
statustmpl=
subdomain_template=none
template_auto=1
tmpl_autoconfig=none
tmpl_outlook_autoconfig=none
trash_folder=Trash
unix=3
unix_shell=/bin/bash /bin/sh
@@ -346,6 +341,7 @@ web_webmaildom=
web_writelogs=

# customised settings
alias_mode=0
alias_post_command=
alias_pre_command=
always_ssl=1
@@ -389,11 +385,13 @@ combined_cert=2
combined_tmpl=
contact_email=admin@if-this-domain-resolves-someone-is-going-to-be-mad-at-me.eteoxaoghtrhwfza
delete_logs=1
defmquota=
denied_domains=
dns=0
dns_check=1
dns_records=@ www ftp localhost m
everything_tmpl=
fcgiwrap=
generics=1
group_quotas=
groupsame=1
@@ -413,6 +411,7 @@ localgroup=
longname=1
lookup_domain_serial=1
mail_autoconfig=1
mail_cloud=
mail_quotas=
mail_skel=
mail_system=0
@@ -428,6 +427,9 @@ mysql_replicas=
mysql_size=huge
mysql_suffix=${DOM}_
mysql_user_size=80
newsubdom_bcc=
newsubdom_cc=
newsubdom_subject=Virtual server created
nodeniedssh=0
nolink_certs=1
no_lookup_domain_daemon=1
@@ -436,6 +438,7 @@ other_doms=1
other_users=1
passwd_chars=
passwd_length=
phpchildren=
php_suexec=3
plugins_inactive=
plugins=virtualmin-awstats virtualmin-htpasswd
@@ -456,6 +459,8 @@ subtmpl_nousers=
tar_args=
tar_cmd=
tlsa_records=1
tmpl_autoconfig=<?xml version="1.0" encoding="UTF-8"?>          <clientConfig version="1.1">      <emailProvider id="$SMTP_DOMAIN">         <domain>$SMTP_DOMAIN</domain>           <displayName>$OWNER Email</displayName>       <displayShortName>$OWNER</displayShortName>     <incomingServer type="imap">              <hostname>$SMTP_DOMAIN</hostname>       <port>143</port>        <socketType>STARTTLS</socketType>             <authentication>password-cleartext</authentication>             <username>$SMTP_LOGIN</username>      </incomingServer>       <outgoingServer type="smtp">            <hostname>$SMTP_DOMAIN</hostname>       <port>25</port>         <socketType>STARTTLS</socketType>       <authentication>password-cleartext</authentication>             <username>$SMTP_LOGIN</username>            </outgoingServer>     </emailProvider>      </clientConfig>
tmpl_outlook_autoconfig=<?xml version="1.0" encoding="utf-8" ?> <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">     <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">      <Account>         <AccountType>email</AccountType>        <Action>settings</Action>       <Protocol>         <Type>IMAP</Type>            <TTL>24</TTL>    <Server>$SMTP_DOMAIN</Server>          <Port>143</Port>         <LoginName>$SMTP_LOGIN</LoginName>             <DomainRequired>on</DomainRequired>          <SSL>yes</SSL>    <AuthRequired>on</AuthRequired>              </Protocol>             <Protocol>         <Type>SMTP</Type>              <TTL>24</TTL>    <Server>$SMTP_DOMAIN</Server>        <Port>25</Port>  <LoginName>$SMTP_LOGIN</LoginName>             <DomainRequired>on</DomainRequired>             <SSL>yes</SSL>   <AuthRequired>on</AuthRequired>              </Protocol>         </Account>    </Response>   </Autodiscover>
update_template=none
username_length=
validate_always=0
@@ -463,6 +468,7 @@ validate_config=1
validate_email=admin@if-this-domain-resolves-someone-is-going-to-be-mad-at-me.eteoxaoghtrhwfza
validate_sched=@daily
virus=1
web_http2=1
webalizer=0
wizard_run=1
zip_args=
+39 −0
Original line number Diff line number Diff line
cert_ca_tmpl=
cert_cert_tmpl=
cert_combined_tmpl=
cert_everything_tmpl=
cert_key_tmpl=
created=1653060996
disabled_url=
disabled_web=
file=/etc/webmin/virtual-server/templates/1
for_alias=0
for_parent=0
for_sub=1
for_users=1
id=1
mail=The following virtual sub-server has been set up successfully :            Domain name:             ${DOM} Hosting server:          ${HOSTNAME}    ${IF-VIRT}      Virtual IP address:      ${IP}        ${ENDIF-VIRT}           ${IF-WEB}       Website:                 http://www.${DOM}/     ${IF-WEBALIZER} Webalizer log reporting: Enabled        ${ELSE-WEBALIZER}       Webalizer log reporting: Disabled     ${ENDIF-WEBALIZER}              ${ENDIF-WEB}    ${IF-MAIL}      Email domain:            ${DOM} SMTP server:             mail.${DOM}    POP3 server:             mail.${DOM}          ${ENDIF-MAIL}   ${IF-DNS}       DNS domain:              ${DOM} Nameserver:              ${HOSTNAME}            ${ENDIF-DNS}    ${IF-MYSQL}     MySQL database:          ${DB}        MySQL login:             ${MYSQL_USER}  MySQL password:          ${PASS}                ${ENDIF-MYSQL}  ${IF-POSTGRES}  PostgreSQL database:     ${DB}  PostgreSQL login:        ${USER}      PostgreSQL password:     ${PASS}                ${ENDIF-POSTGRES}
mail_bcc=
mail_cc=
mail_on=none
mail_subject=Virtual server created
name=Settings For Sub-Servers
owners=*
php_fpm=none
php_sock=
resellers=*
skel=none
standard=1
web=
web_admin=1
web_dovecot_ssl=1
web_http2=1
web_php_ini_7.4=
web_php_noedit=0
web_php_suexec=3
web_phpchildren=
web_phpver=
web_postfix_ssl=1
web_usermin_ssl=1
web_webmail=1
web_webmin_ssl=1
+0 −0

Empty file added.