diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_mai_ACC.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_mai_ACC.html.ep
new file mode 100644
index 0000000..d29449e
--- /dev/null
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_mai_ACC.html.ep
@@ -0,0 +1,97 @@
+%# layout 'AdminLTE', title => "Sme server 2 - emailaccess";
+
+%# content_for 'module' => begin
+
+
+
+ % if (config->{debug} == 1) {
+
+
+
+ <%= l 'mai_DESC_VIRUS_SCAN' %>
+
+
+
+
+
+
+ <%= l 'mai_LABEL_VIRUS_SCAN' %>
+
+
+ % param 'VirusStatus' => $mai_data->{virusstatus} unless param 'VirusStatus';
+ <%= select_field 'VirusStatus' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select" %>
+
+
+
+
+
+
+ <%= l 'mai_DESC_SPAM_SCAN' %>
+
+
+
+
+
+
+ <%= l 'mai_LABEL_SPAM_SCAN' %>
+
+
+ % param 'Spamstatus' => $mai_data->{spamstatus} unless param 'Spamstatus';
+ <%= select_field 'Spamstatus' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select" %>
+
+
+
+
+
+
+
+ <%= l 'mai_LABEL_SPAM_SENSITIVITY' %>
+
+
+ % param 'SpamSensitivity' => $mai_data->{spamsensitivity} unless param 'SpamSensitivity';
+ <%= select_field 'SpamSensitivity' => $c->get_spam_sensitivity_opt(), class => "form-select" %>
+
+
+
+
+
+
+
+ <%= l 'mai_LABEL_SPAM_TAGLEVEL' %>
+
+
+ % param 'SpamTagLevel' => $mai_data->{spamtaglevel} unless param 'SpamTagLevel';
+ <%= select_field 'SpamTagLevel' => $c->get_spam_level_options(), class => "form-select" %>
+
+
+
+
+
+
+
+ <%= l 'mai_LABEL_SPAM_REJECTLEVEL' %>
+
+
+ % param 'SpamRejectLevel' => $mai_data->{spamrejectlevel} unless param 'SpamRejectLevel';
+ <%= select_field 'SpamRejectLevel' => $c->get_spam_level_options(), class => "form-select" %>
+
+
+
+
+
+
+
+ <%= l 'mai_LABEL_SORTSPAM' %>
+
+
+ % param 'SpamSortSpam' => $mai_data->{spamsortspam} unless param 'SpamSortSpam';
+ <%= select_field 'SpamSortSpam' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select" %>
+
+
+
+
+
+
+ <%= l 'mai_DESC_SPAM_SUBJECT' %>
+
+
+
+
+
+
+ <%= l 'mai_LABEL_SPAM_SUBJECTTAG' %>
+
+
+ % param 'SpamSubjectTag' => $mai_data->{spamsubjecttag} unless param 'SpamSubjectTag';
+ <%= select_field 'SpamSubjectTag' => [[(l 'DISABLED') => 'disabled'], [ (l 'ENABLED') => 'enabled']], class => "form-select" %>
+
+
+
+
+
+ % param 'SpamSubject' => $mai_data->{spamsubject} unless param 'SpamSubject';
+
+
+
+ <%= l 'mai_LABEL_SPAM_SUBJECT' %>
+
+
+
+
+
+
+
+
+
+
+
+
+ <%= l 'mai_DESC_BLOCK_EXECUTABLE_CONTENT' %>
+
+
+
+
+
+
+ <%= l 'mai_LABEL_CONTENT_TO_BLOCK' %>
+
+
+ % param 'BlockExecutableContent' => $c->get_patterns_current_opt() unless param 'BlockExecutableContent';
+ <%= select_field 'BlockExecutableContent' => $c->get_patterns_opt(), class => "form-select", multiple => "1" %>
+
+
+
+
+
+ % my $btn = l('SAVE');
+ <%= hidden_field 'trt' => 'FIL' %>
+
+
+
+
+
+
+
+%#end
\ No newline at end of file
diff --git a/root/usr/share/smanager/themes/AdminLTE/templates/partials/_mai_FRONT.html.ep b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_mai_FRONT.html.ep
new file mode 100644
index 0000000..68f4903
--- /dev/null
+++ b/root/usr/share/smanager/themes/AdminLTE/templates/partials/_mai_FRONT.html.ep
@@ -0,0 +1,206 @@
+
+ % if (config->{debug} == 1) {
+
+
+
+ <%= l 'mai_LABEL_MODE' %>
+
+
+ <%= $mai_data->{fetchmailmethod} %>
+
+
+
+ % my $smtp_mesg;
+
+ % $smtp_mesg=l('SMTP port %u allow client to authenticate:');
+
+
+
+ <%= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25)); %>
+
+
+ <%= $c->get_current_smtp_auth( TRUE ) %>
+
+
+
+ % $smtp_mesg=l('SMTPS SSL/TLS auth: port %u status:');
+
+
+
+ <%= sprintf($smtp_mesg,$c->get_db_prop('sqpsmtpd','TCPPort',465)); %>
+
+
+ <%= $c->get_current_smtp_ssl_auth( TRUE, 's', FALSE ) %>
+
+
+
+ % $smtp_mesg=l 'Submission port %u status:';
+
+
+
+ <%= sprintf($smtp_mesg,$c->get_db_prop('uqpsmtpd','TCPPort',587)); %>
+
+
+ <%= $c->get_current_smtp_ssl_auth( TRUE,'u', FALSE ) %>
+
+
+
+
+
+ % $btn = l('mai_DESC_STATE_RECEPTION_BUTTON');
+ <%= hidden_field 'trt' => 'REC' %>
+
+
+
+
+
+
+
+ <%= l 'mai_DESC_MODE' %>
+
+
+
+
+
+
+ <%= l 'mai_LABEL_MODE' %>
+
+
+ % param 'FetchmailMethod' => $mai_data->{fetchmailmethod} unless param 'FetchmailMethod';
+ <%= select_field 'FetchmailMethod' => $c->get_retrieval_opt(), class =>"form-select" %>
+
+
+
+
+
+
+
+
+ Note - this first line was disabled?
+
+
+ <%= l 'mai_DESC_SMTP_AUTH_CONTROL' %>
+
+ /end
+
+
+
+
+
+ <%= l "SMTP port (25) main purpose is to receive emails from another server, STARTTLS is always offered, but auth if offered is only if STARTTLS is also used by client." %>
+
+
+
+
+
+ <%= l "SMTPS port (465) will require implicit SSL/TLS then authenticate to send." %>
+
+
+
+
+
+ <%= l "SMTP Submission port (587) will require STARTTLS, then authenticate to send." %>
+
+
+
+
+
+
+ % my $smtp_mesg=l('SMTP port %u allow client to authenticate:');
+ % param 'SMTPAuth' => $c->get_current_smtp_auth( FALSE ) unless param 'SMTPAuth';
+
+
+
+ <%= sprintf($smtp_mesg,$c->get_db_prop('qpsmtpd','TCPPort',25)); %>
+
+
+ <%= select_field 'SMTPAuth' => $c->get_smtp_auth_opt(), class => "form-select" %>
+
+
+
+
+
+ % my $smtp_mesg=l('SMTPS SSL/TLS auth: port %u status:');
+ % param 'sSMTPAuth' => $c->get_current_smtp_ssl_auth(FALSE,'s', TRUE) unless param 'sSMTPAuth';
+
+
+
+ <%= sprintf($smtp_mesg,$c->get_db_prop('sqpsmtpd','TCPPort',465)); %>
+
+
+ <%= select_field 'sSMTPAuth' => $c->get_smtp_ssl_auth_opt(), class => "form-select" %>
+
+
+
+
+
+ % my $smtp_mesg=l('Submission port %u status:');
+ % param 'uSMTPAuth' => $c->get_current_smtp_ssl_auth(FALSE,'u', TRUE) unless param 'uSMTPAuth';
+
+
+
+ <%= sprintf($smtp_mesg,$c->get_db_prop('uqpsmtpd','TCPPort',587)); %>
+
+
+
+ <%= select_field 'uSMTPAuth' => $c->get_smtp_ssl_auth_opt(), class => "form-select" %>
+
+
+
+
+
+ <%= l 'mai_TITLE_SECONDARY' %>
+
+
+
+
+ <%= l 'mai_DESC_SECONDARY' %>
+
+
+
+
+ % param 'SecondaryMailServer' => $mai_data->{secondarymailserver} unless param 'SecondaryMailServer';
+
+
+
+ <%= l 'mai_LABEL_SECONDARY' %>
+
+
+
+
+
+
+
+
+
+ <%= l 'mai_DESC_FETCH_PERIOD' %>
+
+
+ % param 'FreqOffice' => $mai_data->{freqoffice} unless param 'FreqOffice';
+
+
+
+ <%= l 'mai_LABEL_FETCH_PERIOD' %>
+
+
+ <%= select_field 'FreqOffice' => $c->fetchmail_freq(), class => "form-select" %>
+
+
+
+
+
+ % param 'FreqOutside' => $mai_data->{freqoutside} unless param 'FreqOutside';
+
+
+
+ <%= l 'mai_LABEL_FETCH_PERIOD_NIGHTS' %>
+
+
+ <%= select_field 'FreqOutside' => $c->fetchmail_freq(), class => "form-select" %>
+
+
+
+
+
+ % param 'FreqWeekend' => $mai_data->{freqweekend} unless param 'FreqWeekend';
+
+
+
+ <%= l 'mai_LABEL_FETCH_PERIOD_WEEKENDS' %>
+
+
+ <%= select_field 'FreqWeekend' => $c->fetchmail_freq(), class => "form-select" %>
+
+
+
+
+
+ % param 'SecondaryMailAccount' => $mai_data->{secondarymailaccount} unless param 'SecondaryMailAccount';
+
+
+
+ <%= l 'mai_LABEL_POP_ACCOUNT' %>
+
+
+
+
+
+
+
+
+ % param 'SecondaryMailPassword' => $mai_data->{secondarymailpassword} unless param 'SecondaryMailPassword';
+
+
+
+ <%= l 'mai_LABEL_POP_PASS' %>
+
+
+
+
+
+
+
+
+
+
+
+
+ % param 'SpecifyHeader' => $mai_data->{specifyheader} unless param 'SpecifyHeader';
+
+
+
+ <%= l 'mai_LABEL_SORT_METHOD' %>
+
+
+ <%= select_field 'SpecifyHeader' => [[(l 'mai_DEFAULT') => 'off'], [(l 'mai_SPECIFY_BELOW') => 'on']], class => "form-select" %>
+
+
+
+
+
+ % param 'SecondaryMailEnvelope' => $mai_data->{secondarymailenvelope} unless param 'SecondaryMailEnvelope';
+
+
+
+ <%= l 'mai_LABEL_SORT_HEADER' %>
+
+
+
+
+
+
+
+
+ % my $btn = l('SAVE');
+ % param 'trt' => $mai_data->{trt} unless param 'trt';
+ <%= hidden_field 'trt' => 'REC' %>
+
+
+
+
+
+
+
+%#end
+