3);
}
+# Allow POP3 last command
+if (&find("pop3_enable_last", $conf, 2)) {
+ $last = &find_value("pop3_enable_last", $conf);
+ @opts = ( [ 'yes', $text{'yes'} ], [ 'no', $text{'no'} ] );
+ print &ui_table_row($text{'mail_last'},
+ &ui_radio("pop3_enable_last", $last,
+ [ @opts,
+ [ '', &getdef("pop3_enable_last", \@opts) ] ]), 3);
+ }
+
print &ui_table_end();
print &ui_form_end([ [ "save", $text{'save'} ] ]);
mail_uidl_courier2=Courier verion 2
mail_uidl_tpop3d=tpop3d
mail_euidl=Missing or invalid UIDL format
+mail_last=Allow use of POP3 LAST command?
log_net=Changed Networking and Protocols
log_login=Changed User and Login Options
&save_directive($conf, "pop3_uidl_format", $uidl);
}
+# LAST command
+&save_directive($conf, "pop3_enable_last",
+ $in{'last'} ? $in{'last'} : undef);
+
&flush_file_lines();
&unlock_file($config{'dovecot_config'});
&webmin_log("mail");