mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Maildir delivery for Sendmail
This commit is contained in:
@ -198,10 +198,19 @@ if (!defined(@mail_style_cache)) {
|
||||
# Can get paths from Sendmail module config
|
||||
local %sconfig = &foreign_config("sendmail");
|
||||
if ($sconfig{'mail_dir'}) {
|
||||
return ($sconfig{'mail_dir'}, $sconfig{'mail_style'}, undef, undef);
|
||||
# File under /var/mail
|
||||
return ($sconfig{'mail_dir'},
|
||||
$sconfig{'mail_style'}, undef, undef);
|
||||
}
|
||||
elsif ($sconfig{'mail_type'}) {
|
||||
# Maildir under home directory
|
||||
return (undef, $sconfig{'mail_style'},
|
||||
undef, $sconfig{'mail_file'});
|
||||
}
|
||||
else {
|
||||
return (undef, $sconfig{'mail_style'}, $sconfig{'mail_file'}, undef);
|
||||
# mbox under home directory
|
||||
return (undef, $sconfig{'mail_style'},
|
||||
$sconfig{'mail_file'}, undef);
|
||||
}
|
||||
}
|
||||
elsif ($config{'mail_system'} == 0) {
|
||||
|
@ -29,3 +29,5 @@ Cleaned up the code and UIs for all mapping lists, to fit in better with the Web
|
||||
---- Changes since 1.300 ----
|
||||
The count of messages in the mail queue on the module's main page no longer includes those that the current user does not have access to.
|
||||
Added access control for the Spam Control page.
|
||||
---- Changes since 1.390 ----
|
||||
Added a Module Config option to support ~/Maildir mailboxes (even though Sendmail doesn't support this natively).
|
||||
|
@ -27,3 +27,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -26,3 +26,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -28,3 +28,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -28,3 +28,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -28,3 +28,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -31,3 +31,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -31,3 +31,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -36,3 +36,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -36,3 +36,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -26,3 +26,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -34,3 +34,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -31,3 +31,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -31,3 +31,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -30,3 +30,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -27,3 +27,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -31,3 +31,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -30,3 +30,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -27,3 +27,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -26,3 +26,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -26,3 +26,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -36,3 +36,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -36,3 +36,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -36,3 +36,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -34,3 +34,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
sendmail_smf=network/smtp:sendmail
|
||||
mail_type=0
|
||||
|
@ -35,3 +35,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -35,3 +35,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -28,3 +28,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -29,3 +29,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -28,3 +28,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -27,3 +27,4 @@ columns=2
|
||||
show_cmts=0
|
||||
prefix_cmts=0
|
||||
|
||||
mail_type=0
|
||||
|
@ -31,6 +31,7 @@ access_file=Source file for the access database,3,Same as DBM
|
||||
domains_file=Source file for the domains database,3,Same as DBM
|
||||
mail_dir=User mail file location,3,File under home directory
|
||||
mail_file=Mail file in home directory,0
|
||||
mail_type=Mail storage type,1,1-Maildir,0-mbox
|
||||
mail_style=Mail file directory style,4,0-mail/username,1-mail/u/username,2-mail/u/us/username,3-mail/u/s/username
|
||||
mail_sync=User mail file synchronization,2,create-Create with user,delete-Delete with user,modify-Rename with user
|
||||
smrsh_dir=SMRSH directory,3,None
|
||||
|
Reference in New Issue
Block a user