From 7b4659df545ca30fc856df4544aea3e6b69c1181 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Wed, 12 Jul 2023 08:53:55 +0100 Subject: [PATCH] initial commit of file from CVS for e-smith-email on Wed 12 Jul 08:53:55 BST 2023 --- .gitignore | 4 + Makefile | 21 + README.md | 18 +- additional/COPYING | 340 ++ additional/e-smith-email.spec | 1179 ++++++ contriborbase | 1 + createlinks | 138 + e-smith-email.spec | 1523 +++++++ root/etc/cron.d/purge_junkmail | 3 + .../db/accounts/defaults/abuse/Account | 1 + .../db/accounts/defaults/abuse/Removable | 1 + .../e-smith/db/accounts/defaults/abuse/type | 1 + .../db/accounts/defaults/anonymous/Account | 1 + .../db/accounts/defaults/anonymous/Removable | 1 + .../db/accounts/defaults/anonymous/type | 1 + .../e-smith/db/accounts/defaults/devnull/type | 1 + .../db/accounts/defaults/everyone/Account | 1 + .../db/accounts/defaults/everyone/Changeable | 1 + .../db/accounts/defaults/everyone/Removable | 1 + .../db/accounts/defaults/everyone/Visible | 1 + .../db/accounts/defaults/everyone/type | 1 + .../accounts/defaults/mailer-daemon/Account | 1 + .../accounts/defaults/mailer-daemon/Removable | 1 + .../db/accounts/defaults/mailer-daemon/type | 1 + .../db/accounts/defaults/postmaster/Account | 1 + .../db/accounts/defaults/postmaster/Removable | 1 + .../db/accounts/defaults/postmaster/type | 1 + .../db/accounts/migrate/20migrate_typo | 13 + .../defaults/fetchmail/FreqOffice | 1 + .../defaults/fetchmail/FreqOutside | 1 + .../defaults/fetchmail/FreqWeekend | 1 + .../configuration/defaults/fetchmail/Method | 1 + .../defaults/fetchmail/SecondaryMailAccount | 1 + .../defaults/fetchmail/SecondaryMailPassword | 1 + .../defaults/fetchmail/SecondaryMailServer | 1 + .../configuration/defaults/fetchmail/status | 1 + .../db/configuration/defaults/fetchmail/type | 1 + .../defaults/smtp-auth-proxy/Debug | 1 + .../defaults/smtp-auth-proxy/Passwd | 1 + .../defaults/smtp-auth-proxy/Userid | 1 + .../defaults/smtp-auth-proxy/status | 1 + .../defaults/smtp-auth-proxy/type | 1 + .../spamassassin/MessageRetentionTime | 1 + .../configuration/migrate/10EmailUnknownUser | 5 + .../migrate/20smtp-auth-proxy-Blacklist | 8 + .../migrate/20smtp-auth-proxy-Debug | 5 + .../db/configuration/migrate/20smtpProxy | 13 + .../db/configuration/migrate/20smtpd-auth | 7 + .../configuration/migrate/20smtpfront-qmail | 12 + .../e-smith/db/configuration/migrate/30popd | 10 + .../db/configuration/migrate/35enableImap | 10 + .../40change-variable-access-to-httpsonly | 14 + .../db/mailpatterns/defaults/AHhIYW5k/Body | 1 + .../defaults/AHhIYW5k/Description | 1 + .../db/mailpatterns/defaults/AHhIYW5k/Glob | 1 + .../mailpatterns/defaults/AHhIYW5k/LineStart | 1 + .../db/mailpatterns/defaults/AHhIYW5k/Status | 1 + .../db/mailpatterns/defaults/AHhIYW5k/type | 1 + .../db/mailpatterns/defaults/AHhUYXgg/Body | 1 + .../defaults/AHhUYXgg/Description | 1 + .../db/mailpatterns/defaults/AHhUYXgg/Glob | 1 + .../mailpatterns/defaults/AHhUYXgg/LineStart | 1 + .../db/mailpatterns/defaults/AHhUYXgg/Status | 1 + .../db/mailpatterns/defaults/AHhUYXgg/type | 1 + .../db/mailpatterns/defaults/AMkgICAg/Body | 1 + .../defaults/AMkgICAg/Description | 1 + .../db/mailpatterns/defaults/AMkgICAg/Glob | 1 + .../mailpatterns/defaults/AMkgICAg/LineStart | 1 + .../db/mailpatterns/defaults/AMkgICAg/Status | 1 + .../db/mailpatterns/defaults/AMkgICAg/type | 1 + .../db/mailpatterns/defaults/AMlIbDk5Lm/Body | 1 + .../defaults/AMlIbDk5Lm/Description | 1 + .../db/mailpatterns/defaults/AMlIbDk5Lm/Glob | 1 + .../defaults/AMlIbDk5Lm/LineStart | 1 + .../mailpatterns/defaults/AMlIbDk5Lm/Status | 1 + .../db/mailpatterns/defaults/AMlIbDk5Lm/type | 1 + .../db/mailpatterns/defaults/GIF01/Body | 1 + .../mailpatterns/defaults/GIF01/Description | 1 + .../db/mailpatterns/defaults/GIF01/Glob | 1 + .../db/mailpatterns/defaults/GIF01/LineStart | 1 + .../db/mailpatterns/defaults/GIF01/Status | 1 + .../db/mailpatterns/defaults/GIF01/type | 1 + .../db/mailpatterns/defaults/TVoAAAAAA/Body | 1 + .../defaults/TVoAAAAAA/Description | 1 + .../db/mailpatterns/defaults/TVoAAAAAA/Glob | 1 + .../mailpatterns/defaults/TVoAAAAAA/LineStart | 1 + .../db/mailpatterns/defaults/TVoAAAAAA/Status | 1 + .../db/mailpatterns/defaults/TVoAAAAAA/type | 1 + .../db/mailpatterns/defaults/TVoAAAEAAA/Body | 1 + .../defaults/TVoAAAEAAA/Description | 1 + .../db/mailpatterns/defaults/TVoAAAEAAA/Glob | 1 + .../defaults/TVoAAAEAAA/LineStart | 1 + .../mailpatterns/defaults/TVoAAAEAAA/Status | 1 + .../db/mailpatterns/defaults/TVoAAAEAAA/type | 1 + .../db/mailpatterns/defaults/TVoAAAQAA/Body | 1 + .../defaults/TVoAAAQAA/Description | 1 + .../db/mailpatterns/defaults/TVoAAAQAA/Glob | 1 + .../mailpatterns/defaults/TVoAAAQAA/LineStart | 1 + .../db/mailpatterns/defaults/TVoAAAQAA/Status | 1 + .../db/mailpatterns/defaults/TVoAAAQAA/type | 1 + .../db/mailpatterns/defaults/TVoAACoAG/Body | 1 + .../defaults/TVoAACoAG/Description | 1 + .../db/mailpatterns/defaults/TVoAACoAG/Glob | 1 + .../mailpatterns/defaults/TVoAACoAG/LineStart | 1 + .../db/mailpatterns/defaults/TVoAACoAG/Status | 1 + .../db/mailpatterns/defaults/TVoAACoAG/type | 1 + .../db/mailpatterns/defaults/TVoAAD8AA/Body | 1 + .../defaults/TVoAAD8AA/Description | 1 + .../db/mailpatterns/defaults/TVoAAD8AA/Glob | 1 + .../mailpatterns/defaults/TVoAAD8AA/LineStart | 1 + .../db/mailpatterns/defaults/TVoAAD8AA/Status | 1 + .../db/mailpatterns/defaults/TVoAAD8AA/type | 1 + .../db/mailpatterns/defaults/TVoFAQUAA/Body | 1 + .../defaults/TVoFAQUAA/Description | 1 + .../db/mailpatterns/defaults/TVoFAQUAA/Glob | 1 + .../mailpatterns/defaults/TVoFAQUAA/LineStart | 1 + .../db/mailpatterns/defaults/TVoFAQUAA/Status | 1 + .../db/mailpatterns/defaults/TVoFAQUAA/type | 1 + .../db/mailpatterns/defaults/TVoIARMAA/Body | 1 + .../defaults/TVoIARMAA/Description | 1 + .../db/mailpatterns/defaults/TVoIARMAA/Glob | 1 + .../mailpatterns/defaults/TVoIARMAA/LineStart | 1 + .../db/mailpatterns/defaults/TVoIARMAA/Status | 1 + .../db/mailpatterns/defaults/TVoIARMAA/type | 1 + .../db/mailpatterns/defaults/TVouARsAA/Body | 1 + .../defaults/TVouARsAA/Description | 1 + .../db/mailpatterns/defaults/TVouARsAA/Glob | 1 + .../mailpatterns/defaults/TVouARsAA/LineStart | 1 + .../db/mailpatterns/defaults/TVouARsAA/Status | 1 + .../db/mailpatterns/defaults/TVouARsAA/type | 1 + .../mailpatterns/defaults/TVp1AQEAAAAE/Body | 1 + .../defaults/TVp1AQEAAAAE/Description | 1 + .../mailpatterns/defaults/TVp1AQEAAAAE/Glob | 1 + .../defaults/TVp1AQEAAAAE/LineStart | 1 + .../mailpatterns/defaults/TVp1AQEAAAAE/Status | 1 + .../mailpatterns/defaults/TVp1AQEAAAAE/type | 1 + .../db/mailpatterns/defaults/TVpAALQAc/Body | 1 + .../defaults/TVpAALQAc/Description | 1 + .../db/mailpatterns/defaults/TVpAALQAc/Glob | 1 + .../mailpatterns/defaults/TVpAALQAc/LineStart | 1 + .../db/mailpatterns/defaults/TVpAALQAc/Status | 1 + .../db/mailpatterns/defaults/TVpAALQAc/type | 1 + .../db/mailpatterns/defaults/TVpLRVJOR/Body | 1 + .../defaults/TVpLRVJOR/Description | 1 + .../db/mailpatterns/defaults/TVpLRVJOR/Glob | 1 + .../mailpatterns/defaults/TVpLRVJOR/LineStart | 1 + .../db/mailpatterns/defaults/TVpLRVJOR/Status | 1 + .../db/mailpatterns/defaults/TVpLRVJOR/type | 1 + .../db/mailpatterns/defaults/TVpQAAIAA/Body | 1 + .../defaults/TVpQAAIAA/Description | 1 + .../db/mailpatterns/defaults/TVpQAAIAA/Glob | 1 + .../mailpatterns/defaults/TVpQAAIAA/LineStart | 1 + .../db/mailpatterns/defaults/TVpQAAIAA/Status | 1 + .../db/mailpatterns/defaults/TVpQAAIAA/type | 1 + .../db/mailpatterns/defaults/TVpyAXkAX/Body | 1 + .../defaults/TVpyAXkAX/Description | 1 + .../db/mailpatterns/defaults/TVpyAXkAX/Glob | 1 + .../mailpatterns/defaults/TVpyAXkAX/LineStart | 1 + .../db/mailpatterns/defaults/TVpyAXkAX/Status | 1 + .../db/mailpatterns/defaults/TVpyAXkAX/type | 1 + .../db/mailpatterns/defaults/TVqQAAMAA/Body | 1 + .../defaults/TVqQAAMAA/Description | 1 + .../db/mailpatterns/defaults/TVqQAAMAA/Glob | 1 + .../mailpatterns/defaults/TVqQAAMAA/LineStart | 1 + .../db/mailpatterns/defaults/TVqQAAMAA/Status | 1 + .../db/mailpatterns/defaults/TVqQAAMAA/type | 1 + .../defaults/TVqgAAEAAAAFAAAA/Body | 1 + .../defaults/TVqgAAEAAAAFAAAA/Description | 1 + .../defaults/TVqgAAEAAAAFAAAA/Glob | 1 + .../defaults/TVqgAAEAAAAFAAAA/LineStart | 1 + .../defaults/TVqgAAEAAAAFAAAA/Status | 1 + .../defaults/TVqgAAEAAAAFAAAA/type | 1 + .../db/mailpatterns/defaults/TVrQAT8AA/Body | 1 + .../defaults/TVrQAT8AA/Description | 1 + .../db/mailpatterns/defaults/TVrQAT8AA/Glob | 1 + .../mailpatterns/defaults/TVrQAT8AA/LineStart | 1 + .../db/mailpatterns/defaults/TVrQAT8AA/Status | 1 + .../db/mailpatterns/defaults/TVrQAT8AA/type | 1 + .../db/mailpatterns/defaults/TVrhARwAk/Body | 1 + .../defaults/TVrhARwAk/Description | 1 + .../db/mailpatterns/defaults/TVrhARwAk/Glob | 1 + .../mailpatterns/defaults/TVrhARwAk/LineStart | 1 + .../db/mailpatterns/defaults/TVrhARwAk/Status | 1 + .../db/mailpatterns/defaults/TVrhARwAk/type | 1 + .../db/mailpatterns/defaults/TVrmAU4AA/Body | 1 + .../defaults/TVrmAU4AA/Description | 1 + .../db/mailpatterns/defaults/TVrmAU4AA/Glob | 1 + .../mailpatterns/defaults/TVrmAU4AA/LineStart | 1 + .../db/mailpatterns/defaults/TVrmAU4AA/Status | 1 + .../db/mailpatterns/defaults/TVrmAU4AA/type | 1 + .../db/mailpatterns/defaults/UmFyIRoHA/Body | 1 + .../defaults/UmFyIRoHA/Description | 1 + .../db/mailpatterns/defaults/UmFyIRoHA/Glob | 1 + .../mailpatterns/defaults/UmFyIRoHA/LineStart | 1 + .../db/mailpatterns/defaults/UmFyIRoHA/Status | 1 + .../db/mailpatterns/defaults/UmFyIRoHA/type | 1 + .../db/mailpatterns/defaults/ZIPV1/Body | 1 + .../mailpatterns/defaults/ZIPV1/Description | 1 + .../db/mailpatterns/defaults/ZIPV1/Glob | 1 + .../db/mailpatterns/defaults/ZIPV1/LineStart | 1 + .../db/mailpatterns/defaults/ZIPV1/Status | 1 + .../db/mailpatterns/defaults/ZIPV1/type | 1 + .../db/mailpatterns/defaults/ZIPV2/Body | 1 + .../mailpatterns/defaults/ZIPV2/Description | 1 + .../db/mailpatterns/defaults/ZIPV2/Glob | 1 + .../db/mailpatterns/defaults/ZIPV2/LineStart | 1 + .../db/mailpatterns/defaults/ZIPV2/Status | 1 + .../db/mailpatterns/defaults/ZIPV2/type | 1 + .../db/mailpatterns/defaults/ZIPV3/Body | 1 + .../mailpatterns/defaults/ZIPV3/Description | 1 + .../db/mailpatterns/defaults/ZIPV3/Glob | 1 + .../db/mailpatterns/defaults/ZIPV3/LineStart | 1 + .../db/mailpatterns/defaults/ZIPV3/Status | 1 + .../db/mailpatterns/defaults/ZIPV3/type | 1 + .../db/mailpatterns/defaults/ZIPVOSX/Body | 1 + .../mailpatterns/defaults/ZIPVOSX/Description | 1 + .../db/mailpatterns/defaults/ZIPVOSX/Glob | 1 + .../mailpatterns/defaults/ZIPVOSX/LineStart | 1 + .../db/mailpatterns/defaults/ZIPVOSX/Status | 1 + .../db/mailpatterns/defaults/ZIPVOSX/type | 1 + .../e-smith/db/mailpatterns/migrate/00openRW | 3 + .../db/mailpatterns/migrate/05exefiles | 5 + .../e-smith/db/mailpatterns/migrate/06status | 5 + root/etc/e-smith/events/actions/email-ipup | 44 + .../events/actions/fetchmail-migrate-fetchids | 13 + .../events/actions/purge-junkmail-folders | 67 + .../events/actions/update-user-pseudonyms | 107 + .../etc/e-smith/web/functions/emailsettings | 524 +++ .../etc/e-smith/web/functions/pseudonyms | 169 + .../user/Maildir/.junkmail/cur/.gitignore | 0 .../user/Maildir/.junkmail/new/.gitignore | 0 .../user/Maildir/.junkmail/tmp/.gitignore | 0 .../e-smith/templates.metadata/etc/fetchmail | 3 + .../e-smith/templates.metadata/etc/startmail | 3 + .../templates/etc/Muttrc/10Muttrc.proto | 3493 +++++++++++++++++ .../e-smith/templates/etc/Muttrc/20hostname | 3 + .../etc/e-smith/templates/etc/Muttrc/50folder | 1 + .../e-smith/templates/etc/Muttrc/50spoolfile | 1 + root/etc/e-smith/templates/etc/crontab/email | 130 + .../templates/etc/fetchmail/20disabled | 15 + .../e-smith/templates/etc/fetchmail/50ETRN | 21 + .../templates/etc/fetchmail/50multi-drop | 72 + .../templates/etc/fetchmail/template-begin | 1 + .../etc/pine.conf/50FolderCollection | 1 + .../templates/etc/pine.conf/50InboxPath | 1 + .../templates/etc/pine.conf/50LdapServers | 1 + .../templates/etc/pine.conf/50SmtpServer | 1 + .../templates/etc/pine.conf/50UserDomain | 1 + .../etc/pine.conf/50defaultSavedMesgFolder | 1 + .../etc/rc.d/init.d/masq/35SMTPProxy | 28 + .../etc/rc.d/init.d/masq/40AllowGSMTP | 7 + .../etc/rc.d/init.d/masq/90adjustSMTPProxy | 36 + .../e-smith/templates/etc/startmail/20body | 49 + .../templates/etc/startmail/template-begin | 1 + root/etc/e-smith/web/functions/emailsettings | 561 +++ root/etc/e-smith/web/functions/pseudonyms | 213 + .../e-smith/Maildir/.junkmail/cur/.gitignore | 0 .../e-smith/Maildir/.junkmail/new/.gitignore | 0 .../e-smith/Maildir/.junkmail/tmp/.gitignore | 0 .../systemd/system/smtp-auth-proxy.service | 12 + root/usr/lib/tmpfiles.d/fetchmail.conf | 1 + root/usr/local/sbin/smtp-auth-proxy.pl | 174 + .../esmith/FormMagick/Panel/emailsettings.pm | 823 ++++ .../esmith/FormMagick/Panel/pseudonyms.pm | 594 +++ root/var/lib/fetchmail/.gitignore | 0 root/var/lock/fetchmail/.gitignore | 0 root/var/log/smtp-auth-proxy/.gitignore | 0 267 files changed, 10708 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 additional/COPYING create mode 100644 additional/e-smith-email.spec create mode 100644 contriborbase create mode 100644 createlinks create mode 100644 e-smith-email.spec create mode 100644 root/etc/cron.d/purge_junkmail create mode 100644 root/etc/e-smith/db/accounts/defaults/abuse/Account create mode 100644 root/etc/e-smith/db/accounts/defaults/abuse/Removable create mode 100644 root/etc/e-smith/db/accounts/defaults/abuse/type create mode 100644 root/etc/e-smith/db/accounts/defaults/anonymous/Account create mode 100644 root/etc/e-smith/db/accounts/defaults/anonymous/Removable create mode 100644 root/etc/e-smith/db/accounts/defaults/anonymous/type create mode 100644 root/etc/e-smith/db/accounts/defaults/devnull/type create mode 100644 root/etc/e-smith/db/accounts/defaults/everyone/Account create mode 100644 root/etc/e-smith/db/accounts/defaults/everyone/Changeable create mode 100644 root/etc/e-smith/db/accounts/defaults/everyone/Removable create mode 100644 root/etc/e-smith/db/accounts/defaults/everyone/Visible create mode 100644 root/etc/e-smith/db/accounts/defaults/everyone/type create mode 100644 root/etc/e-smith/db/accounts/defaults/mailer-daemon/Account create mode 100644 root/etc/e-smith/db/accounts/defaults/mailer-daemon/Removable create mode 100644 root/etc/e-smith/db/accounts/defaults/mailer-daemon/type create mode 100644 root/etc/e-smith/db/accounts/defaults/postmaster/Account create mode 100644 root/etc/e-smith/db/accounts/defaults/postmaster/Removable create mode 100644 root/etc/e-smith/db/accounts/defaults/postmaster/type create mode 100644 root/etc/e-smith/db/accounts/migrate/20migrate_typo create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/FreqOffice create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/FreqOutside create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/FreqWeekend create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/Method create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailAccount create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailPassword create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailServer create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/status create mode 100644 root/etc/e-smith/db/configuration/defaults/fetchmail/type create mode 100644 root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Debug create mode 100644 root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Passwd create mode 100644 root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Userid create mode 100644 root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/status create mode 100644 root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/type create mode 100644 root/etc/e-smith/db/configuration/defaults/spamassassin/MessageRetentionTime create mode 100644 root/etc/e-smith/db/configuration/migrate/10EmailUnknownUser create mode 100644 root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Blacklist create mode 100644 root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug create mode 100644 root/etc/e-smith/db/configuration/migrate/20smtpProxy create mode 100644 root/etc/e-smith/db/configuration/migrate/20smtpd-auth create mode 100644 root/etc/e-smith/db/configuration/migrate/20smtpfront-qmail create mode 100644 root/etc/e-smith/db/configuration/migrate/30popd create mode 100644 root/etc/e-smith/db/configuration/migrate/35enableImap create mode 100644 root/etc/e-smith/db/configuration/migrate/40change-variable-access-to-httpsonly create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/GIF01/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/GIF01/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/GIF01/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/GIF01/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/GIF01/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/GIF01/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/type create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Body create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Description create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Glob create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/LineStart create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Status create mode 100644 root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/type create mode 100644 root/etc/e-smith/db/mailpatterns/migrate/00openRW create mode 100644 root/etc/e-smith/db/mailpatterns/migrate/05exefiles create mode 100644 root/etc/e-smith/db/mailpatterns/migrate/06status create mode 100644 root/etc/e-smith/events/actions/email-ipup create mode 100644 root/etc/e-smith/events/actions/fetchmail-migrate-fetchids create mode 100644 root/etc/e-smith/events/actions/purge-junkmail-folders create mode 100644 root/etc/e-smith/events/actions/update-user-pseudonyms create mode 100755 root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings create mode 100644 root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/pseudonyms create mode 100644 root/etc/e-smith/skel/user/Maildir/.junkmail/cur/.gitignore create mode 100644 root/etc/e-smith/skel/user/Maildir/.junkmail/new/.gitignore create mode 100644 root/etc/e-smith/skel/user/Maildir/.junkmail/tmp/.gitignore create mode 100644 root/etc/e-smith/templates.metadata/etc/fetchmail create mode 100644 root/etc/e-smith/templates.metadata/etc/startmail create mode 100644 root/etc/e-smith/templates/etc/Muttrc/10Muttrc.proto create mode 100644 root/etc/e-smith/templates/etc/Muttrc/20hostname create mode 100644 root/etc/e-smith/templates/etc/Muttrc/50folder create mode 100644 root/etc/e-smith/templates/etc/Muttrc/50spoolfile create mode 100644 root/etc/e-smith/templates/etc/crontab/email create mode 100644 root/etc/e-smith/templates/etc/fetchmail/20disabled create mode 100644 root/etc/e-smith/templates/etc/fetchmail/50ETRN create mode 100644 root/etc/e-smith/templates/etc/fetchmail/50multi-drop create mode 120000 root/etc/e-smith/templates/etc/fetchmail/template-begin create mode 100644 root/etc/e-smith/templates/etc/pine.conf/50FolderCollection create mode 100644 root/etc/e-smith/templates/etc/pine.conf/50InboxPath create mode 100644 root/etc/e-smith/templates/etc/pine.conf/50LdapServers create mode 100644 root/etc/e-smith/templates/etc/pine.conf/50SmtpServer create mode 100644 root/etc/e-smith/templates/etc/pine.conf/50UserDomain create mode 100644 root/etc/e-smith/templates/etc/pine.conf/50defaultSavedMesgFolder create mode 100644 root/etc/e-smith/templates/etc/rc.d/init.d/masq/35SMTPProxy create mode 100644 root/etc/e-smith/templates/etc/rc.d/init.d/masq/40AllowGSMTP create mode 100644 root/etc/e-smith/templates/etc/rc.d/init.d/masq/90adjustSMTPProxy create mode 100644 root/etc/e-smith/templates/etc/startmail/20body create mode 120000 root/etc/e-smith/templates/etc/startmail/template-begin create mode 100755 root/etc/e-smith/web/functions/emailsettings create mode 100644 root/etc/e-smith/web/functions/pseudonyms create mode 100644 root/home/e-smith/Maildir/.junkmail/cur/.gitignore create mode 100644 root/home/e-smith/Maildir/.junkmail/new/.gitignore create mode 100644 root/home/e-smith/Maildir/.junkmail/tmp/.gitignore create mode 100644 root/usr/lib/systemd/system/smtp-auth-proxy.service create mode 100644 root/usr/lib/tmpfiles.d/fetchmail.conf create mode 100644 root/usr/local/sbin/smtp-auth-proxy.pl create mode 100755 root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/emailsettings.pm create mode 100644 root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/pseudonyms.pm create mode 100644 root/var/lib/fetchmail/.gitignore create mode 100644 root/var/lock/fetchmail/.gitignore create mode 100644 root/var/log/smtp-auth-proxy/.gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e594810 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.rpm +*.log +*spec-20* +*.tar.xz diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1352a0f --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: e-smith-email +# $Id: Makefile,v 1.1 2016/02/04 23:55:00 vip-ire Exp $ +NAME := e-smith-email +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/README.md b/README.md index 0c70d70..854146c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,17 @@ -# e-smith-email +# e-smith-email -SMEServer Koozali developed git repo for e-smith-email smeserver \ No newline at end of file +SMEServer Koozali developed git repo for e-smith-email smeserver + +## Wiki +
https://wiki.koozali.org/ + +## Bugzilla +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=e-smith-email&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
+ +e-smith-email is a powerful email software package that provides a comprehensive set of tools to manage email for corporate and private users. It has a powerful web-based interface for managing users, domains, and aliases. It also supports a wide range of mail protocols such as POP3, SMTP, IMAP, MIME, and SSL. It is also flexible enough to integrate with other email programs, such as Outlook and Thunderbird, making it an ideal choice for those who need a sophisticated email solution. With e-smith-email, users can easily manage, search, and organize emails in a secure and efficient manner. diff --git a/additional/COPYING b/additional/COPYING new file mode 100644 index 0000000..eeb586b --- /dev/null +++ b/additional/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/additional/e-smith-email.spec b/additional/e-smith-email.spec new file mode 100644 index 0000000..b5a6d4c --- /dev/null +++ b/additional/e-smith-email.spec @@ -0,0 +1,1179 @@ +Summary: e-smith server and gateway - email module +%define name e-smith-email +Name: %{name} +%define version 4.15.4 +%define release 01 +Version: %{version} +Release: %{release} +License: GPL +Vendor: Mitel Networks Corporation +Group: Networking/Daemons +Source: %{name}-%{version}.tar.gz +Packager: e-smith developers +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +Requires: e-smith-base >= 4.15.0-39 +Requires: e-smith-smtpd +Requires: e-smith-mta +Requires: e-smith-pop3 +Requires: e-smith-imap +Requires: e-smith-lib >= 1.15.1-19 +Requires: perl(Net::Server::Fork) +Requires: perl(Net::SMTP) +Requires: perl(Authen::SASL) +Requires: perl(Net::Server) >= 0.85 +Requires: runit +Obsoletes: e-smith-smtp-authentication +Obsoletes: e-smith-securemail +BuildRequires: e-smith-devtools >= 1.13.0-03 +BuildArchitectures: noarch +AutoReqProv: no + +%description +e-smith server and gateway software - email module. + +%changelog +* Fri Oct 14 2005 Gordon Rowell +- [4.15.4-01] +- Remove L10Ns from base packages [SF: 1309520] + +* Fri Oct 14 2005 Gordon Rowell +- [4.15.3-01] +- New dev stream before relocating L10Ns + +* Fri Sep 30 2005 Gordon Rowell +- [4.15.2-41] +- Change French translation of "Weekend" to the more + universally acceptable "samedi et dimanche" [SF: 1293855] + +* Fri Sep 30 2005 Gordon Rowell +- [4.15.2-40] +- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] + +* Mon Sep 26 2005 Gordon Rowell +- [4.15.2-39] +- Cleanups to French L10N - Thanks Didier Rambeau [SF: 1293855] + +* Sun Sep 25 2005 Gordon Rowell +- [4.15.2-38] +- Actually add German L10N to correct package [SF: 1293325] + +* Sun Sep 25 2005 Gordon Rowell +- [4.15.2-37] +- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] + +* Tue Sep 13 2005 Gordon Rowell +- [4.15.2-36] +- Add configuration options for ISP SMTP AUTH to Email delivery page + [SF: 1236748] + +* Wed Sep 7 2005 Charlie Brady +- [4.15.2-35] +- Add requires header for Authen::SASL module, needed by SMTP auth + proxy. [SF: 1269111] + +* Fri Sep 2 2005 Charlie Brady +- [4.15.2-34] +- Lexicon updates. Still need more French and Spanish translation + done. [SF: 1280024] + +* Fri Sep 2 2005 Charlie Brady +- [4.15.2-33] +- Add UI toggles for private/public IMAP/IMAPS/POP/POPS. Thanks for + patch go to Michael Weinberger! [SF: 1280024] + +* Wed Aug 24 2005 Charlie Brady +- [4.15.2-32] +- Handle upstream disconnect in smtp-auth-proxy. Use more concise + proxy code, courtesy of the Perl Cookbook. [SF: 1269414] + +* Wed Aug 24 2005 Charlie Brady +- [4.15.2-31] +- Improve error reporting in smtp-auth-proxy - return 421 status, and + log config errors and upstream connect errors to stderr. [SF: 1257015] + +* Tue Aug 23 2005 Charlie Brady +- [4.15.2-30] +- Fix typo in fetchmail settings save part of panel code. [SF: 1265400] + +* Wed Aug 10 2005 Charlie Brady +- [4.15.2-29] +- Remove stray symlink from last patch. + +* Wed Aug 10 2005 Shad Lords +- [4.15.2-28] +- Remove last qmail stuff [SF: 1255261] +- Break out pop3 into its own package [SF: 1256055] +- Rename popd service to pop3 [SF: 1256055] +- Include imap database stuff [SF: 1256055] + +* Tue Aug 9 2005 Charlie Brady +- [4.15.2-27] +- Remove "Obsoletes: e-smith-qmail", and split out all qmail specific stuff. + [SF: 1255261] + +* Tue Aug 2 2005 Shad Lords +- [4.15.2-26] +- Add TCPProxyPort to specify which port to proxy [SF: 1246986] + +* Fri Jul 22 2005 Charlie Brady +- [4.15.2-25] +- Complete the update to current db access APIs - a few esmith::db and + esmith::config calls were found hiding. [SF: 1216546, 1242331] + +* Mon Jul 18 2005 Charlie Brady +- [4.15.2-24] +- Update all db access APIs to current standards. [SF: 1216546] + +* Mon Jul 18 2005 Charlie Brady +- [4.15.2-23] +- Fix pop* run scripts to find checkpassword binary via + PATH search. [SF: 1239720] +- Various further muttrc configuration changes (from Shad) [SF: 1235454] + . Fix braces + . Configure "folder" to use IMAP as well, so we see all IMAP + folders + . use URLs instead of PINE style folder names, and use imaps directly + +* Thu Jul 14 2005 Charlie Brady +- [4.15.2-22] +- Configure /etc/Muttrc to use IMAP +- And expand /etc/Muttrc at same times as /etc/pine.conf + Patch contributed by Gordon Rowell. [SF: 1235454] + +* Tue Jul 12 2005 Charlie Brady +- [4.15.2-21] +- French L10N Merci - Didier. [ SF:1227389 ] +- Add some missing Requires: headers. [SF: 1217914] + +* Tue Jun 14 2005 Charlie Brady +- [4.15.2-20] +- Add Obsoletes headers for a number of email addon packages. + [SF: 1219069] + +* Thu Jun 9 2005 Charlie Brady +- [4.15.2-19] +- Four PIF file patterns (AHhUYXgg,AMlIbDk5Lm,AMkgICAg,AHhIYW5k) and + one more EXE file pattern (TVoAACoAG) - Thanks Hans-Cees Speel + +* Fri Jun 3 2005 Charlie Brady +- [4.15.2-18] +- Another EXE file pattern TVpLRVJOR - Thanks Ray Mitchell + and Gordon Rowell. + +* Tue May 31 2005 Charlie Brady +- [4.15.2-17] +- Disable all mailpatterns by default [Gordon SF:1202391] +- Change mailpatterns database back to one pattern per entry [Gordon SF:1202391] +- Add two new EXE file patterns - Thanks Ray Mitchell + +* Tue May 24 2005 Charlie Brady +- [4.15.2-16] +- Make sure that there are empty templates-default files in the + peers/{o,local} templates directory. Fix up a couple of problems + in the pop3s run script. [SF: 1206471] + +* Wed May 18 2005 Charlie Brady +- [4.15.2-15] +- Change db lookup of spamassassin{sortspam} to spamassassin{SortSpam}. + Expand all users' .qmail files in email-update action. [SF: 1202402] + +* Fri May 13 2005 Charlie Brady +- [4.15.2-14] +- [Patch from Gordon's e-smith-email-4.15.2-13gr02] +- Add missing qmail initscript links [SF:1201092] +- Modify email-update-user to expand ~/.qmail-junkmail +- Add templates for ~/.qmail-junkmail +- This should probably be in e-smith-spamassassin, but that + would mean another perl invocation for that template + +* Thu May 5 2005 Charlie Brady +- [4.15.2-13] +- Big set of patches from Gordon Rowell. +- Show public pop/public imap/http webmail/smtp auth if they + are already enabled in that way. Otherwise, only show disabled + and the pop3s/imaps/https webmail/ssmtp auth version +- Change emailsettings.pm to store most properties in the virtual + smtpd and ssmtpd records +- Change URL in webmail text to https:// +- Various lexicon changes for consistency across the panel +- Use $db->set_prop(thing,prop,value) instead of + $db->get(thing)->set_prop(prop,value) +- TODO: The fetchmail settings could easily be done in a loop +- Don't delete DelegateMailServer when empty, just clear the value +- Changed Patterns property to PatternsScan to match VirusScan +- Added lots of defaults for smtpd and ssmtpd: + smtpd{access}: public + smtpd{Authentication}: disabled + smtpd{Instances}: 40 + smtpd{InstancesPerIP}: 5 + smtpd{PatternsScan}: disabled + smtpd{Proxy}: enabled + smtpd{status}: enabled + smtpd{TCPPort}: 25 + smtpd{type}: service + smtpd{VirusScan}: enabled + + ssmtpd{access}: public + ssmtpd{Authentication}: enabled + ssmtpd{Instances}: 10 + ssmtpd{status}: enabled + ssmtpd{TCPPort}: 465 + ssmtpd{type}: service +- Fix up masq fragment to look at smtpd{Proxy} +- Add migrate frament for smtpfront-qmail properties +- Move mailpatterns defaults to this package +- Delete duplicate Requires: line +- Fix check for smtpd{Authentication} when displaying options + +* Mon May 2 2005 Charlie Brady +- [4.15.2-12] +- Add pseudonyms fragment for virtualdomains template (missed in last + change). + +* Sun May 1 2005 Charlie Brady +- [4.15.2-11] +- [All items in this change contributed by Gordon Rowell.] +- Allow separation of mail for bob@domain1 from bob@domain2 +- To configure, enter pseudonyms of the form pseudo@domain => user + with the following restrictions: + - pseudo must be a user already configured on the server + - domain must be a domain alredy configured on the server + - pseudo may not equal user (since that's the default for all domains) +- Merged in the web interface from Shad Lords' e-smith-spamassassin + onto the E-mail filtering sub-page +- TODO: We should probably disallow this if only one domain is hosted + on the server. + +* Sun May 1 2005 Charlie Brady +- [4.15.2-10] +- [All items in this change contributed by Gordon Rowell.] +- Add e-mail filtering page +- Prepare for migration to qpsmtpd by using $SMTPD and $SSMTPD + throughout the panel code +- Changed Requires: from e-smith-mailfront to e-smith-smtpd (which + is provided by e-smith-qpsmtpd and could be by e-smith-mailfront). +- Add skeleton virus and spam scan toggles. Note that these set + options in the $SMTPD services and each virus or spam scanner can + use those as defaults and add additional options as required. For + example, if $SMTPD{VirusScan} == 'disabled', no virus scanners should + configure themselves to look at the mail. +- Make patterns status depend on any being selected, which removes a + redundant toggle + +* Thu Apr 28 2005 Charlie Brady +- [4.15.2-09] +- Drop e-smith-mailfront dependency, to allow switch to qpsmtpd + if desired. + +* Tue Apr 26 2005 Charlie Brady +- [4.15.2-08] +- Add update of PatternsStatus (patch from Gordon), and fix a few typos. + +* Tue Apr 19 2005 Charlie Brady +- [4.15.2-07] +- Add missing /var/service/qmail/down file. + +* Sun Apr 10 2005 Charlie Brady +- [4.15.2-06] +- [Patch from Gordon] +- Complete L10N of front page of emailsettings +- Move many panel option hashes into subroutines for re-use on status page +- Move executable content blocking section from subroutine to FM XML +- Open AccountsDB read-only since that's all we need +- Actually fix the evil and unsafe part of the webmail settings code +- Dormant prototype of optional display of multidrop settings regions +- Removed percent from (percent)prep in 4.9.0-01 changelog entry + to stop mezzanine/rpmbuild failures due to multiple (percent)prep + sections (sigh) + +* Thu Mar 31 2005 Charlie Brady +- [4.15.2-05] +- Add template expansion of pop service peers files to email-update, + as private/public may have changed. + +* Tue Mar 29 2005 Charlie Brady +- [4.15.2-04] +- Fix configuration of ACLs and users-assign files during bootstrap-console-save. + +* Sat Mar 26 2005 Charlie Brady +- [4.15.2-03] +- Ensure that /var/service/qmail/control/1 is executable. + +* Thu Mar 24 2005 Charlie Brady +- [4.15.2-02] +- Integrate Gordon's changes to break form up into subforms. + TODO - non-en localisations. + +* Thu Mar 24 2005 Charlie Brady +- [4.15.2-01] +- Roll new development stream - 4.15.2 + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-30] +- Avoid warning from email panel if patterns are not enabled. +- Avoid crash in panel if DelegateMailServer is being set. + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-29] +- Don't expand /var/qmail/users/assign in generic_template_expand, + as users/groups may not yet be created. Instead, combine with + qmail-newu in qmail service control/1 script. + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-28] +- Add missing templates for popd/pop3s peers files. +- Change port specification in popd run file from "pop3" to + "pop" - tcpsvd doesn't grok "pop3". + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-27] +- Use tcpsvd instead of tcpserver for popd and pop3d. Use sslio + instead of stunnel for pop3d. TODO - configurable concurrency + limits. + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-26] +- Remove now obsolete email-assign action. +- Add "Requires: runit" + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-25] +- Add missing templates.metadata file for qmail/users/assign. + +* Thu Mar 17 2005 Charlie Brady +- [4.15.1-24] +- More fixes of path for qmail service directory. + +* Thu Mar 17 2005 Charlie Brady +- [4.15.1-23] +- Fix paths for qmail service directory in filelist. + +* Thu Mar 17 2005 Charlie Brady +- [4.15.1-22] +- Move post-upgrade actions to bootstrap-console-save. + +* Wed Mar 16 2005 Charlie Brady +- [4.15.1-21] +- Include all content from e-smith-qmail (arguably lots of this + content should move to e-smith-qmail, but this is easier). +- Obsolete email-assign action. + +* Mon Mar 14 2005 Charlie Brady +- [4.15.1-20] +- Fix dangling symlink. +- Add missing exports in FormMagick::Panel::emailsettings +- Add missing templates for pop3s tcpserver cdb file. + +* Fri Mar 11 2005 Charlie Brady +- [4.15.1-19] +- Fix dangling symlinks, and add tcpserver cdb support for + popd and pop3s. + +* Fri Mar 11 2005 Charlie Brady +- [4.15.1-18] +- Fix warning from EmailUnknownUser migrate fragment. + +* Thu Mar 10 2005 Charlie Brady +- [4.15.1-17] +- Fix path to skeletal junkmail Maildir. +- Up memory limits for popd and pop3s run files. +- Add missing /var/log/pop3s directory. + +* Wed Mar 9 2005 Charlie Brady +- [4.15.1-16] +- Fix some missing checkins from previous version. + +* Wed Mar 9 2005 Charlie Brady +- [4.15.1-15] +- Fold in most of Shad's panel changes, with support for + imaps and pop3s. +- Add supervised pop3s service. +- Allow pseudonums of pseudonyms. +- Obsolete email-update-shared and email-conf actions. +- Add junkmail maildir to skeletal user dir +- Remove db entry creation code from panel code - now done + via default fragments. +- Add TCPPort property of popd (and pop3s). + +* Wed Feb 23 2005 Charlie Brady +- [4.15.1-14] +- Remove bogus dependency on sortspam. + +* Tue Jan 25 2005 Charlie Brady +- [4.15.1-13] +- Remove obsolete email-startup-links action. [MN00065651] +- Obsolete email-sighup and smtp-auth-proxy-restart by using generic + services-adjust action. Remove unused email-restart action. + Update e-smith-lib dependency. [MN00065576] + +* Mon Jan 17 2005 Charlie Brady +- [4.15.1-12] +- Remove conf-fetchmail action - done by default fragments. [MN00064329] +- Include ~alias/.qmail-default symlink in rpm. [MN00064230] +- Use generic_template_expand action where possible, in place + of specific actions. Update e-smith-lib dependency. [MN00064130] + +* Mon Jan 3 2005 Charlie Brady +- [4.15.1-11] +- Add default "abuse" pseudonym. [MN00062658] + +* Wed Dec 29 2004 Charlie Brady +- [4.15.1-10] +- Remove no longer needed conf-migrate-* actions. [charlieb MN00062545] +- Fix "Visisble" typo in default "everyone" pseudonym. [charlieb MN00046951] +- Don't restart auth proxy in bootstrap-console-save [charlieb MN00062549] + +* Mon Dec 27 2004 Charlie Brady +- [4.15.1-09] +- Untaint pseudonym before using in system(). [charlieb MN00050161] + +* Thu Nov 11 2004 Charlie Brady +- [4.15.1-08] +- Fix ownership and permissions of ~alias [charlieb MN00057000] + +* Tue Sep 28 2004 Michael Soulier +- [4.15.1-07] +- Updated requires with new perl dependencies. [msoulier MN00040240] + +* Mon Jun 21 2004 Michael Soulier +- [4.15.1-06] +- Updated requires. + +* Tue May 11 2004 Michael Soulier +- [4.15.1-05] +- Added validation to the AdminEmail field. [msoulier MN00023812] + +* Mon May 10 2004 Michael Soulier +- [4.15.1-04] +- Made filtering via SA the default preprocessing action for all email. + [msoulier MN00027881] + +* Tue May 4 2004 Michael Soulier +- [4.15.1-03] +- Added defaults fragments for all smtp-auth-proxy properties. + [msoulier 4728] + +* Tue May 4 2004 Michael Soulier +- [4.15.1-02] +- Updating dependencies. + +* Tue May 4 2004 Michael Soulier +- [4.15.1-01] +- Rolling as-source to collect patches. + +* Tue May 4 2004 Michael Soulier +- [4.15.0-07] +- Patches run script to provide FQDN in POP3 login. [msoulier dpar-27887] + +* Wed Feb 18 2004 Michael Soulier +- [4.15.0-06] +- Updated template for admin's .qmail file. [msoulier dpar-20868] + +* Tue Feb 17 2004 Michael Soulier +- [4.15.0-05] +- Updated template for home directory .qmail files to support change in + sortspam to allow .qmail files more control over mail delivery. + [msoulier dpar-20868] + +* Thu Feb 12 2004 Mark Knox +- [4.15.0-04] +- Fwd port of 10064: fixed expansion of /etc/fetchmail in email-update event + [markk 11026] + +* Mon Feb 9 2004 Michael Soulier +- [4.15.0-03] +- Updated the Requires list and fixed a couple of minor problems. + [msoulier 4728] + +* Mon Feb 9 2004 Michael Soulier +- [4.15.0-02] +- Adding Charlie's smtp-auth-proxy, and putting it under supervision. + [msoulier 4728] + +* Mon Jan 26 2004 Michael Soulier +- [4.15.0-01] +- rolling to dev - 4.15.0 + +* Sun Sep 21 2003 Charlie Brady +- [4.14.0-08] +- Remove duplicate primary domain name in multidrop fetchmail template + [charlieb 10064] + +* Wed Aug 27 2003 Michael Soulier +- [4.14.0-07] +- Added K* init symlinks to runlevels 0, 1 and 6 for popd. [msoulier 9761] + +* Fri Aug 22 2003 Michael Soulier +- [4.14.0-06] +- Removed the conditional around the SMTPProxy creation code. [msoulier 9572] +- Changed the trigger property for the SMTPProxy to "Proxy", in + smtpfront-qmail. [msoulier 9572] + +* Tue Aug 19 2003 Michael Soulier +- [4.14.0-05] +- Added an smtp-proxy db record to permit enabling/disabling of the smtp + proxy. [msoulier 9572] + +* Wed Jul 16 2003 Charlie Brady +- [4.14.0-04] +- Add junkmail maildir to skel home directory. [charlieb 9475] + +* Thu Jul 3 2003 Charlie Brady +- [4.14.0-03] +- Use qmail delivery properties to determine local delivery instructions for + admin user. [charlieb 9198, 9255] + +* Thu Jun 26 2003 Charlie Brady +- [4.14.0-02] +- Ensure that admin has a .qmail file. + [charlieb 9198] + +* Thu Jun 26 2003 Charlie Brady +- [4.14.0-01] +- Changing version to stable stream number - 4.14.0 + +* Tue Jun 24 2003 Gordon Rowell +- [4.13.0-63] +- Spanish nav bar [gordonr 9153] + +* Tue Jun 24 2003 Gordon Rowell +- [4.13.0-62] +- Added pseudonym for anonymous [gordonr 9127] + +* Thu Jun 19 2003 Charlie Brady +- [4.13.0-61] +- Fix bug with format of ETRN fetchmail invocation. [charlieb 9077] + +* Thu Jun 19 2003 Gordon Rowell +- [4.13.0-60] +- Add some defaults for fetchmail, including Method|standard + [gordonr 8921] + +* Wed Jun 11 2003 Charlie Brady +- [4.13.0-59] +- Add log/run script which was missing from last checkin. [charlieb 8903] + +* Wed Jun 11 2003 Charlie Brady +- [4.13.0-58] +- Use tcpserver/supervise rather than xinetd to handle POP connections. Need new + genfilelist to handle the permissions under /var/service. [charlieb 8903] + +* Wed Jun 4 2003 Charlie Brady +- [4.13.0-57] +- Fix devnull pre-defined alias definition. Use defaults mechanism to reserve + devnull alias. Use same mechanism for postmaster, mailer-daemon, and everyone + pseudonyms. [charlieb 6460] + +* Tue Jun 3 2003 Charlie Brady +- [4.13.0-56] +- Change default status for fetchmail to "disabled". [charlieb 8921] + +* Fri May 30 2003 Michael Soulier +- [4.13.0-55] +- Removed dangling symlink to email-startup. [msoulier 8808] + +* Tue May 20 2003 Michael Soulier +- [4.13.0-54] +- Fixed expectation of email-update-group so that it can handle user-deleted + and group-deleted. [msoulier 6414] + +* Tue May 6 2003 Lijie Deng +- [4.13.0-53] +- Add Spanish lexicon for emailsettings and pseudonyms [lijied 3793] + +* Tue Apr 29 2003 Tony Clayton +- [4.13.0-52] +- Add default db fragments for qmail/popd/fetchmail services [tonyc 8537] +- Remove dead email-startup action [tonyc 8537] + +* Mon Apr 14 2003 Michael Soulier +- [4.13.0-51] +- Changed the interface to email-update-group to accept either no second + argument, or a group or user. [msoulier 8103] + +* Mon Apr 14 2003 Michael Soulier +- [4.13.0-50] +- Removed email-update-all-groups and modified email-update-group to handle + its functionality. [msoulier 8103] + +* Mon Apr 14 2003 Charlie Brady +- [4.13.0-49] +- Remove email-relocate-maildirs action - it's moving to e-smith-imap. + [charlieb 8273] + +* Fri Apr 11 2003 Lijie Deng +- [4.13.0-48] +- Modified French button name [lijied 7921] + +* Fri Apr 11 2003 Lijie Deng +- [4.13.0-47] +- Modified button name [lijied 7921] + +* Thu Apr 10 2003 Michael Soulier +- [4.13.0-46] +- Using the createlinks script for symlink creation for consistency. + [msoulier 6414] + +* Thu Apr 10 2003 Michael Soulier +- [4.13.0-45] +- Fixed lack of & in front of addresses generated by email-update-all-groups. + [msoulier 6414] +- Fixed lack of use of processTemplate in email-update-group. [msoulier 6414] +- Added a symlink to email-update-all-groups in user-delete. [msoulier 6414] + +* Wed Apr 9 2003 Charlie Brady +- [4.13.0-44] +- Add creation of ~admin/.qmail-default symlink. Move email-update-user + action from post-upgrade to bootstrap-console-save, so it is run + at post-install as well. [charlieb 7660] + +* Tue Apr 8 2003 Lijie Deng +- [4.13.0-43] +- Modified pseudonym button name [lijied 7921] + +* Tue Apr 8 2003 Gordon Rowell +- [4.13.0-42] +- Fixed fr nav bar [gordonr 7926] + +* Mon Apr 7 2003 Charlie Brady +- [4.13.0-41] +- Change email-update-user action to loop through all users if + username not given. Link into post-upgrade action. Create + .qmail-default symlink if it doesn't already exist. + [charlieb 7609] + +* Fri Apr 4 2003 Lijie Deng +- [4.13.0-40] +- Changed $q->table to $q->start_table where necessary [lijied 8034] + +* Thu Apr 3 2003 Gordon Rowell +- [4.13.0-39] +- Missing english L10N in emailsettings [gordonr 1950] + +* Wed Apr 2 2003 Charlie Brady +- [4.13.0-38] +- Removed 'Mitel Networks SME Server' branding on emailsetting + and pseudonyms [lijied 8016] +- Changed Copyright header to License. [charlieb] +- Add local delivery options in .qmail template - use + DeliveryType and DeliveryInstruction properties of qmail. + [charlieb 2600] + +* Wed Apr 2 2003 Charlie Brady +- [4.13.0-37] +- Modify email-relocate-maildirs to ensure that Mail/junkmail + folder exists for all users. [charlieb 2600] + +* Tue Apr 1 2003 Gordon Rowell +- [4.13.0-36] +- Redirect outbound port 25 through our SMTP server [gordonr 6349] + +* Tue Apr 1 2003 Gordon Rowell +- [4.13.0-35] +- Changed to ~alias/.qmail-devnull-default [gordonr 6460] + +* Tue Apr 1 2003 Gordon Rowell +- [4.13.0-34] +- Added ~alias/.qmail-devnull [gordonr 6460] + +* Tue Apr 1 2003 Lijie Deng +- [4.13.0-33] +- Modified emailsetting en-us 'standard' trans text [lijied 7949] + +* Tue Apr 1 2003 Gordon Rowell +- [4.13.0-32] +- Fixed fr nav bar entry [gordonr 7926] + +* Mon Mar 31 2003 Mike Dickson +- [4.13.0-31] +- fixed the "Action" column to be several columns instead of one [miked 7761] + +* Mon Mar 31 2003 Gordon Rowell +- [4.13.0-30] +- Make use of sectionbar hr CSS class [gordonr 7911] + +* Mon Mar 31 2003 Gordon Rowell +- [4.13.0-29] +- And make section bars only 80% of the width to its obvious there's one + Save button for the page [gordonr 7911] + +* Fri Mar 28 2003 Gordon Rowell +- [4.13.0-28] +- Lighten section bars a little [gordonr 7911] + +* Fri Mar 28 2003 Gordon Rowell +- [4.13.0-27] +- Strengthen section headings to show blocks [gordonr 1950] + +* Fri Mar 28 2003 Gordon Rowell +- [4.13.0-26] +- Deleted dangling panel links after panel merge [gordonr 1950] + +* Fri Mar 28 2003 Gordon Rowell +- [4.13.0-25] +- Adding French L10Ns [gordonr 1950] + +* Thu Mar 27 2003 Gordon Rowell +- [4.13.0-24] +- Rearranged panel order slightly to group like items [gordonr 1950] +- Adjusted titles of the two delegate mail server (upstream/downstream) + items [gordonr 1950] +- TODO: Some missing French L10Ns (tagged in lexicon) [gordonr 1950] + +* Thu Mar 27 2003 Gordon Rowell +- [4.13.0-23] +- Deleted emailretrieval/otheremail - now merged into emailsettings + [gordonr 1950] +- Made emailsettings panel loop back to start and display + success/failure message [gordonr 1950] + +* Thu Mar 27 2003 Lijie Deng +- [4.13.0-22] +- Modified emailretrieval and emailsettings en-us text [lijied 4937] +- Modified emailretrieval and emailsettings fr-ca text [lijied 4937] + and modified the lexicons to use lang="fr", rename the lexicon + directory to fr [lijied 6787] + +* Tue Mar 25 2003 Lijie Deng +- [4.13.0-21] +- Modified emailsettings access text [lijied 4081] + +* Tue Mar 25 2003 Lijie Deng +- [4.13.0-20] +- And add panel link [gordonr 1950] +- Change page title to "E-mail settings' and nav bar to 'e-mail' + in English and French [gordonr 1950] +- Modified otheremail POP and IMAP server access text [lijied 4081] + +* Mon Mar 24 2003 Gordon Rowell +- [4.13.0-19] +- Merge emailretrieval/othermail -> emailsettings [gordonr 1950] + +* Tue Mar 18 2003 Gordon Rowell +- [4.13.0-18] +- Added [$ExternalIP] to "locals" [gordonr 6900] + +* Tue Mar 18 2003 Gordon Rowell +- [4.13.0-17] +- Deleted ./etc/{fetchmail, startmail}/template-begin, + and modified %build [lijied 3295] +- Reconfigure/reload /var/qmail/control/locals on ip-change [gordonr 6900] + +* Tue Mar 18 2003 Gordon Rowell +- [4.13.0-16] +- Broken rebuild - missing mkdir in %build + +* Fri Mar 7 2003 Lijie Deng +- [4.13.0-15] +- Modified panel order for emailretrieval,otheremail + and pseudonyms +- Modified en-us and fr-ca pseudonyms panel title [lijied 7356] + +* Tue Mar 4 2003 Lijie Deng +- [4.13.0-14] +- Split en-us lexicon from emailretrieval panel + split en-us lexicon from otheremail panel + split en-us lexicon from pseudonyms panel [lijied 4030] + +* Mon Mar 3 2003 Lijie Deng +- [4.13.0-13] +- RebuildRPM for otheremail and pseudonyms [lijied 5003] + +* Mon Mar 3 2003 Lijie Deng +- [4.13.0-12] +- RebuildRPM for emailretrival, commit missed last time [lijied 5003] + +* Fri Feb 28 2003 Charlie Brady +- [4.13.0-11] +- Added French lexicon for emailretrieval, otheremail + and pseudonyms. [lijied 5003] +- Re-do hosts.allow template to use esmith::ConfigDB::hosts_allow_spec. + Add dependency on up-to-date e-smith-lib. [charlieb 5650] +- Remove bogus mailfront dependency. + +* Tue Feb 25 2003 Charlie Brady +- [4.13.0-10] +- Convert virtualdomains template to use esmith::{Hosts,Domains}DB. + [charlieb 2670] +- Remove duplicate DomainName setting from virtualdomains template, + now that the primary domain is added to the domains db. [charlieb 2670] + +* Mon Feb 24 2003 Michael Soulier +- [4.13.0-09] +- Removed use of LocalDomainPrefix. [msoulier 4812] + +* Sat Jan 25 2003 Mike Dickson +- [4.13.0-08] +- added ACTION to the lexicon [miked 6363] + +* Wed Jan 15 2003 Charlie Brady +- [4.13.0-07] +- Change pattern match for ppp device in /etc/startmail, so that + mail collection is triggered on a PCI ISDN dialup link [charlieb 5399] +- Remove standard template-{begin,end} fragments where possible. The + default ones will be used in their place [charlieb 3295] + +* Thu Jan 9 2003 Michael Soulier +- [4.13.0-06] +- Fixed incorrect page flow behaviour. Panel now returns to start page on + completion, with a status message prefixed. [msoulier 6470] + +* Fri Dec 27 2002 Mike Dickson +- [4.13.0-05] +- minor UI updates [miked 5494] + +* Mon Dec 16 2002 Mike Dickson +- [4.13.0-04] +- UI Update, part of the tweaking for the new UI [miked 5494] + +* Mon Dec 2 2002 Mike Dickson +- [4.13.0-03] +- ui update [miked 5494] + +* Thu Nov 21 2002 Mike Dickson +- [4.13.0-02] +- update to new UI system [miked 5494] + +* Wed Nov 6 2002 Charlie Brady +- [4.13.0-01] +- Rolling development stream version to 4.13.0 + +* Tue Oct 15 2002 Charlie Brady +- [4.12.1-01] +- Roll new version to fix tagging problem + +* Tue Oct 15 2002 Gordon Rowell +- [4.12.0-02] +- If the user had a maildir called Mail/, rename it so it gets + relocated into the new directory Mail/. Attempt to relocate as + many directories as possible - only warn when directories can't + be renamed rather than calling die(). [gordonr 4767] + +* Fri Oct 11 2002 Charlie Brady +- [4.12.0-01] +- Roll to maintained version number to 4.12.0 + +* Tue Oct 8 2002 Mark Knox +- [4.11.8-05] +- Removed stray description tag [markk 5135] + +* Tue Sep 24 2002 Charlie Brady +- [4.11.8-04] +- Re-add "use esmith::util" to email-update-group - it was lost in the + esmith::AccountsDB rewrite. [charlieb 4932] + +* Mon Sep 23 2002 Charlie Brady +- [4.11.8-03] +- Fix creation of list of groups from groupname in last change [charlieb 4932] + +* Fri Sep 20 2002 Charlie Brady +- [4.11.8-02] +- Modify email-update-group to iterate over all groups during post-upgrade + event [charlieb 4932] + +* Mon Sep 9 2002 Mark Knox +- [4.11.8-01] +- Rolling to new version to fix patching problem + +* Mon Sep 9 2002 Mark Knox +- [4.11.7-06] +- Display only multidrop retrieval in private s&g mode [markk 4780] + +* Mon Sep 9 2002 Charlie Brady +- [4.11.7-05] +- Use localhost for all fetchmail local delivery [charlieb 4742] + +* Thu Sep 5 2002 Mark Knox +- [4.11.7-04] +- Remove empty description and lexicon entry [markk 4764] + +* Wed Sep 4 2002 Gordon Rowell +- [4.11.7-03] +- Relocate maildirs for all users and admin to Mail/ subdirectory + in post-upgrade event. Directories which didn't exist in Mail/ + preserve their name. Directories which conflict with an existing + directory in Mail/ become {name}.relocated and if that conflicts, + we try {name}.relocated-time(). If that conflicts, we generate a + warning to the log and give up. [gordonr 4767] + +* Fri Aug 30 2002 Charlie Brady +- [4.11.7-02] +- Update default pine configuration to deal with TLS capable imapd, + and to support a few more features. [charlieb 3669] + +* Mon Aug 19 2002 Charlie Brady +- [4.11.7-01] +- Use new adjust-masq action script to adjust packet filter, rather than + restart-masq. [charlieb 4501] + +* Fri Jul 26 2002 Charlie Brady +- [4.11.6-01] +- Return exit status from /etc/startmail if it is called, 0 otherwise. + [charlieb 4487] + +* Fri Jul 26 2002 Charlie Brady +- [4.11.5-01] +- Add missing space after --authentication option. [charlieb 3050] + +* Fri Jul 26 2002 Charlie Brady +- [4.11.4-01] +- Call /etc/startmail from email-ipup, rather than /etc/fetchmail, so that + $SMTP is set. [charlieb 4483] + +* Wed Jul 24 2002 Mark Knox +- [4.11.3-01] +- Fixed faulty display of multidrop params [markk 4453] +- Added fetch of POP password [markk 4453] + +* Wed Jul 24 2002 Gordon Rowell +- [4.11.2-01] +- Added optional property fetchmail|AuthenticationMethod, defaulting to + "password" so that people with working CRAM-MD5 or similar can still + choose that (or indeed "any" if it works for them) [gordonr 3050] + +* Wed Jul 24 2002 Gordon Rowell +- [4.11.1-01] +- Added --auth password to fetchmail call to force password + authentication [gordonr 3050] + +* Wed Jun 5 2002 Charlie Brady +- [4.11.0-01] +- Changing version to maintained stream number to 4.11.0 + +* Fri May 31 2002 Charlie Brady +- [4.10.0-01] +- Changing version to maintained stream number to 4.10.0 + +* Tue May 28 2002 Charlie Brady +- [4.9.25-01] +- Fix multi-drop sort. 'on' and 'off' were confused in "select sort + method" in the panel. [charlieb 3682] + +* Tue May 28 2002 Charlie Brady +- [4.9.24-01] +- Fix forward unknonw email to admin, which was broken in the FormMagick + conversion. [charlieb 3683] + +* Thu May 23 2002 Gordon Rowell +- [4.9.23-01] +- RPM rebuild forced by cvsroot2rpm + +* Wed May 22 2002 Gordon Rowell +- [4.9.22-01] +- Set smtp-server=localhost in pine.conf [gordonr 3567] + +* Fri May 17 2002 Mark Knox +- [4.9.21-01] +- Fixed heading on panel [markk 3516] + +* Fri May 17 2002 Mark Knox +- [4.9.20-01] +- Bold table headings [markk 3503] + +* Thu May 16 2002 Kirrily Robert +- [4.9.19-01] +- Added border to pseudonyms table [skud 3491] + +* Thu May 16 2002 Charlie Brady +- [4.9.18-01] +- Remove migration of smtpfwdd properties and init of smtpfront-qmail + service - moved to e-smith-mailfront. [charlieb 3442] +- Fix fetchmail delivery - we need to use smtphost, not smtpaddress. +- Append @$DomainName to "postmaster" for postmaster address - + fetchmail otherwise uses postmaster@a.b.c.d [charlieb 3469] +- Remove commented out SMTP address lookup in /etc/fetchmail script - + it's now passed in from /etc/startmail (and we have CVS for version + control) [ charlieb 3469]. + +* Fri May 10 2002 Gordon Rowell +- [4.9.17-01] +- Handle concurrencyremote setting of zero [gordonr 2920] + +* Mon May 6 2002 Gordon Rowell +- [4.9.16-01] +- Localise SAVE button [gordonr 3222] + +* Mon May 6 2002 Charlie Brady +- [4.9.15-01] +- Removed CVS detritus from changelog. +- Changed references to smtpd db entries to smtpfront-qmail. [charlieb 2604] +- Added blank or IP validator. Changed ip_number to new validation in + emailretrieval [markk 3317] + +* Fri May 3 2002 Mark Knox +- [4.9.14-01] +- Changed lexicon en -> en-us [markk 3320] +- Removed unused "TITLE" on first page [markk 3320] +- Added status message display on first page [markk 3320] +- Cleaned up display in IE [markk 3320] +- Localised "Everyone" [markk 3320] +- Cleaned up die calls in module for better error handling [markk 3320] + +* Thu May 2 2002 Charlie Brady +- [4.9.13-01] +- Enable smtpd service by default. Migrate status and filter properties + from smtpfwdd to smtpd service, if found. [charlieb 2604] + +* Wed May 1 2002 Gordon Rowell +- [4.9.12-01] +- esmith::AccountDB -> esmith::AccountsDB [schwern 3287] + +* Tue Apr 30 2002 Gordon Rowell +- [4.9.11-01] +- Quote fetchmail username and password [gordonr 3296] + +* Fri Apr 26 2002 Gordon Rowell +- [4.9.10-01] +- Removed /var/qmail/control/rcpthosts/template-{begin,end} [gordonr 2604] + +* Thu Apr 25 2002 Gordon Rowell +- [4.9.9-01] +- Added head/foot to pseudonyms [gordonr 3223] +- Nav bar entries to all panels [gordonr 3155] + +* Mon Apr 22 2002 Gordon Rowell +- [4.9.8-01] +- Removed bogus hard quotes on call to serviceControl [gordonr 2920] +- Changed navigation for email retrieval to "E-mail" as per + glossary [gordonr 3155] + +* Fri Apr 19 2002 Mark Knox +- [4.9.7-01] +- Changed some db->get()s to check their return values. Was causing breakage + in otheremail panel on fresh install. [markk] + +* Fri Apr 19 2002 Gordon Rowell +- [4.9.6-01] +- Allow optional qmail|ConcurrencyRemote setting which overrides the + memory sized based heuristic [gordonr 2920] + +* Fri Apr 19 2002 Mark Knox +- [4.9.5-01] +- Removed hardcoded server name and replaced with lookup of FQDN [markk 3196] + +* Thu Apr 18 2002 Mark Knox +- [4.9.4-01] +- Pass SMTP on the command line as the env is cleared [markk 3161] +- Pass LocalIP if ExternalIP doesn't exist [markk 3161] + +* Thu Apr 18 2002 Mark Knox +- [4.9.3-01] +- Extract ExternalIP in /etc/startmail and export as ENV{SMTP} to + /etc/fetchmail to avoid calling privileged commands as user qmailr + [markk 3161] + +* Mon Apr 15 2002 Gordon Rowell +- [4.9.2-01] +- Language en->en-us + +* Mon Apr 8 2002 Michael Schwern +- [4.9.1-01] +- Added i18n'd versions of emailretrieval and otheremail panels [skud 3032] + +* Fri Mar 15 2002 Charlie Brady +- [4.9.0-01] +- rollRPM: Rolled version number to 4.9.0-01. Includes patches up to 4.8.0-07. +- Removed empty directories from tarball and add code to make them in prep + section, prior to CVS import. + +* Thu Feb 14 2002 Charlie Brady +- [4.8.0-07] +- Remove the current qmail rcpthosts template and replace it with a + template directory containing zero length template-begin and template-end + files. The current template containing "not used" comments is moved + into the e-smith-obtuse-smtpd RPM. + +* Mon Jan 28 2002 Charlie Brady +- [4.8.0-06] +- Re-instate 4.8.0-02 patch. See #2677. + +* Fri Jan 18 2002 Charlie Brady +- [4.8.0-05] +- Use external IP as SMTP address when using multidrop mail, so that + external network smtpd rules are applied to address matches. We have to + fall back to LocalIP in serveronly mode, unfortunately, because we have + no other option. + +* Fri Dec 21 2001 Charlie Brady +- [4.8.0-04] +- Temporarily back out 4.8.0-02 patch, pending further verification. + +* Fri Dec 21 2001 Charlie Brady +- [4.8.0-03] +- Fix typo "smptroutes" => "smtproutes" in email-conf. + +* Wed Dec 12 2001 Charlie Brady +- [4.8.0-02] +- Fix a few problems with email-ipup script which lead to warnings being + logged. +- Trucate the changelog, which is getting very large. For earlier changelog, + see an earlier version of the package. + +* Tue Dec 11 2001 Adrian Chung +- [4.8.0-01] +- rollRPM: Rolled version number to 4.8.0-01. Includes patches up to 4.7.0-12. + +* Tue Aug 21 2001 Gordon Rowell +- [4.6.1-01] +- Rolled version number to 4.6.1-01. Includes patches upto 4.6.0-06. + +* Tue Aug 21 2001 Gordon Rowell +- [4.6.0-02..06] +- Final branding changes + +* Wed Aug 8 2001 Charlie Brady +- [4.6.0-01] +- Rolled version number to 4.6.0-01. Includes patches upto 4.5.0-20. + +%prep +%setup +mkdir -p root/var/lock/fetchmail +mkdir -p root//etc/e-smith/skel/user/Maildir/.junkmail/{tmp,new,cur} + +%build +perl createlinks + +mkdir -p root/etc/e-smith/templates/etc/fetchmail +ln -s /etc/e-smith/templates-default/template-begin-shell \ + root/etc/e-smith/templates/etc/fetchmail/template-begin + +mkdir -p root/etc/e-smith/templates/etc/startmail +ln -s /etc/e-smith/templates-default/template-begin-shell \ + root/etc/e-smith/templates/etc/startmail/template-begin + +mkdir -p root/service + +# smtp-auth-proxy supervision +mkdir -p root/var/service/smtp-auth-proxy +ln -s ../var/service/smtp-auth-proxy root/service/smtp-auth-proxy +mkdir -p root/var/service/smtp-auth-proxy/supervise +mkdir -p root/var/service/smtp-auth-proxy/log/supervise +mkdir -p root/var/log/smtp-auth-proxy + +rm -rf root/etc/e-smith/templates/var + +%postun + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-%{release}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \ + --dir '/var/service/smtp-auth-proxy' 'attr(1755,root,root)' \ + --file '/var/service/smtp-auth-proxy/down' 'attr(0644,root,root)' \ + --file '/var/service/smtp-auth-proxy/run' 'attr(0755,root,root)' \ + --dir '/var/service/smtp-auth-proxy/supervise' 'attr(0700,root,root)' \ + --dir '/var/service/smtp-auth-proxy/log' 'attr(0755,root,root)' \ + --file '/var/service/smtp-auth-proxy/log/run' 'attr(0755,root,root)' \ + --file '/var/service/smtp-auth-proxy/log/supervise' 'attr(0700,root,root)' \ + --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \ + --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \ + > %{name}-%{version}-%{release}-filelist +echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-%{release}-filelist +%defattr(-,root,root) diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..ef36a67 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme10 diff --git a/createlinks b/createlinks new file mode 100644 index 0000000..66f1e10 --- /dev/null +++ b/createlinks @@ -0,0 +1,138 @@ +#!/usr/bin/perl -w + +use esmith::Build::CreateLinks qw(:all); +use File::Basename; +use File::Path; + +# email-conf - console-save, bootstrap-console-save, domain-create, domain-delete, +# ip-change, email-update, host-create, host-delete, host-modify, post-upgrade + + +foreach (qw( + /etc/fetchmail + /etc/startmail + )) +{ + templates2events($_, qw( + console-save + bootstrap-console-save + domain-create + domain-delete + ip-change + email-update + host-create + host-delete + host-modify + post-upgrade + )); +} + +event_link('fetchmail-migrate-fetchids', "bootstrap-console-save", '91'); +# pine-conf + +for ( qw(/etc/pine.conf /etc/Muttrc) ) +{ + templates2events($_, qw(console-save bootstrap-console-save email-update)); +} + +#-------------------------------------------------- +# functions for manager panel +#-------------------------------------------------- +my $panel = "manager"; + +panel_link("emailsettings", $panel); +panel_link("pseudonyms", $panel); + +#-------------------------------------------------- +# actions for console-save event: +# write config files and create startup link +#-------------------------------------------------- +$event = "console-save"; + +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/smtp-auth-proxy"); +event_link('fetchmail-migrate-fetchids', $event, '91'); + +#-------------------------------------------------- +# actions for domain-create event: +# rewrite config files and restart server +#-------------------------------------------------- +$event = "domain-create"; + +#-------------------------------------------------- +# actions for domain-delete event: +# rewrite config files and restart server +#-------------------------------------------------- +$event = "domain-delete"; + +#-------------------------------------------------- +# actions for email-update event: +# email parameters have been changed in the e-smith +# manager; update system security, rewrite email config +# files, configure other system files (crontab is the +# important one), and restart server +#-------------------------------------------------- +$event = "email-update"; + +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/smtp-auth-proxy"); +event_link('fetchmail-migrate-fetchids', $event, '91'); + +#-------------------------------------------------- +# actions for group-create event: +#-------------------------------------------------- +$event = "group-create"; + +#-------------------------------------------------- +# actions for group-delete event: +#-------------------------------------------------- +$event = "group-delete"; + +#-------------------------------------------------- +# actions for group-modify event: +#-------------------------------------------------- +$event = "group-modify"; + +#-------------------------------------------------- +# actions for user-create event: +#-------------------------------------------------- +$event = "user-create"; + +#-------------------------------------------------- +# actions for user-modify event +#-------------------------------------------------- +$event = "user-modify"; + +#-------------------------------------------------- +# actions for user-delete event +#-------------------------------------------------- +$event = "user-delete"; + +#-------------------------------------------------- +# actions for ip-up event: +#-------------------------------------------------- +$event = "ip-up"; + +event_link("email-ipup", $event, "20"); + +#-------------------------------------------------- +# actions for ip-up event: +#-------------------------------------------------- +$event = "ip-change"; + +#-------------------------------------------------- +# actions for e-smith-email-update event: +#-------------------------------------------------- +$event = "e-smith-email-update"; +# systemd-specific action mandatory for this package-update event +event_link("systemd-reload", $event, "89"); +event_link("systemd-default", $event, "88"); +event_link('fetchmail-migrate-fetchids', $event, '91'); +safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/smtp-auth-proxy"); + +#-------------------------------------------------- +# actions for pseudonym-{create,delete,modify} +#-------------------------------------------------- +foreach $event ( qw(pseudonym-create pseudonym-modify pseudonym-delete) ) +{ +} + + diff --git a/e-smith-email.spec b/e-smith-email.spec new file mode 100644 index 0000000..51cfcf6 --- /dev/null +++ b/e-smith-email.spec @@ -0,0 +1,1523 @@ +# $Id: e-smith-email.spec,v 1.20 2022/08/01 18:04:52 jpp Exp $ + +Summary: e-smith server and gateway - email module +%define name e-smith-email +Name: %{name} +%define version 5.6.0 +%define release 20 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: Networking/Daemons +Source: %{name}-%{version}.tar.xz + +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +Requires: e-smith-base >= 4.15.0-39 +Requires: e-smith-tinydns >= 1.0.0-5 +Requires: e-smith-smtpd +Requires: e-smith-mta +Requires: e-smith-pop3 +Requires: e-smith-imap +Requires: e-smith-lib >= 1.15.1-19 +Requires: perl(Net::Server::Fork) +Requires: perl(Net::SMTP) +Requires: perl(Net::SMTP::SSL) +Requires: perl(Authen::SASL) +Requires: perl(Net::Server) >= 0.85 +Requires: runit +Requires: e-smith-formmagick >= 1.4.0-12 +Obsoletes: e-smith-smtp-authentication +Obsoletes: e-smith-securemail +Conflicts: smeserver-fetchmail < 1.6-24 +BuildRequires: e-smith-devtools >= 1.13.0-03 +BuildArchitectures: noarch +AutoReqProv: no + +%prep +%setup +rm -rf root/var/service/ root/service +mkdir -p root/var/lib/fetchmail + +%build +perl createlinks + +%postun + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +rm -f %{name}-%{version}-%{release}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --dir /var/lock/fetchmail 'attr(755,qmailr,qmail)' \ + --dir '/var/log/smtp-auth-proxy' 'attr(2750,smelog,nofiles)' \ + --file '/usr/local/sbin/smtp-auth-proxy.pl' 'attr(0755,root,root)' \ + --dir '/home/e-smith/Maildir/.junkmail' 'attr(0700,admin,admin)' \ + --dir '/home/e-smith/Maildir/.junkmail/tmp' 'attr(0700,admin,admin)' \ + --dir '/home/e-smith/Maildir/.junkmail/new' 'attr(0700,admin,admin)' \ + --dir '/home/e-smith/Maildir/.junkmail/cur' 'attr(0700,admin,admin)' \ + --dir '/var/lib/fetchmail' 'attr(0750,qmailr,qmail)' \ + > %{name}-%{version}-%{release}-filelist +echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-%{release}-filelist +%defattr(-,root,root) + +%pre +if [ $1 -gt 1 ] ; then + if [ -e /var/service/smtp-auth-proxy/run ] ; then + /usr/bin/sv d smtp-auth-proxy + /usr/bin/sv d smtp-auth-proxy/log + fi +fi + +%description +e-smith server and gateway software - email module. + +%changelog +* Wed Jul 12 2023 cvs2git.sh aka Brian Read 5.6.0-20.sme +- Roll up patches and move to git repo [SME: 12338] + +* Wed Jul 12 2023 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Mon Aug 01 2022 Jean-Philippe Pialasse 5.6.0-19.sme +- add quote around filename to .fetchids moving script [SME: 12131] + +* Fri Jul 29 2022 Jean-Philippe Pialasse 5.6.0-18.sme +- move fetchids from /run and avoid its loss on reboot [SME: 12131] + similar changes in contrib smesevrer-fetchmail + +* Thu May 19 2022 Jean-Philippe Pialasse 5.6.0-17.sme +- fix typo in regex [SME: 11799] + +* Sat Apr 16 2022 Jean-Philippe Pialasse 5.6.0-16.sme +- fix missing dot in regex for untainting [SME: 11799] + would delete any account named with the string before the dot + +* Mon Nov 15 2021 Jean-Philippe Pialasse 5.6.0-15.sme +- untainting string correctly [SME: 11716] + +* Thu Sep 16 2021 Jean-Philippe Pialasse 5.6.0-14.sme +- fix typo for mailpattern for rar files [SME: 11690] + +* Fri Sep 10 2021 Jean-Philippe Pialasse 5.6.0-13.sme +- fix perms for /var/lock/fetchmail [SME: 11634] + +* Fri Sep 10 2021 Jean-Philippe Pialasse 5.6.0-12.sme +- make /var/lock/fetchmail dir permanent [SME: 11634] + +* Tue Mar 30 2021 Jean-Philippe Pialasse 5.6.0-11.sme +- add new RAR file signatures to default mailpatterns database [SME: 11265] + +* Thu Mar 11 2021 Jean-Philippe Pialasse 5.6.0-10.sme +- webmail is only SSL [SME: 11443] + +* Fri Dec 11 2020 Jean-Philippe Pialasse 5.6.0-9.sme +- create -update event [SME: 11133] +- move smtp-auth-proxy to systemd [SME: 11102] + +* Sat Jun 27 2020 Jean-Philippe Pialasse 5.6.0-7.sme +- allow creation of pseudonyms with setting of local only [SME: 3802] + +* Wed Jun 15 2016 Jean-Philippe Pialasse 5.6.0-6.sme +- fix webmail status not displaying correctly in manager [SME: 9594] + +* Tue Jun 7 2016 Daniel Berteaud 5.6.0-5.sme +- More change from smtpd to qpsmtpd in masq templates [SME: 9561] + +* Fri Jun 3 2016 Daniel Berteaud 5.6.0-4.sme +- Replace smtpd with qpsmtpd in smtp-auth-proxy [SME: 9554] + +* Thu May 12 2016 Daniel Berteaud 5.6.0-3.sme +- Rebuild for [SME: 9393] + +* Fri Apr 22 2016 Daniel Berteaud 5.6.0-2.sme +- Merge smtpd entry into qpsmtpd, same for ssmtpd into sqpsmtpd [SME: 9478] + +* Fri Feb 5 2016 Daniel Berteaud 5.6.0-1.sme +- Roll new stream for sme10 + +* Fri Feb 6 2015 stephane de Labrusse 5.4.0-12.sme +- remove the patch e-smith-email-5.4.0-UEsDBBQDAAAIA-new-signature.patch +- [SME: 8833] + +* Thu Feb 5 2015 stephane de Labrusse 5.4.0-11.sme +- Add new zip file signatures to default mailpatterns database : UEsDBBQDAAAIA +- [SME: 8833] + +* Fri Dec 5 2014 stephane de Labrusse 5.4.0-9.sme +- Add new zip file signatures to default mailpatterns database : ZIPVOSX & ZIPV3 +- [SME: 8718] + +* Mon Feb 10 2014 Charlie Brady 5.4.0-8.sme +- Handle exceptions during attempted SASL auth. Add more debug tracing. + [SME: 8205] + +* Fri Dec 20 2013 Ian Wells 5.4.0-7.sme +- Update of allow webmail-only-local-network by Stephane de Labrusse [SME: 7351] + +* Sat Dec 14 2013 Ian Wells 5.4.0-6.sme +- Only present one auth method at a time, in order, to NET::SMTP, + by Charlie Brady [SME: 8060] + Second hunk in patch converts tabs to spaces, no code change. + +* Tue Dec 10 2013 Chris Burnat 5.4.0-5.sme +- Allow webmail-only-local-network by Stephane de Labrusse [SME: 7351] + +* Fri Jul 5 2013 Ian Wells 5.4.0-4.sme +- Fetchmail multidrop mode follows TCPPort setting, by Hans Riethmann [SME: 7749] + +* Sun Jun 23 2013 Daniel Berteaud 5.4.0-3.sme +- Always enable imap, listen on loopback is disabled [SME: 7697] + +* Sat Mar 16 2013 Ian Wells 5.4.0-2.sme +- Avoid use of unitialised variables in smtp migrate fragments [SME: 7487] + +* Wed Feb 6 2013 Shad L. Lords 5.4.0-1.sme +- Roll new stream for sme9 + +* Wed Dec 19 2012 Ian Wells 5.2.0-19.sme +- Allow smtp_auth_proxy to use port 587 with STARTTLS, by Charlie Brady [SME: 6922] + +* Mon Jul 02 2012 Ian Wells 5.2.0-18.sme +- Allow blacklist of SMTP AUTH methods, replaces previous patch [SME: 7017] + +* Sun Mar 04 2012 Ian Wells 5.2.0-17.sme +- MD5 patch to workaround buggy SMTP servers [SME: 6538] + +* Fri Sep 23 2011 Jonathan Martens 5.2.0-16.sme +- Fix previous commit to show complete text in server-manager [SME: 6320] + +* Fri Sep 23 2011 Jonathan Martens 5.2.0-15.sme +- Fix SMTP auth wording in server-manager [SME: 6320] + +* Sat Nov 20 2010 Ian Wells 5.2.0-14.sme +- SME 8.0 Changelog Cleanup [SME: 6368] + +* Sun Oct 31 2010 Shad L. Lords 5.2.0-13.sme +- Fix property merge when local pseudonym is set [SME: 6370] + +* Sun Oct 31 2010 Shad L. Lords 5.2.0-12.sme +- Add smtp auth into web interface, not just when enabled [SME: 6318] + +* Mon Oct 4 2010 Shad L. Lords 5.2.0-11.sme +- Enable auth for smtp traffic and migrate if necessary [SME: 5575] + +* Sat Sep 25 2010 Shad L. Lords 5.2.0-10.sme + Sun Sep 25 2010 --> Sun Sep 19 2010 or Sat Sep 25 2010 or Sun Sep 26 2010 or .... +- Change enabled to transparent for mail proxy [SME: 5574] + +* Sat May 08 2010 Jonathan Martens 5.2.0-9.sme + Tue May 08 2010 --> Tue May 04 2010 or Sat May 08 2010 or Tue May 11 2010 or .... +- Fix migrate fragment [SME: 5922] + +* Tue May 4 2010 Jonathan Martens 5.2.0-8.sme +- Fix errors in previous commit [SME: 5922] + +* Tue May 4 2010 Jonathan Martens 5.2.0-7.sme +- Set smtp-auth-proxy Debug property to disabled instead of 0 [SME: 5922] + +* Sat Apr 3 2010 Charlie Brady 5.2.0-6.sme +- Fix HeloHost patch. [SME: 5854] + +* Thu Mar 25 2010 Federico Simoncelli 5.2.0-5.sme +- Block by default the SMTP transparent proxy [SME: 5574] + +* Mon Dec 21 2009 Filippo Carletti 5.2.0-4.sme +- Use HeloHost (if present) in smtp-auth-proxy.pl [SME: 5680] + +* Wed Nov 4 2009 Jonathan Martens 5.2.0-3.sme +- Allow for changing SPAM subject tag through server-manager [SME: 5559] + +* Wed Oct 29 2008 Shad L. Lords 5.2.0-2.sme +- Fix 'Allow private' to be correct string [SME: 4731] + +* Tue Oct 7 2008 Shad L. Lords 5.2.0-1.sme +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Mon Jul 28 2008 Jonathan Martens 4.18.0-5 +- Fix patch to be in accordance with conventions in e-smith-formagick's general [SME: 4285] + +* Sat Jul 26 2008 Gavin Weight 4.18.0-4 +- Fix pseudonyms modify if using special characters. Thanks - + Federico Simoncelli. [SME: 4346] + +* Sun Apr 27 2008 Jonathan Martens 4.18.0-3 +- Add common tags to e-smith-formmagick's general [SME: 4285] + +* Wed Mar 12 2008 Shad L. Lords 4.18.0-2 +- Cleanup CREATE/ADD tag mixup [SME: 4045] + +* Tue Mar 11 2008 Stephen Noble 4.18.0-1 +- Roll stable stream for release. + +* Tue Mar 11 2008 Stephen Noble 4.18.0-1 +- Roll stable stream for release. + +* Wed Feb 13 2008 Stephen Noble 4.17.0-6 +- Remove tags now in general [SME: 3917] + +* Sun Feb 10 2008 Stephen Noble 4.17.0-5 +- Remove duplicate entries [SME: 3892] + +* Wed Jan 09 2008 Stephen Noble 4.17.0-4 +- add visible internal toggle to pseudonym panel [SME: 3497] + +* Thu Dec 27 2007 Shad L. Lords 4.17.0-3 +- Remove leading 0 from release + +* Wed Dec 26 2007 Charlie Brady 4.17.0-02 +- Add support for SMTPS and MSA outbound authenticated SMTP to + smarthost. TODO: Add panel support. [SME: 897] + +* Wed Dec 26 2007 Charlie Brady 4.17.0-01 +- Make new development branch. + +* Mon Jun 25 2007 Charlie Brady 4.16.0-22 +- Add diagnostic if .junkmail Maildir is broken. [SME: 2739] + +* Tue Jun 12 2007 Shad L. Lords 4.16.0-21 +- Add default to SpamReject to get rid of warnings [SME: 2395] + +* Mon Jun 11 2007 Shad L. Lords 4.16.0-20 +- decode parameters so pseudonymn can be modified/deleted [SME: 1782] + +* Mon Jun 11 2007 Shad L. Lords 4.16.0-19 +- encode parameters so pseudonymn can be modified/deleted [SME: 1782] + +* Sun Apr 29 2007 Shad L. Lords +- Clean up spec so package can be built by koji/plague + +* Fri Jan 26 2007 Shad L. Lords 4.16.0-18 +- Finish removing admin email forwarding stuff [SME: 827] + +* Wed Jan 24 2007 Federico Simoncelli 4.16.0-17 +- Removed braces from the permitted character in pseudonymous [SME: 2270] + +* Mon Jan 22 2007 Shad L. Lords 4.16.0-16 +- Change fetchmail dest from 127.0.0 2 to 127.0.0.200 [SME: 2223] + +* Sun Jan 14 2007 Shad L. Lords 4.16.0-15 +- Add admin email forwarding to modify user panel [SME: 827] + +* Sun Jan 14 2007 Shad L. Lords 4.16.0-14 +- Make fetchmail deliver to 127.0.0.2 to is it treat like external [SME: 2223] + +* Sat Jan 13 2007 Gavin Weight 4.16.0-13 +- Update Return to sender text to be more clearer that we reject. [SME: 2291] + +* Tue Dec 26 2006 Shad L. Lords 4.16.0-12 +- Make pseudonyms removable and changeable based on db entries [SME: 2143] + +* Tue Dec 12 2006 Federico Simoncelli 4.16.0-11 +- Relaxed the email address check [SME: 1663] + +* Thu Dec 07 2006 Shad L. Lords +- Update to new release naming. No functional changes. +- Make Packager generic + +* Wed Nov 08 2006 Gavin Weight 4.16.0-10 +- Add another EXE pattern TVqgAAEAAAAFAAAA - Thanks Alex Schaft. [SME: 2039] + +* Tue Sep 26 2006 Gavin Weight 4.16.0-09 +- Incorrect quoting in purge-junkmail-folders diagnostic. [SME: 1936] + +* Wed Sep 20 2006 Gavin Weight 4.16.0-08 + Tue Sep 20 2006 --> Tue Sep 19 2006 or Wed Sep 20 2006 or Tue Sep 26 2006 or .... +- Updated virus description in panel. [SME: 1729] + +* Wed Jun 21 2006 Gordon Rowell 4.16.0-07 +- Add another EXE pattern TVp1AQEAAAAE - Thanks Hans-Cees Speel [SME: 1623] + +* Fri Jun 16 2006 Gavin Weight 4.16.0-06 +- Removed 35imp migrate fragment. [SME: 563] + +* Mon May 15 2006 Gordon Rowell 4.16.0-05 +- Fix typo in last change [SME: 1447, SME: 103] + +* Tue May 02 2006 Charlie Brady 4.16.0-04 +- In smtp-auth-proxy.pl, don't relay client's HELO/EHLO, as some servers + (wrongly) reject more than 1. [SME: 103] + +* Wed Apr 5 2006 Gordon Rowell 4.16.0-03 +- Detect dangling pseudonyms to avoid white screen of death [SME: 1054] +- See also [SME: 762] for tools to tell you how to fix them + +* Thu Mar 16 2006 Gordon Rowell 4.16.0-02 +- Remove stray duplicate line in lexicon [SME: 824] + +* Tue Mar 14 2006 Charlie Brady 4.16.0-01 +- Roll stable stream version. [SME: 1016] + +* Mon Mar 13 2006 Gordon Rowell 4.15.4-23 +- Hide access settings if pop3/imap/webmail not installed [SME: 561] + +* Mon Mar 13 2006 Gordon Rowell 4.15.4-22 +- Remove pop3[s] defaults - now in e-smith-pop3 [SME: 561] + +* Mon Mar 13 2006 Gordon Rowell 4.15.4-21 +- Remove imap[s] defaults - now in e-smith-imap [SME: 561] + +* Tue Feb 28 2006 Charlie Brady 4.15.4-20 +- Pre-create admin's junkmail folder. [SME: 886] + +* Mon Feb 27 2006 Gavin Weight 4.15.4-19 +- Add migrate fragment to get and delete "authentication" and + move to correct "Authentication". [SME: 894] + +* Wed Feb 22 2006 Charlie Brady 4.15.4-18 +- Update forwarding address validation failure text. [SME: 824] + +* Fri Feb 17 2006 Gordon Rowell 4.15.4-17 +- Fix minor breakage in panel with last change [SME: 818] + +* Thu Feb 16 2006 Charlie Brady 4.15.4-16 +- Use $admin{ForwardAddress} in place of AdminEmail [SME: 818] + +* Sun Feb 12 2006 Charlie Brady 4.15.4-15 +- Remove some template files duplicated with e-smith-qmail RPM. [SME: 752] + +* Wed Feb 8 2006 Gavin Weight 4.15.4-14 +- Add migrate fragment to delete EXEFILES. [SME: 95] + +* Mon Feb 6 2006 Charlie Brady 4.15.4-13 +- Add cron job to purge junkmail folders - default retention time is + 90 days. [SME: 666] + +* Sun Feb 05 2006 Gavin Weight 4.15.4-12 +- No new line in imp fragment at end [SME: 563] + +* Sat Feb 04 2006 Gavin Weight 4.15.4-11 +- Add migrate fragment for imp properties [SME: 563] + +* Wed Feb 01 2006 Gavin Weight 4.15.4-10 +- Updated pseudonyms description [SME: 94] + +* Wed Feb 01 2006 Gavin Weight 4.15.4-09 +- Fixed SMTPAUTHPROXY password field as asterixis [SME: 623] + +* Fri Jan 27 2006 Gavin Weight 4.15.4-08 +- Adjusted text to reflect that SSMTP is enabled by default [SME: 419] + +* Wed Jan 25 2006 Gordon Rowell 4.15.4-07 +- Made sectionbar its own item so that it is in the right place + when the sections are hidden [SME: 561] + +* Wed Jan 25 2006 Gordon Rowell 4.15.4-06 +- Hide webmail sections if imp isn't installed +- Hide Spam filtering sections if spamassassin isn't installed +- Hide Virus scan sections if clamav isn't installed [SME: 561] + +* Fri Jan 6 2006 Gordon Rowell 4.15.4-05 +- Don't check whether the user exists when creating user@domain + pseudonyms - i.e. allow support@dom.ain even if support itself + hasn't been defined. Of course, dom.ain must exist. [SME: 368] + +* Fri Jan 6 2006 Gordon Rowell 4.15.4-04 +- Don't attempt to recreate first.last and first_last pseudonyms + in bootstrap-console-save. We create them when we create the user, + and if someone deletes them, that's their choice. [SME: 387] + +* Wed Jan 4 2006 Gordon Rowell 4.15.4-03 +- Add 'set hostname=$DomainName' to /etc/Muttrc [SME: 398] + +* Wed Nov 30 2005 Gordon Rowell 4.15.4-02 +- Bump release number only + +* Fri Oct 14 2005 Gordon Rowell +- [4.15.4-01] +- Remove L10Ns from base packages [SF: 1309520] + +* Fri Oct 14 2005 Gordon Rowell +- [4.15.3-01] +- New dev stream before relocating L10Ns + +* Fri Sep 30 2005 Gordon Rowell +- [4.15.2-41] +- Change French translation of "Weekend" to the more + universally acceptable "samedi et dimanche" [SF: 1293855] + +* Fri Sep 30 2005 Gordon Rowell +- [4.15.2-40] +- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] + +* Mon Sep 26 2005 Gordon Rowell +- [4.15.2-39] +- Cleanups to French L10N - Thanks Didier Rambeau [SF: 1293855] + +* Sun Sep 25 2005 Gordon Rowell +- [4.15.2-38] +- Actually add German L10N to correct package [SF: 1293325] + +* Sun Sep 25 2005 Gordon Rowell +- [4.15.2-37] +- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] + +* Tue Sep 13 2005 Gordon Rowell +- [4.15.2-36] +- Add configuration options for ISP SMTP AUTH to Email delivery page + [SF: 1236748] + +* Wed Sep 7 2005 Charlie Brady +- [4.15.2-35] +- Add requires header for Authen::SASL module, needed by SMTP auth + proxy. [SF: 1269111] + +* Fri Sep 2 2005 Charlie Brady +- [4.15.2-34] +- Lexicon updates. Still need more French and Spanish translation + done. [SF: 1280024] + +* Fri Sep 2 2005 Charlie Brady +- [4.15.2-33] +- Add UI toggles for private/public IMAP/IMAPS/POP/POPS. Thanks for + patch go to Michael Weinberger! [SF: 1280024] + +* Wed Aug 24 2005 Charlie Brady +- [4.15.2-32] +- Handle upstream disconnect in smtp-auth-proxy. Use more concise + proxy code, courtesy of the Perl Cookbook. [SF: 1269414] + +* Wed Aug 24 2005 Charlie Brady +- [4.15.2-31] +- Improve error reporting in smtp-auth-proxy - return 421 status, and + log config errors and upstream connect errors to stderr. [SF: 1257015] + +* Tue Aug 23 2005 Charlie Brady +- [4.15.2-30] +- Fix typo in fetchmail settings save part of panel code. [SF: 1265400] + +* Wed Aug 10 2005 Charlie Brady +- [4.15.2-29] +- Remove stray symlink from last patch. + +* Wed Aug 10 2005 Shad Lords +- [4.15.2-28] +- Remove last qmail stuff [SF: 1255261] +- Break out pop3 into its own package [SF: 1256055] +- Rename popd service to pop3 [SF: 1256055] +- Include imap database stuff [SF: 1256055] + +* Tue Aug 9 2005 Charlie Brady +- [4.15.2-27] +- Remove "Obsoletes: e-smith-qmail", and split out all qmail specific stuff. + [SF: 1255261] + +* Tue Aug 2 2005 Shad Lords +- [4.15.2-26] +- Add TCPProxyPort to specify which port to proxy [SF: 1246986] + +* Fri Jul 22 2005 Charlie Brady +- [4.15.2-25] +- Complete the update to current db access APIs - a few esmith::db and + esmith::config calls were found hiding. [SF: 1216546, 1242331] + +* Mon Jul 18 2005 Charlie Brady +- [4.15.2-24] +- Update all db access APIs to current standards. [SF: 1216546] + +* Mon Jul 18 2005 Charlie Brady +- [4.15.2-23] +- Fix pop* run scripts to find checkpassword binary via + PATH search. [SF: 1239720] +- Various further muttrc configuration changes (from Shad) [SF: 1235454] + . Fix braces + . Configure "folder" to use IMAP as well, so we see all IMAP + folders + . use URLs instead of PINE style folder names, and use imaps directly + +* Thu Jul 14 2005 Charlie Brady +- [4.15.2-22] +- Configure /etc/Muttrc to use IMAP +- And expand /etc/Muttrc at same times as /etc/pine.conf + Patch contributed by Gordon Rowell. [SF: 1235454] + +* Tue Jul 12 2005 Charlie Brady +- [4.15.2-21] +- French L10N Merci - Didier. [ SF:1227389 ] +- Add some missing Requires: headers. [SF: 1217914] + +* Tue Jun 14 2005 Charlie Brady +- [4.15.2-20] +- Add Obsoletes headers for a number of email addon packages. + [SF: 1219069] + +* Thu Jun 9 2005 Charlie Brady +- [4.15.2-19] +- Four PIF file patterns (AHhUYXgg,AMlIbDk5Lm,AMkgICAg,AHhIYW5k) and + one more EXE file pattern (TVoAACoAG) - Thanks Hans-Cees Speel + +* Fri Jun 3 2005 Charlie Brady +- [4.15.2-18] +- Another EXE file pattern TVpLRVJOR - Thanks Ray Mitchell + and Gordon Rowell. + +* Tue May 31 2005 Charlie Brady +- [4.15.2-17] +- Disable all mailpatterns by default [Gordon SF:1202391] +- Change mailpatterns database back to one pattern per entry [Gordon SF:1202391] +- Add two new EXE file patterns - Thanks Ray Mitchell + +* Tue May 24 2005 Charlie Brady +- [4.15.2-16] +- Make sure that there are empty templates-default files in the + peers/{o,local} templates directory. Fix up a couple of problems + in the pop3s run script. [SF: 1206471] + +* Wed May 18 2005 Charlie Brady +- [4.15.2-15] +- Change db lookup of spamassassin{sortspam} to spamassassin{SortSpam}. + Expand all users' .qmail files in email-update action. [SF: 1202402] + +* Fri May 13 2005 Charlie Brady +- [4.15.2-14] +- [Patch from Gordon's e-smith-email-4.15.2-13gr02] +- Add missing qmail initscript links [SF:1201092] +- Modify email-update-user to expand ~/.qmail-junkmail +- Add templates for ~/.qmail-junkmail +- This should probably be in e-smith-spamassassin, but that + would mean another perl invocation for that template + +* Thu May 5 2005 Charlie Brady +- [4.15.2-13] +- Big set of patches from Gordon Rowell. +- Show public pop/public imap/http webmail/smtp auth if they + are already enabled in that way. Otherwise, only show disabled + and the pop3s/imaps/https webmail/ssmtp auth version +- Change emailsettings.pm to store most properties in the virtual + smtpd and ssmtpd records +- Change URL in webmail text to https:// +- Various lexicon changes for consistency across the panel +- Use $db->set_prop(thing,prop,value) instead of + $db->get(thing)->set_prop(prop,value) +- TODO: The fetchmail settings could easily be done in a loop +- Don't delete DelegateMailServer when empty, just clear the value +- Changed Patterns property to PatternsScan to match VirusScan +- Added lots of defaults for smtpd and ssmtpd: + smtpd{access}: public + smtpd{Authentication}: disabled + smtpd{Instances}: 40 + smtpd{InstancesPerIP}: 5 + smtpd{PatternsScan}: disabled + smtpd{Proxy}: enabled + smtpd{status}: enabled + smtpd{TCPPort}: 25 + smtpd{type}: service + smtpd{VirusScan}: enabled + + ssmtpd{access}: public + ssmtpd{Authentication}: enabled + ssmtpd{Instances}: 10 + ssmtpd{status}: enabled + ssmtpd{TCPPort}: 465 + ssmtpd{type}: service +- Fix up masq fragment to look at smtpd{Proxy} +- Add migrate frament for smtpfront-qmail properties +- Move mailpatterns defaults to this package +- Delete duplicate Requires: line +- Fix check for smtpd{Authentication} when displaying options + +* Mon May 2 2005 Charlie Brady +- [4.15.2-12] +- Add pseudonyms fragment for virtualdomains template (missed in last + change). + +* Sun May 1 2005 Charlie Brady +- [4.15.2-11] +- [All items in this change contributed by Gordon Rowell.] +- Allow separation of mail for bob@domain1 from bob@domain2 +- To configure, enter pseudonyms of the form pseudo@domain => user + with the following restrictions: + - pseudo must be a user already configured on the server + - domain must be a domain alredy configured on the server + - pseudo may not equal user (since that's the default for all domains) +- Merged in the web interface from Shad Lords' e-smith-spamassassin + onto the E-mail filtering sub-page +- TODO: We should probably disallow this if only one domain is hosted + on the server. + +* Sun May 1 2005 Charlie Brady +- [4.15.2-10] +- [All items in this change contributed by Gordon Rowell.] +- Add e-mail filtering page +- Prepare for migration to qpsmtpd by using $SMTPD and $SSMTPD + throughout the panel code +- Changed Requires: from e-smith-mailfront to e-smith-smtpd (which + is provided by e-smith-qpsmtpd and could be by e-smith-mailfront). +- Add skeleton virus and spam scan toggles. Note that these set + options in the $SMTPD services and each virus or spam scanner can + use those as defaults and add additional options as required. For + example, if $SMTPD{VirusScan} == 'disabled', no virus scanners should + configure themselves to look at the mail. +- Make patterns status depend on any being selected, which removes a + redundant toggle + +* Thu Apr 28 2005 Charlie Brady +- [4.15.2-09] +- Drop e-smith-mailfront dependency, to allow switch to qpsmtpd + if desired. + +* Tue Apr 26 2005 Charlie Brady +- [4.15.2-08] +- Add update of PatternsStatus (patch from Gordon), and fix a few typos. + +* Tue Apr 19 2005 Charlie Brady +- [4.15.2-07] +- Add missing /var/service/qmail/down file. + +* Sun Apr 10 2005 Charlie Brady +- [4.15.2-06] +- [Patch from Gordon] +- Complete L10N of front page of emailsettings +- Move many panel option hashes into subroutines for re-use on status page +- Move executable content blocking section from subroutine to FM XML +- Open AccountsDB read-only since that's all we need +- Actually fix the evil and unsafe part of the webmail settings code +- Dormant prototype of optional display of multidrop settings regions +- Removed percent from (percent)prep in 4.9.0-01 changelog entry + to stop mezzanine/rpmbuild failures due to multiple (percent)prep + sections (sigh) + +* Thu Mar 31 2005 Charlie Brady +- [4.15.2-05] +- Add template expansion of pop service peers files to email-update, + as private/public may have changed. + +* Tue Mar 29 2005 Charlie Brady +- [4.15.2-04] +- Fix configuration of ACLs and users-assign files during bootstrap-console-save. + +* Sat Mar 26 2005 Charlie Brady +- [4.15.2-03] +- Ensure that /var/service/qmail/control/1 is executable. + +* Thu Mar 24 2005 Charlie Brady +- [4.15.2-02] +- Integrate Gordon's changes to break form up into subforms. + TODO - non-en localisations. + +* Thu Mar 24 2005 Charlie Brady +- [4.15.2-01] +- Roll new development stream - 4.15.2 + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-30] +- Avoid warning from email panel if patterns are not enabled. +- Avoid crash in panel if DelegateMailServer is being set. + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-29] +- Don't expand /var/qmail/users/assign in generic_template_expand, + as users/groups may not yet be created. Instead, combine with + qmail-newu in qmail service control/1 script. + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-28] +- Add missing templates for popd/pop3s peers files. +- Change port specification in popd run file from "pop3" to + "pop" - tcpsvd doesn't grok "pop3". + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-27] +- Use tcpsvd instead of tcpserver for popd and pop3d. Use sslio + instead of stunnel for pop3d. TODO - configurable concurrency + limits. + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-26] +- Remove now obsolete email-assign action. +- Add "Requires: runit" + +* Fri Mar 18 2005 Charlie Brady +- [4.15.1-25] +- Add missing templates.metadata file for qmail/users/assign. + +* Thu Mar 17 2005 Charlie Brady +- [4.15.1-24] +- More fixes of path for qmail service directory. + +* Thu Mar 17 2005 Charlie Brady +- [4.15.1-23] +- Fix paths for qmail service directory in filelist. + +* Thu Mar 17 2005 Charlie Brady +- [4.15.1-22] +- Move post-upgrade actions to bootstrap-console-save. + +* Wed Mar 16 2005 Charlie Brady +- [4.15.1-21] +- Include all content from e-smith-qmail (arguably lots of this + content should move to e-smith-qmail, but this is easier). +- Obsolete email-assign action. + +* Mon Mar 14 2005 Charlie Brady +- [4.15.1-20] +- Fix dangling symlink. +- Add missing exports in FormMagick::Panel::emailsettings +- Add missing templates for pop3s tcpserver cdb file. + +* Fri Mar 11 2005 Charlie Brady +- [4.15.1-19] +- Fix dangling symlinks, and add tcpserver cdb support for + popd and pop3s. + +* Fri Mar 11 2005 Charlie Brady +- [4.15.1-18] +- Fix warning from EmailUnknownUser migrate fragment. + +* Thu Mar 10 2005 Charlie Brady +- [4.15.1-17] +- Fix path to skeletal junkmail Maildir. +- Up memory limits for popd and pop3s run files. +- Add missing /var/log/pop3s directory. + +* Wed Mar 9 2005 Charlie Brady +- [4.15.1-16] +- Fix some missing checkins from previous version. + +* Wed Mar 9 2005 Charlie Brady +- [4.15.1-15] +- Fold in most of Shad's panel changes, with support for + imaps and pop3s. +- Add supervised pop3s service. +- Allow pseudonums of pseudonyms. +- Obsolete email-update-shared and email-conf actions. +- Add junkmail maildir to skeletal user dir +- Remove db entry creation code from panel code - now done + via default fragments. +- Add TCPPort property of popd (and pop3s). + +* Wed Feb 23 2005 Charlie Brady +- [4.15.1-14] +- Remove bogus dependency on sortspam. + +* Tue Jan 25 2005 Charlie Brady +- [4.15.1-13] +- Remove obsolete email-startup-links action. [MN00065651] +- Obsolete email-sighup and smtp-auth-proxy-restart by using generic + services-adjust action. Remove unused email-restart action. + Update e-smith-lib dependency. [MN00065576] + +* Mon Jan 17 2005 Charlie Brady +- [4.15.1-12] +- Remove conf-fetchmail action - done by default fragments. [MN00064329] +- Include ~alias/.qmail-default symlink in rpm. [MN00064230] +- Use generic_template_expand action where possible, in place + of specific actions. Update e-smith-lib dependency. [MN00064130] + +* Mon Jan 3 2005 Charlie Brady +- [4.15.1-11] +- Add default "abuse" pseudonym. [MN00062658] + +* Wed Dec 29 2004 Charlie Brady +- [4.15.1-10] +- Remove no longer needed conf-migrate-* actions. [charlieb MN00062545] +- Fix "Visisble" typo in default "everyone" pseudonym. [charlieb MN00046951] +- Don't restart auth proxy in bootstrap-console-save [charlieb MN00062549] + +* Mon Dec 27 2004 Charlie Brady +- [4.15.1-09] +- Untaint pseudonym before using in system(). [charlieb MN00050161] + +* Thu Nov 11 2004 Charlie Brady +- [4.15.1-08] +- Fix ownership and permissions of ~alias [charlieb MN00057000] + +* Tue Sep 28 2004 Michael Soulier +- [4.15.1-07] +- Updated requires with new perl dependencies. [msoulier MN00040240] + +* Mon Jun 21 2004 Michael Soulier +- [4.15.1-06] +- Updated requires. + +* Tue May 11 2004 Michael Soulier +- [4.15.1-05] +- Added validation to the AdminEmail field. [msoulier MN00023812] + +* Mon May 10 2004 Michael Soulier +- [4.15.1-04] +- Made filtering via SA the default preprocessing action for all email. + [msoulier MN00027881] + +* Tue May 4 2004 Michael Soulier +- [4.15.1-03] +- Added defaults fragments for all smtp-auth-proxy properties. + [msoulier 4728] + +* Tue May 4 2004 Michael Soulier +- [4.15.1-02] +- Updating dependencies. + +* Tue May 4 2004 Michael Soulier +- [4.15.1-01] +- Rolling as-source to collect patches. + +* Tue May 4 2004 Michael Soulier +- [4.15.0-07] +- Patches run script to provide FQDN in POP3 login. [msoulier dpar-27887] + +* Wed Feb 18 2004 Michael Soulier +- [4.15.0-06] +- Updated template for admin's .qmail file. [msoulier dpar-20868] + +* Tue Feb 17 2004 Michael Soulier +- [4.15.0-05] +- Updated template for home directory .qmail files to support change in + sortspam to allow .qmail files more control over mail delivery. + [msoulier dpar-20868] + +* Thu Feb 12 2004 Mark Knox +- [4.15.0-04] +- Fwd port of 10064: fixed expansion of /etc/fetchmail in email-update event + [markk 11026] + +* Mon Feb 9 2004 Michael Soulier +- [4.15.0-03] +- Updated the Requires list and fixed a couple of minor problems. + [msoulier 4728] + +* Mon Feb 9 2004 Michael Soulier +- [4.15.0-02] +- Adding Charlie's smtp-auth-proxy, and putting it under supervision. + [msoulier 4728] + +* Mon Jan 26 2004 Michael Soulier +- [4.15.0-01] +- rolling to dev - 4.15.0 + +* Sun Sep 21 2003 Charlie Brady +- [4.14.0-08] +- Remove duplicate primary domain name in multidrop fetchmail template + [charlieb 10064] + +* Wed Aug 27 2003 Michael Soulier +- [4.14.0-07] +- Added K* init symlinks to runlevels 0, 1 and 6 for popd. [msoulier 9761] + +* Fri Aug 22 2003 Michael Soulier +- [4.14.0-06] +- Removed the conditional around the SMTPProxy creation code. [msoulier 9572] +- Changed the trigger property for the SMTPProxy to "Proxy", in + smtpfront-qmail. [msoulier 9572] + +* Tue Aug 19 2003 Michael Soulier +- [4.14.0-05] +- Added an smtp-proxy db record to permit enabling/disabling of the smtp + proxy. [msoulier 9572] + +* Wed Jul 16 2003 Charlie Brady +- [4.14.0-04] +- Add junkmail maildir to skel home directory. [charlieb 9475] + +* Thu Jul 3 2003 Charlie Brady +- [4.14.0-03] +- Use qmail delivery properties to determine local delivery instructions for + admin user. [charlieb 9198, 9255] + +* Thu Jun 26 2003 Charlie Brady +- [4.14.0-02] +- Ensure that admin has a .qmail file. + [charlieb 9198] + +* Thu Jun 26 2003 Charlie Brady +- [4.14.0-01] +- Changing version to stable stream number - 4.14.0 + +* Tue Jun 24 2003 Gordon Rowell +- [4.13.0-63] +- Spanish nav bar [gordonr 9153] + +* Tue Jun 24 2003 Gordon Rowell +- [4.13.0-62] +- Added pseudonym for anonymous [gordonr 9127] + +* Thu Jun 19 2003 Charlie Brady +- [4.13.0-61] +- Fix bug with format of ETRN fetchmail invocation. [charlieb 9077] + +* Thu Jun 19 2003 Gordon Rowell +- [4.13.0-60] +- Add some defaults for fetchmail, including Method|standard + [gordonr 8921] + +* Wed Jun 11 2003 Charlie Brady +- [4.13.0-59] +- Add log/run script which was missing from last checkin. [charlieb 8903] + +* Wed Jun 11 2003 Charlie Brady +- [4.13.0-58] +- Use tcpserver/supervise rather than xinetd to handle POP connections. Need new + genfilelist to handle the permissions under /var/service. [charlieb 8903] + +* Wed Jun 4 2003 Charlie Brady +- [4.13.0-57] +- Fix devnull pre-defined alias definition. Use defaults mechanism to reserve + devnull alias. Use same mechanism for postmaster, mailer-daemon, and everyone + pseudonyms. [charlieb 6460] + +* Tue Jun 3 2003 Charlie Brady +- [4.13.0-56] +- Change default status for fetchmail to "disabled". [charlieb 8921] + +* Fri May 30 2003 Michael Soulier +- [4.13.0-55] +- Removed dangling symlink to email-startup. [msoulier 8808] + +* Tue May 20 2003 Michael Soulier +- [4.13.0-54] +- Fixed expectation of email-update-group so that it can handle user-deleted + and group-deleted. [msoulier 6414] + +* Tue May 6 2003 Lijie Deng +- [4.13.0-53] +- Add Spanish lexicon for emailsettings and pseudonyms [lijied 3793] + +* Tue Apr 29 2003 Tony Clayton +- [4.13.0-52] +- Add default db fragments for qmail/popd/fetchmail services [tonyc 8537] +- Remove dead email-startup action [tonyc 8537] + +* Mon Apr 14 2003 Michael Soulier +- [4.13.0-51] +- Changed the interface to email-update-group to accept either no second + argument, or a group or user. [msoulier 8103] + +* Mon Apr 14 2003 Michael Soulier +- [4.13.0-50] +- Removed email-update-all-groups and modified email-update-group to handle + its functionality. [msoulier 8103] + +* Mon Apr 14 2003 Charlie Brady +- [4.13.0-49] +- Remove email-relocate-maildirs action - it's moving to e-smith-imap. + [charlieb 8273] + +* Fri Apr 11 2003 Lijie Deng +- [4.13.0-48] +- Modified French button name [lijied 7921] + +* Fri Apr 11 2003 Lijie Deng +- [4.13.0-47] +- Modified button name [lijied 7921] + +* Thu Apr 10 2003 Michael Soulier +- [4.13.0-46] +- Using the createlinks script for symlink creation for consistency. + [msoulier 6414] + +* Thu Apr 10 2003 Michael Soulier +- [4.13.0-45] +- Fixed lack of & in front of addresses generated by email-update-all-groups. + [msoulier 6414] +- Fixed lack of use of processTemplate in email-update-group. [msoulier 6414] +- Added a symlink to email-update-all-groups in user-delete. [msoulier 6414] + +* Wed Apr 9 2003 Charlie Brady +- [4.13.0-44] +- Add creation of ~admin/.qmail-default symlink. Move email-update-user + action from post-upgrade to bootstrap-console-save, so it is run + at post-install as well. [charlieb 7660] + +* Tue Apr 8 2003 Lijie Deng +- [4.13.0-43] +- Modified pseudonym button name [lijied 7921] + +* Tue Apr 8 2003 Gordon Rowell +- [4.13.0-42] +- Fixed fr nav bar [gordonr 7926] + +* Mon Apr 7 2003 Charlie Brady +- [4.13.0-41] +- Change email-update-user action to loop through all users if + username not given. Link into post-upgrade action. Create + .qmail-default symlink if it doesn't already exist. + [charlieb 7609] + +* Fri Apr 4 2003 Lijie Deng +- [4.13.0-40] +- Changed $q->table to $q->start_table where necessary [lijied 8034] + +* Thu Apr 3 2003 Gordon Rowell +- [4.13.0-39] +- Missing english L10N in emailsettings [gordonr 1950] + +* Wed Apr 2 2003 Charlie Brady +- [4.13.0-38] +- Removed 'Mitel Networks SME Server' branding on emailsetting + and pseudonyms [lijied 8016] +- Changed Copyright header to License. [charlieb] +- Add local delivery options in .qmail template - use + DeliveryType and DeliveryInstruction properties of qmail. + [charlieb 2600] + +* Wed Apr 2 2003 Charlie Brady +- [4.13.0-37] +- Modify email-relocate-maildirs to ensure that Mail/junkmail + folder exists for all users. [charlieb 2600] + +* Tue Apr 1 2003 Gordon Rowell +- [4.13.0-36] +- Redirect outbound port 25 through our SMTP server [gordonr 6349] + +* Tue Apr 1 2003 Gordon Rowell +- [4.13.0-35] +- Changed to ~alias/.qmail-devnull-default [gordonr 6460] + +* Tue Apr 1 2003 Gordon Rowell +- [4.13.0-34] +- Added ~alias/.qmail-devnull [gordonr 6460] + +* Tue Apr 1 2003 Lijie Deng +- [4.13.0-33] +- Modified emailsetting en-us 'standard' trans text [lijied 7949] + +* Tue Apr 1 2003 Gordon Rowell +- [4.13.0-32] +- Fixed fr nav bar entry [gordonr 7926] + +* Mon Mar 31 2003 Mike Dickson +- [4.13.0-31] +- fixed the "Action" column to be several columns instead of one [miked 7761] + +* Mon Mar 31 2003 Gordon Rowell +- [4.13.0-30] +- Make use of sectionbar hr CSS class [gordonr 7911] + +* Mon Mar 31 2003 Gordon Rowell +- [4.13.0-29] +- And make section bars only 80% of the width to its obvious there's one + Save button for the page [gordonr 7911] + +* Fri Mar 28 2003 Gordon Rowell +- [4.13.0-28] +- Lighten section bars a little [gordonr 7911] + +* Fri Mar 28 2003 Gordon Rowell +- [4.13.0-27] +- Strengthen section headings to show blocks [gordonr 1950] + +* Fri Mar 28 2003 Gordon Rowell +- [4.13.0-26] +- Deleted dangling panel links after panel merge [gordonr 1950] + +* Fri Mar 28 2003 Gordon Rowell +- [4.13.0-25] +- Adding French L10Ns [gordonr 1950] + +* Thu Mar 27 2003 Gordon Rowell +- [4.13.0-24] +- Rearranged panel order slightly to group like items [gordonr 1950] +- Adjusted titles of the two delegate mail server (upstream/downstream) + items [gordonr 1950] +- TODO: Some missing French L10Ns (tagged in lexicon) [gordonr 1950] + +* Thu Mar 27 2003 Gordon Rowell +- [4.13.0-23] +- Deleted emailretrieval/otheremail - now merged into emailsettings + [gordonr 1950] +- Made emailsettings panel loop back to start and display + success/failure message [gordonr 1950] + +* Thu Mar 27 2003 Lijie Deng +- [4.13.0-22] +- Modified emailretrieval and emailsettings en-us text [lijied 4937] +- Modified emailretrieval and emailsettings fr-ca text [lijied 4937] + and modified the lexicons to use lang="fr", rename the lexicon + directory to fr [lijied 6787] + +* Tue Mar 25 2003 Lijie Deng +- [4.13.0-21] +- Modified emailsettings access text [lijied 4081] + +* Tue Mar 25 2003 Lijie Deng +- [4.13.0-20] +- And add panel link [gordonr 1950] +- Change page title to "E-mail settings' and nav bar to 'e-mail' + in English and French [gordonr 1950] +- Modified otheremail POP and IMAP server access text [lijied 4081] + +* Mon Mar 24 2003 Gordon Rowell +- [4.13.0-19] +- Merge emailretrieval/othermail -> emailsettings [gordonr 1950] + +* Tue Mar 18 2003 Gordon Rowell +- [4.13.0-18] +- Added [$ExternalIP] to "locals" [gordonr 6900] + +* Tue Mar 18 2003 Gordon Rowell +- [4.13.0-17] +- Deleted ./etc/{fetchmail, startmail}/template-begin, + and modified %build [lijied 3295] +- Reconfigure/reload /var/qmail/control/locals on ip-change [gordonr 6900] + +* Tue Mar 18 2003 Gordon Rowell +- [4.13.0-16] +- Broken rebuild - missing mkdir in %build + +* Fri Mar 7 2003 Lijie Deng +- [4.13.0-15] +- Modified panel order for emailretrieval,otheremail + and pseudonyms +- Modified en-us and fr-ca pseudonyms panel title [lijied 7356] + +* Tue Mar 4 2003 Lijie Deng +- [4.13.0-14] +- Split en-us lexicon from emailretrieval panel + split en-us lexicon from otheremail panel + split en-us lexicon from pseudonyms panel [lijied 4030] + +* Mon Mar 3 2003 Lijie Deng +- [4.13.0-13] +- RebuildRPM for otheremail and pseudonyms [lijied 5003] + +* Mon Mar 3 2003 Lijie Deng +- [4.13.0-12] +- RebuildRPM for emailretrival, commit missed last time [lijied 5003] + +* Fri Feb 28 2003 Charlie Brady +- [4.13.0-11] +- Added French lexicon for emailretrieval, otheremail + and pseudonyms. [lijied 5003] +- Re-do hosts.allow template to use esmith::ConfigDB::hosts_allow_spec. + Add dependency on up-to-date e-smith-lib. [charlieb 5650] +- Remove bogus mailfront dependency. + +* Tue Feb 25 2003 Charlie Brady +- [4.13.0-10] +- Convert virtualdomains template to use esmith::{Hosts,Domains}DB. + [charlieb 2670] +- Remove duplicate DomainName setting from virtualdomains template, + now that the primary domain is added to the domains db. [charlieb 2670] + +* Mon Feb 24 2003 Michael Soulier +- [4.13.0-09] +- Removed use of LocalDomainPrefix. [msoulier 4812] + +* Sat Jan 25 2003 Mike Dickson +- [4.13.0-08] +- added ACTION to the lexicon [miked 6363] + +* Wed Jan 15 2003 Charlie Brady +- [4.13.0-07] +- Change pattern match for ppp device in /etc/startmail, so that + mail collection is triggered on a PCI ISDN dialup link [charlieb 5399] +- Remove standard template-{begin,end} fragments where possible. The + default ones will be used in their place [charlieb 3295] + +* Thu Jan 9 2003 Michael Soulier +- [4.13.0-06] +- Fixed incorrect page flow behaviour. Panel now returns to start page on + completion, with a status message prefixed. [msoulier 6470] + +* Fri Dec 27 2002 Mike Dickson +- [4.13.0-05] +- minor UI updates [miked 5494] + +* Mon Dec 16 2002 Mike Dickson +- [4.13.0-04] +- UI Update, part of the tweaking for the new UI [miked 5494] + +* Mon Dec 2 2002 Mike Dickson +- [4.13.0-03] +- ui update [miked 5494] + +* Thu Nov 21 2002 Mike Dickson +- [4.13.0-02] +- update to new UI system [miked 5494] + +* Wed Nov 6 2002 Charlie Brady +- [4.13.0-01] +- Rolling development stream version to 4.13.0 + +* Tue Oct 15 2002 Charlie Brady +- [4.12.1-01] +- Roll new version to fix tagging problem + +* Tue Oct 15 2002 Gordon Rowell +- [4.12.0-02] +- If the user had a maildir called Mail/, rename it so it gets + relocated into the new directory Mail/. Attempt to relocate as + many directories as possible - only warn when directories can't + be renamed rather than calling die(). [gordonr 4767] + +* Fri Oct 11 2002 Charlie Brady +- [4.12.0-01] +- Roll to maintained version number to 4.12.0 + +* Tue Oct 8 2002 Mark Knox +- [4.11.8-05] +- Removed stray description tag [markk 5135] + +* Tue Sep 24 2002 Charlie Brady +- [4.11.8-04] +- Re-add "use esmith::util" to email-update-group - it was lost in the + esmith::AccountsDB rewrite. [charlieb 4932] + +* Mon Sep 23 2002 Charlie Brady +- [4.11.8-03] +- Fix creation of list of groups from groupname in last change [charlieb 4932] + +* Fri Sep 20 2002 Charlie Brady +- [4.11.8-02] +- Modify email-update-group to iterate over all groups during post-upgrade + event [charlieb 4932] + +* Mon Sep 9 2002 Mark Knox +- [4.11.8-01] +- Rolling to new version to fix patching problem + +* Mon Sep 9 2002 Mark Knox +- [4.11.7-06] +- Display only multidrop retrieval in private s&g mode [markk 4780] + +* Mon Sep 9 2002 Charlie Brady +- [4.11.7-05] +- Use localhost for all fetchmail local delivery [charlieb 4742] + +* Thu Sep 5 2002 Mark Knox +- [4.11.7-04] +- Remove empty description and lexicon entry [markk 4764] + +* Wed Sep 4 2002 Gordon Rowell +- [4.11.7-03] +- Relocate maildirs for all users and admin to Mail/ subdirectory + in post-upgrade event. Directories which didn't exist in Mail/ + preserve their name. Directories which conflict with an existing + directory in Mail/ become {name}.relocated and if that conflicts, + we try {name}.relocated-time(). If that conflicts, we generate a + warning to the log and give up. [gordonr 4767] + +* Fri Aug 30 2002 Charlie Brady +- [4.11.7-02] +- Update default pine configuration to deal with TLS capable imapd, + and to support a few more features. [charlieb 3669] + +* Mon Aug 19 2002 Charlie Brady +- [4.11.7-01] +- Use new adjust-masq action script to adjust packet filter, rather than + restart-masq. [charlieb 4501] + +* Fri Jul 26 2002 Charlie Brady +- [4.11.6-01] +- Return exit status from /etc/startmail if it is called, 0 otherwise. + [charlieb 4487] + +* Fri Jul 26 2002 Charlie Brady +- [4.11.5-01] +- Add missing space after --authentication option. [charlieb 3050] + +* Fri Jul 26 2002 Charlie Brady +- [4.11.4-01] +- Call /etc/startmail from email-ipup, rather than /etc/fetchmail, so that + $SMTP is set. [charlieb 4483] + +* Wed Jul 24 2002 Mark Knox +- [4.11.3-01] +- Fixed faulty display of multidrop params [markk 4453] +- Added fetch of POP password [markk 4453] + +* Wed Jul 24 2002 Gordon Rowell +- [4.11.2-01] +- Added optional property fetchmail|AuthenticationMethod, defaulting to + "password" so that people with working CRAM-MD5 or similar can still + choose that (or indeed "any" if it works for them) [gordonr 3050] + +* Wed Jul 24 2002 Gordon Rowell +- [4.11.1-01] +- Added --auth password to fetchmail call to force password + authentication [gordonr 3050] + +* Wed Jun 5 2002 Charlie Brady +- [4.11.0-01] +- Changing version to maintained stream number to 4.11.0 + +* Fri May 31 2002 Charlie Brady +- [4.10.0-01] +- Changing version to maintained stream number to 4.10.0 + +* Tue May 28 2002 Charlie Brady +- [4.9.25-01] +- Fix multi-drop sort. 'on' and 'off' were confused in "select sort + method" in the panel. [charlieb 3682] + +* Tue May 28 2002 Charlie Brady +- [4.9.24-01] +- Fix forward unknonw email to admin, which was broken in the FormMagick + conversion. [charlieb 3683] + +* Thu May 23 2002 Gordon Rowell +- [4.9.23-01] +- RPM rebuild forced by cvsroot2rpm + +* Wed May 22 2002 Gordon Rowell +- [4.9.22-01] +- Set smtp-server=localhost in pine.conf [gordonr 3567] + +* Fri May 17 2002 Mark Knox +- [4.9.21-01] +- Fixed heading on panel [markk 3516] + +* Fri May 17 2002 Mark Knox +- [4.9.20-01] +- Bold table headings [markk 3503] + +* Thu May 16 2002 Kirrily Robert +- [4.9.19-01] +- Added border to pseudonyms table [skud 3491] + +* Thu May 16 2002 Charlie Brady +- [4.9.18-01] +- Remove migration of smtpfwdd properties and init of smtpfront-qmail + service - moved to e-smith-mailfront. [charlieb 3442] +- Fix fetchmail delivery - we need to use smtphost, not smtpaddress. +- Append @$DomainName to "postmaster" for postmaster address - + fetchmail otherwise uses postmaster@a.b.c.d [charlieb 3469] +- Remove commented out SMTP address lookup in /etc/fetchmail script - + it's now passed in from /etc/startmail (and we have CVS for version + control) [ charlieb 3469]. + +* Fri May 10 2002 Gordon Rowell +- [4.9.17-01] +- Handle concurrencyremote setting of zero [gordonr 2920] + +* Mon May 6 2002 Gordon Rowell +- [4.9.16-01] +- Localise SAVE button [gordonr 3222] + +* Mon May 6 2002 Charlie Brady +- [4.9.15-01] +- Removed CVS detritus from changelog. +- Changed references to smtpd db entries to smtpfront-qmail. [charlieb 2604] +- Added blank or IP validator. Changed ip_number to new validation in + emailretrieval [markk 3317] + +* Fri May 3 2002 Mark Knox +- [4.9.14-01] +- Changed lexicon en -> en-us [markk 3320] +- Removed unused "TITLE" on first page [markk 3320] +- Added status message display on first page [markk 3320] +- Cleaned up display in IE [markk 3320] +- Localised "Everyone" [markk 3320] +- Cleaned up die calls in module for better error handling [markk 3320] + +* Thu May 2 2002 Charlie Brady +- [4.9.13-01] +- Enable smtpd service by default. Migrate status and filter properties + from smtpfwdd to smtpd service, if found. [charlieb 2604] + +* Wed May 1 2002 Gordon Rowell +- [4.9.12-01] +- esmith::AccountDB -> esmith::AccountsDB [schwern 3287] + +* Tue Apr 30 2002 Gordon Rowell +- [4.9.11-01] +- Quote fetchmail username and password [gordonr 3296] + +* Fri Apr 26 2002 Gordon Rowell +- [4.9.10-01] +- Removed /var/qmail/control/rcpthosts/template-{begin,end} [gordonr 2604] + +* Thu Apr 25 2002 Gordon Rowell +- [4.9.9-01] +- Added head/foot to pseudonyms [gordonr 3223] +- Nav bar entries to all panels [gordonr 3155] + +* Mon Apr 22 2002 Gordon Rowell +- [4.9.8-01] +- Removed bogus hard quotes on call to serviceControl [gordonr 2920] +- Changed navigation for email retrieval to "E-mail" as per + glossary [gordonr 3155] + +* Fri Apr 19 2002 Mark Knox +- [4.9.7-01] +- Changed some db->get()s to check their return values. Was causing breakage + in otheremail panel on fresh install. [markk] + +* Fri Apr 19 2002 Gordon Rowell +- [4.9.6-01] +- Allow optional qmail|ConcurrencyRemote setting which overrides the + memory sized based heuristic [gordonr 2920] + +* Fri Apr 19 2002 Mark Knox +- [4.9.5-01] +- Removed hardcoded server name and replaced with lookup of FQDN [markk 3196] + +* Thu Apr 18 2002 Mark Knox +- [4.9.4-01] +- Pass SMTP on the command line as the env is cleared [markk 3161] +- Pass LocalIP if ExternalIP doesn't exist [markk 3161] + +* Thu Apr 18 2002 Mark Knox +- [4.9.3-01] +- Extract ExternalIP in /etc/startmail and export as ENV{SMTP} to + /etc/fetchmail to avoid calling privileged commands as user qmailr + [markk 3161] + +* Mon Apr 15 2002 Gordon Rowell +- [4.9.2-01] +- Language en->en-us + +* Mon Apr 8 2002 Michael Schwern +- [4.9.1-01] +- Added i18n'd versions of emailretrieval and otheremail panels [skud 3032] + +* Fri Mar 15 2002 Charlie Brady +- [4.9.0-01] +- rollRPM: Rolled version number to 4.9.0-01. Includes patches up to 4.8.0-07. +- Removed empty directories from tarball and add code to make them in prep + section, prior to CVS import. + +* Thu Feb 14 2002 Charlie Brady +- [4.8.0-07] +- Remove the current qmail rcpthosts template and replace it with a + template directory containing zero length template-begin and template-end + files. The current template containing "not used" comments is moved + into the e-smith-obtuse-smtpd RPM. + +* Mon Jan 28 2002 Charlie Brady +- [4.8.0-06] +- Re-instate 4.8.0-02 patch. See #2677. + +* Fri Jan 18 2002 Charlie Brady +- [4.8.0-05] +- Use external IP as SMTP address when using multidrop mail, so that + external network smtpd rules are applied to address matches. We have to + fall back to LocalIP in serveronly mode, unfortunately, because we have + no other option. + +* Fri Dec 21 2001 Charlie Brady +- [4.8.0-04] +- Temporarily back out 4.8.0-02 patch, pending further verification. + +* Fri Dec 21 2001 Charlie Brady +- [4.8.0-03] +- Fix typo "smptroutes" => "smtproutes" in email-conf. + +* Wed Dec 12 2001 Charlie Brady +- [4.8.0-02] +- Fix a few problems with email-ipup script which lead to warnings being + logged. +- Trucate the changelog, which is getting very large. For earlier changelog, + see an earlier version of the package. + +* Tue Dec 11 2001 Adrian Chung +- [4.8.0-01] +- rollRPM: Rolled version number to 4.8.0-01. Includes patches up to 4.7.0-12. + +* Tue Aug 21 2001 Gordon Rowell +- [4.6.1-01] +- Rolled version number to 4.6.1-01. Includes patches upto 4.6.0-06. + +* Tue Aug 21 2001 Gordon Rowell +- [4.6.0-02..06] +- Final branding changes + +* Wed Aug 8 2001 Charlie Brady +- [4.6.0-01] +- Rolled version number to 4.6.0-01. Includes patches upto 4.5.0-20. + diff --git a/root/etc/cron.d/purge_junkmail b/root/etc/cron.d/purge_junkmail new file mode 100644 index 0000000..93c62c7 --- /dev/null +++ b/root/etc/cron.d/purge_junkmail @@ -0,0 +1,3 @@ +# Visit all user's junkmail folders, and purge old messages +# Do it late at night, but well before the backup - e.g. 11:25pm +25 23 * * * root perl /etc/e-smith/events/actions/purge-junkmail-folders diff --git a/root/etc/e-smith/db/accounts/defaults/abuse/Account b/root/etc/e-smith/db/accounts/defaults/abuse/Account new file mode 100644 index 0000000..7fbe952 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/abuse/Account @@ -0,0 +1 @@ +admin diff --git a/root/etc/e-smith/db/accounts/defaults/abuse/Removable b/root/etc/e-smith/db/accounts/defaults/abuse/Removable new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/abuse/Removable @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/accounts/defaults/abuse/type b/root/etc/e-smith/db/accounts/defaults/abuse/type new file mode 100644 index 0000000..46a9611 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/abuse/type @@ -0,0 +1 @@ +pseudonym diff --git a/root/etc/e-smith/db/accounts/defaults/anonymous/Account b/root/etc/e-smith/db/accounts/defaults/anonymous/Account new file mode 100644 index 0000000..7fbe952 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/anonymous/Account @@ -0,0 +1 @@ +admin diff --git a/root/etc/e-smith/db/accounts/defaults/anonymous/Removable b/root/etc/e-smith/db/accounts/defaults/anonymous/Removable new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/anonymous/Removable @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/accounts/defaults/anonymous/type b/root/etc/e-smith/db/accounts/defaults/anonymous/type new file mode 100644 index 0000000..46a9611 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/anonymous/type @@ -0,0 +1 @@ +pseudonym diff --git a/root/etc/e-smith/db/accounts/defaults/devnull/type b/root/etc/e-smith/db/accounts/defaults/devnull/type new file mode 100644 index 0000000..d077ed8 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/devnull/type @@ -0,0 +1 @@ +alias diff --git a/root/etc/e-smith/db/accounts/defaults/everyone/Account b/root/etc/e-smith/db/accounts/defaults/everyone/Account new file mode 100644 index 0000000..8a205e8 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/everyone/Account @@ -0,0 +1 @@ +shared diff --git a/root/etc/e-smith/db/accounts/defaults/everyone/Changeable b/root/etc/e-smith/db/accounts/defaults/everyone/Changeable new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/everyone/Changeable @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/accounts/defaults/everyone/Removable b/root/etc/e-smith/db/accounts/defaults/everyone/Removable new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/everyone/Removable @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/accounts/defaults/everyone/Visible b/root/etc/e-smith/db/accounts/defaults/everyone/Visible new file mode 100644 index 0000000..ce83b25 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/everyone/Visible @@ -0,0 +1 @@ +internal diff --git a/root/etc/e-smith/db/accounts/defaults/everyone/type b/root/etc/e-smith/db/accounts/defaults/everyone/type new file mode 100644 index 0000000..46a9611 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/everyone/type @@ -0,0 +1 @@ +pseudonym diff --git a/root/etc/e-smith/db/accounts/defaults/mailer-daemon/Account b/root/etc/e-smith/db/accounts/defaults/mailer-daemon/Account new file mode 100644 index 0000000..7fbe952 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/mailer-daemon/Account @@ -0,0 +1 @@ +admin diff --git a/root/etc/e-smith/db/accounts/defaults/mailer-daemon/Removable b/root/etc/e-smith/db/accounts/defaults/mailer-daemon/Removable new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/mailer-daemon/Removable @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/accounts/defaults/mailer-daemon/type b/root/etc/e-smith/db/accounts/defaults/mailer-daemon/type new file mode 100644 index 0000000..46a9611 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/mailer-daemon/type @@ -0,0 +1 @@ +pseudonym diff --git a/root/etc/e-smith/db/accounts/defaults/postmaster/Account b/root/etc/e-smith/db/accounts/defaults/postmaster/Account new file mode 100644 index 0000000..7fbe952 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/postmaster/Account @@ -0,0 +1 @@ +admin diff --git a/root/etc/e-smith/db/accounts/defaults/postmaster/Removable b/root/etc/e-smith/db/accounts/defaults/postmaster/Removable new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/postmaster/Removable @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/accounts/defaults/postmaster/type b/root/etc/e-smith/db/accounts/defaults/postmaster/type new file mode 100644 index 0000000..46a9611 --- /dev/null +++ b/root/etc/e-smith/db/accounts/defaults/postmaster/type @@ -0,0 +1 @@ +pseudonym diff --git a/root/etc/e-smith/db/accounts/migrate/20migrate_typo b/root/etc/e-smith/db/accounts/migrate/20migrate_typo new file mode 100644 index 0000000..6c4fe77 --- /dev/null +++ b/root/etc/e-smith/db/accounts/migrate/20migrate_typo @@ -0,0 +1,13 @@ +{ + # Migrate any value from Visisble property. :) + my $everyone = $DB->get('everyone'); + if ($everyone) + { + my $visible = $everyone->prop('Visisble'); + if ($visible) + { + $everyone->set_prop('Visible', $visible); + $everyone->delete_prop('Visisble'); + } + } +} diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqOffice b/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqOffice new file mode 100644 index 0000000..c69dae3 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqOffice @@ -0,0 +1 @@ +every15min diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqOutside b/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqOutside new file mode 100644 index 0000000..c69dae3 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqOutside @@ -0,0 +1 @@ +every15min diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqWeekend b/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqWeekend new file mode 100644 index 0000000..c69dae3 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/FreqWeekend @@ -0,0 +1 @@ +every15min diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/Method b/root/etc/e-smith/db/configuration/defaults/fetchmail/Method new file mode 100644 index 0000000..a6a7b9c --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/Method @@ -0,0 +1 @@ +standard diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailAccount b/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailAccount new file mode 100644 index 0000000..753907a --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailAccount @@ -0,0 +1 @@ +popaccount diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailPassword b/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailPassword new file mode 100644 index 0000000..ddbf078 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailPassword @@ -0,0 +1 @@ +poppassword diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailServer b/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailServer new file mode 100644 index 0000000..1309ddc --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/SecondaryMailServer @@ -0,0 +1 @@ +mail.myisp.xxx diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/status b/root/etc/e-smith/db/configuration/defaults/fetchmail/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/configuration/defaults/fetchmail/type b/root/etc/e-smith/db/configuration/defaults/fetchmail/type new file mode 100644 index 0000000..24e1098 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/fetchmail/type @@ -0,0 +1 @@ +service diff --git a/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Debug b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Debug new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Debug @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Passwd b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Passwd new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Passwd @@ -0,0 +1 @@ + diff --git a/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Userid b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Userid new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/Userid @@ -0,0 +1 @@ + diff --git a/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/status b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/type b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/type new file mode 100644 index 0000000..24e1098 --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/smtp-auth-proxy/type @@ -0,0 +1 @@ +service diff --git a/root/etc/e-smith/db/configuration/defaults/spamassassin/MessageRetentionTime b/root/etc/e-smith/db/configuration/defaults/spamassassin/MessageRetentionTime new file mode 100644 index 0000000..d61f00d --- /dev/null +++ b/root/etc/e-smith/db/configuration/defaults/spamassassin/MessageRetentionTime @@ -0,0 +1 @@ +90 diff --git a/root/etc/e-smith/db/configuration/migrate/10EmailUnknownUser b/root/etc/e-smith/db/configuration/migrate/10EmailUnknownUser new file mode 100644 index 0000000..ac3fd7b --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/10EmailUnknownUser @@ -0,0 +1,5 @@ +{ + my $e = $DB->get_value("EmailUnknownUser"); + $DB->set_value("EmailUnknownUser",'returntosender') + if (defined $e && $e eq 'return'); +} diff --git a/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Blacklist b/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Blacklist new file mode 100644 index 0000000..211df33 --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Blacklist @@ -0,0 +1,8 @@ +{ + my $MD5Patch = $DB->get_prop_and_delete('smtp-auth-proxy','MD5Patch') or return; + + if ($MD5Patch eq 'enabled') + { + $DB->set_prop('smtp-auth-proxy','Blacklist', 'CRAM-MD5 DIGEST-MD5'); + } +} diff --git a/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug b/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug new file mode 100644 index 0000000..3130663 --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/20smtp-auth-proxy-Debug @@ -0,0 +1,5 @@ +{ + my $debug = $DB->get_prop('smtp-auth-proxy','Debug') or return; + + $DB->set_prop('smtp-auth-proxy','Debug', 'disabled') if $debug eq 0; +} diff --git a/root/etc/e-smith/db/configuration/migrate/20smtpProxy b/root/etc/e-smith/db/configuration/migrate/20smtpProxy new file mode 100644 index 0000000..0aedc8f --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/20smtpProxy @@ -0,0 +1,13 @@ +{ +# In SME Server 7 smtpd Proxy used 'enabled'. +# In SME Server 8 the UI uses enabled but the configuration value is transparent. +# This migrate fragment is needed to allow upgrades from SME Server 7. + + my $proxy = $DB->get_prop('qpsmtpd','Proxy') or return; + + if ($proxy eq 'enabled') + { + $DB->set_prop('qpsmtpd','Proxy', 'blocked'); + $DB->set_prop('qpsmtpd','Authentication', 'enabled'); + } +} diff --git a/root/etc/e-smith/db/configuration/migrate/20smtpd-auth b/root/etc/e-smith/db/configuration/migrate/20smtpd-auth new file mode 100644 index 0000000..4efa5d7 --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/20smtpd-auth @@ -0,0 +1,7 @@ +{ + my $qpsmtpd = $DB->get('qpsmtpd') or return; + + my $auth = $DB->get_prop_and_delete('qpsmtpd','authentication') or return; + + $qpsmtpd->merge_props('Authentication',$auth); +} diff --git a/root/etc/e-smith/db/configuration/migrate/20smtpfront-qmail b/root/etc/e-smith/db/configuration/migrate/20smtpfront-qmail new file mode 100644 index 0000000..38226b6 --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/20smtpfront-qmail @@ -0,0 +1,12 @@ +{ + my $mailfront = $DB->get("smtpfront-qmail") or return; + + my $qpsmtpd = $DB->get("qpsmtpd") || + $DB->new_record("qpsmtpd", { type => "service" }); + + $qpsmtpd->merge_props($mailfront->props); + + $qpsmtpd->delete_prop($_) for ( qw(Patterns PatternsFile) ); + + $mailfront->delete; +} diff --git a/root/etc/e-smith/db/configuration/migrate/30popd b/root/etc/e-smith/db/configuration/migrate/30popd new file mode 100644 index 0000000..64db66c --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/30popd @@ -0,0 +1,10 @@ +{ + my $popd = $DB->get("popd") or return; + + my $pop3 = $DB->get("pop3") || + $DB->new_record("pop3", { type => "service" }); + + $pop3->merge_props($popd->props); + + $popd->delete; +} diff --git a/root/etc/e-smith/db/configuration/migrate/35enableImap b/root/etc/e-smith/db/configuration/migrate/35enableImap new file mode 100644 index 0000000..0784501 --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/35enableImap @@ -0,0 +1,10 @@ +{ + +my $imap = $DB->get('imap') || + $DB->new_record('imap', {type => 'service'}); +my $status = $imap->prop('status') || 'disabled'; +return "" if ($status eq 'enabled'); +$imap->set_prop('status', 'enabled'); +$imap->set_prop('access', 'localhost'); + +} diff --git a/root/etc/e-smith/db/configuration/migrate/40change-variable-access-to-httpsonly b/root/etc/e-smith/db/configuration/migrate/40change-variable-access-to-httpsonly new file mode 100644 index 0000000..8bcf7f5 --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/40change-variable-access-to-httpsonly @@ -0,0 +1,14 @@ +{ + my $hordessl = $DB->get_prop('horde', 'access') or return; + if ($hordessl eq 'SSL') + { + $DB->set_prop('horde',"HttpsOnly", "yes" ); + $DB->set_prop('horde',"access", "public" ); + } + elsif ($hordessl eq 'full') + { + $DB->set_prop('horde',"HttpsOnly", "no" ); + $DB->set_prop('horde',"access", "public" ); + } +} + diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Body b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Body new file mode 100644 index 0000000..f3ec8ec --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Body @@ -0,0 +1 @@ +AHhIYW5k diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Description b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Description new file mode 100644 index 0000000..25abf65 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Description @@ -0,0 +1 @@ +PIF file (AHhIYW5k) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Glob b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Status b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/type b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhIYW5k/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Body b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Body new file mode 100644 index 0000000..6088390 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Body @@ -0,0 +1 @@ +AHhUYXgg diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Description b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Description new file mode 100644 index 0000000..e950e3d --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Description @@ -0,0 +1 @@ +PIF file (AHhUYXgg) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Glob b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Status b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/type b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AHhUYXgg/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Body b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Body new file mode 100644 index 0000000..ee381cf --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Body @@ -0,0 +1 @@ +AMkgICAg diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Description b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Description new file mode 100644 index 0000000..e1d7ac3 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Description @@ -0,0 +1 @@ +PIF file (AMkgICAg) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Glob b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Status b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/type b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMkgICAg/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Body b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Body new file mode 100644 index 0000000..4d0bf4e --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Body @@ -0,0 +1 @@ +AMlIbDk5Lm diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Description b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Description new file mode 100644 index 0000000..13aec22 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Description @@ -0,0 +1 @@ +PIF file (AMlIbDk5Lm) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Glob b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Status b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/type b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/AMlIbDk5Lm/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Body b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Body new file mode 100644 index 0000000..cd15a35 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Body @@ -0,0 +1 @@ +R0lGODlhaAA7APcAAP///+rp6puSp6GZrDUjUUc6Zn53mFJMdbGvvVtXh2xre8bF1x8cU4yLprOy diff --git a/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Description b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Description new file mode 100644 index 0000000..c9028cf --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Description @@ -0,0 +1 @@ +GIF file from old virus diff --git a/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Glob b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/GIF01/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Status b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/GIF01/type b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/GIF01/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Body new file mode 100644 index 0000000..59c491f --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Body @@ -0,0 +1 @@ +TVoFAQUAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Description new file mode 100644 index 0000000..89292e3 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Description @@ -0,0 +1 @@ +PC executables (TVoAAAAAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAAAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Body new file mode 100644 index 0000000..1cfe7f9 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Body @@ -0,0 +1 @@ +TVoAAAEAAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Description new file mode 100644 index 0000000..8bf44ef --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Description @@ -0,0 +1 @@ +PC executables (TVoAAAEAAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAEAAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Body new file mode 100644 index 0000000..5b1f401 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Body @@ -0,0 +1 @@ +TVoAAAQAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Description new file mode 100644 index 0000000..db12a0b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Description @@ -0,0 +1 @@ +PC executables (TVoAAAQAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAAQAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Body new file mode 100644 index 0000000..9fefdd6 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Body @@ -0,0 +1 @@ +TVoAACoAG diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Description new file mode 100644 index 0000000..6018d2a --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Description @@ -0,0 +1 @@ +PC executables (TVoAACoAG) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/type b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAACoAG/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Body new file mode 100644 index 0000000..59c491f --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Body @@ -0,0 +1 @@ +TVoFAQUAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Description new file mode 100644 index 0000000..c805d95 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Description @@ -0,0 +1 @@ +PC executables (TVoAAD8AA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoAAD8AA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Body new file mode 100644 index 0000000..59c491f --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Body @@ -0,0 +1 @@ +TVoFAQUAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Description new file mode 100644 index 0000000..37efe71 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Description @@ -0,0 +1 @@ +PC executables (TVoFAQUAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoFAQUAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Body new file mode 100644 index 0000000..c4cc8b1 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Body @@ -0,0 +1 @@ +TVoIARMAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Description new file mode 100644 index 0000000..685daf2 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Description @@ -0,0 +1 @@ +PC executables (TVoIARMAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVoIARMAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Body new file mode 100644 index 0000000..ec00477 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Body @@ -0,0 +1 @@ +TVouARsAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Description new file mode 100644 index 0000000..97ff46e --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Description @@ -0,0 +1 @@ +PC executables (TVouARsAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVouARsAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Body new file mode 100644 index 0000000..e5a690c --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Body @@ -0,0 +1 @@ +TVp1AQEAAAAE diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Description new file mode 100644 index 0000000..62f3e51 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Description @@ -0,0 +1 @@ +PC executables (TVp1AQEAAAAE) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/type b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVp1AQEAAAAE/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Body new file mode 100644 index 0000000..d992507 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Body @@ -0,0 +1 @@ +TVpAALQAc diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Description new file mode 100644 index 0000000..dcfce25 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Description @@ -0,0 +1 @@ +PC executables (TVpAALQAc) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/type b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpAALQAc/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Body new file mode 100644 index 0000000..9fe9227 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Body @@ -0,0 +1 @@ +TVpLRVJOR diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Description new file mode 100644 index 0000000..4acd909 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Description @@ -0,0 +1 @@ +PC executables (TVpLRVJOR) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/type b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpLRVJOR/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Body new file mode 100644 index 0000000..30f840f --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Body @@ -0,0 +1 @@ +TVpQAAIAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Description new file mode 100644 index 0000000..07644df --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Description @@ -0,0 +1 @@ +PC executables (TVpQAAIAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpQAAIAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Body new file mode 100644 index 0000000..3ca98d4 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Body @@ -0,0 +1 @@ +TVpyAXkAX diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Description new file mode 100644 index 0000000..c00c5dc --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Description @@ -0,0 +1 @@ +PC executables (TVpyAXkAX) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/type b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVpyAXkAX/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Body new file mode 100644 index 0000000..23e7ac8 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Body @@ -0,0 +1 @@ +TVqQAAMAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Description new file mode 100644 index 0000000..368cc7d --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Description @@ -0,0 +1 @@ +PC executables (TVqQAAMAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqQAAMAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Body new file mode 100644 index 0000000..0205879 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Body @@ -0,0 +1 @@ +TVqgAAEAAAAFAAAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Description new file mode 100644 index 0000000..12ce410 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Description @@ -0,0 +1 @@ +PC executables (TVqgAAEAAAAFAAAA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVqgAAEAAAAFAAAA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Body new file mode 100644 index 0000000..6464a94 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Body @@ -0,0 +1 @@ +TVrQAT8AA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Description new file mode 100644 index 0000000..0d2dfe9 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Description @@ -0,0 +1 @@ +PC executables (TVrQAT8AA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrQAT8AA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Body new file mode 100644 index 0000000..51a5104 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Body @@ -0,0 +1 @@ +TVrhARwAk diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Description new file mode 100644 index 0000000..135a966 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Description @@ -0,0 +1 @@ +PC executables (TVrhARwAk) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/type b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrhARwAk/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Body b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Body new file mode 100644 index 0000000..c5f6292 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Body @@ -0,0 +1 @@ +TVrmAU4AA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Description b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Description new file mode 100644 index 0000000..062a385 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Description @@ -0,0 +1 @@ +PC executables (TVrmAU4AA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Status b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/type b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/TVrmAU4AA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Body b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Body new file mode 100644 index 0000000..7a84356 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Body @@ -0,0 +1 @@ +UmFyIRoHA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Description b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Description new file mode 100644 index 0000000..2c76f9c --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Description @@ -0,0 +1 @@ +Rar archive (UmFyIRoHA) diff --git a/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Glob b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Status b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/type b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/UmFyIRoHA/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Body b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Body new file mode 100644 index 0000000..f197028 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Body @@ -0,0 +1 @@ +UEsDBAoAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Description b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Description new file mode 100644 index 0000000..2e34cd3 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Description @@ -0,0 +1 @@ +Zip archive data, at least v1.0 to extract diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Glob b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Status b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/type b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV1/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Body b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Body new file mode 100644 index 0000000..b6d9b51 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Body @@ -0,0 +1 @@ +UEsDBBQAA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Description b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Description new file mode 100644 index 0000000..777d143 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Description @@ -0,0 +1 @@ +Zip archive data, at least v2.0 to extract diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Glob b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Status b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/type b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV2/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Body b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Body new file mode 100644 index 0000000..58d93ad --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Body @@ -0,0 +1 @@ +UEsDBBQDA diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Description b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Description new file mode 100644 index 0000000..ef9a765 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Description @@ -0,0 +1 @@ +Zip archive data, variant 3 diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Glob b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Status b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/type b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPV3/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Body b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Body new file mode 100644 index 0000000..52d6bad --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Body @@ -0,0 +1 @@ +UEsDBBQAC diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Description b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Description new file mode 100644 index 0000000..727f4d6 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Description @@ -0,0 +1 @@ +Zip archive data, created on OSX diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Glob b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Glob new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Glob @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/LineStart b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/LineStart new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/LineStart @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Status b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/Status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/type b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/type new file mode 100644 index 0000000..5477494 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/defaults/ZIPVOSX/type @@ -0,0 +1 @@ +pattern diff --git a/root/etc/e-smith/db/mailpatterns/migrate/00openRW b/root/etc/e-smith/db/mailpatterns/migrate/00openRW new file mode 100644 index 0000000..2c2b16c --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/migrate/00openRW @@ -0,0 +1,3 @@ +{ + $DB = esmith::ConfigDB->open(${DB_FILENAME}); +} diff --git a/root/etc/e-smith/db/mailpatterns/migrate/05exefiles b/root/etc/e-smith/db/mailpatterns/migrate/05exefiles new file mode 100644 index 0000000..2decec3 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/migrate/05exefiles @@ -0,0 +1,5 @@ +{ + my $exefiles = $DB->get('EXEFILES') or return; + + $exefiles->delete; +} diff --git a/root/etc/e-smith/db/mailpatterns/migrate/06status b/root/etc/e-smith/db/mailpatterns/migrate/06status new file mode 100644 index 0000000..4eac318 --- /dev/null +++ b/root/etc/e-smith/db/mailpatterns/migrate/06status @@ -0,0 +1,5 @@ +{ + #fix typo; we use Status for this db , not status + $DB->get_prop_and_delete( 'UmFyIRoHA', 'status' ); +} + diff --git a/root/etc/e-smith/events/actions/email-ipup b/root/etc/e-smith/events/actions/email-ipup new file mode 100644 index 0000000..41473f2 --- /dev/null +++ b/root/etc/e-smith/events/actions/email-ipup @@ -0,0 +1,44 @@ +#!/usr/bin/perl -w + +#---------------------------------------------------------------------- +# copyright (C) 2001-2005 Mitel Networks Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +#---------------------------------------------------------------------- +use strict; + +package esmith; +use Errno; +use esmith::ConfigDB; + +# Run fetchmail if required +my $fetchmail = esmith::ConfigDB->open_ro->get('fetchmail') or + die "Could not get fetchmail record from config db"; + +exit 0 if ($fetchmail->prop('NoIPUP')); + +my $status = $fetchmail->prop('status') || "disabled"; +exit 0 unless ($status eq "enabled"); + +my $EmailRetrieval = $fetchmail->prop('Method') || 'standard'; + +exit 0 unless ($EmailRetrieval =~ /^(etrn|multidrop)$/); + +exit 0 if ( ($fetchmail->prop('FreqOffice') eq 'never') and + ($fetchmail->prop('FreqOutside') eq 'never') and + ($fetchmail->prop('FreqWeekend') eq 'never') ); + +exec("/etc/startmail"); diff --git a/root/etc/e-smith/events/actions/fetchmail-migrate-fetchids b/root/etc/e-smith/events/actions/fetchmail-migrate-fetchids new file mode 100644 index 0000000..c6fda34 --- /dev/null +++ b/root/etc/e-smith/events/actions/fetchmail-migrate-fetchids @@ -0,0 +1,13 @@ +#!/usr/bin/perl + +my $original_file = "/run/lock/fetchmail/.fetchids"; +my $new_file = "/var/lib/fetchmail/.fetchids"; + +exit 0 if ( -f $new_file ) ; +exit 0 unless ( -f $original_file ) ; +while ( -f "/run/lock/fetchmail/fetchmail.pid" ) { + print "waiting for fetchmail to finish"; + sleep 10; +} + +system("/usr/bin/mv $original_file $new_file") == 0 or warn "The move $original_file to $new_file operation failed: $!"; diff --git a/root/etc/e-smith/events/actions/purge-junkmail-folders b/root/etc/e-smith/events/actions/purge-junkmail-folders new file mode 100644 index 0000000..bf794d4 --- /dev/null +++ b/root/etc/e-smith/events/actions/purge-junkmail-folders @@ -0,0 +1,67 @@ +#!/usr/bin/perl -w +#---------------------------------------------------------------------- +# copyright (C) 1999-2007 Mitel Networks Corporation +#---------------------------------------------------------------------- + +use strict; + +use esmith::ConfigDB; +use esmith::AccountsDB; +use User::pwent; +use File::Find; + +sub purgedir; + +my $db = esmith::ConfigDB->open_ro or + die("Could not open config db");; +my $adb = esmith::AccountsDB->open_ro or + die("Could not open accounts db");; + +my $sa = $db->get('spamassassin') or + die("Could not get spamassassin record from config db\n"); + +my $age = $sa->prop('MessageRetentionTime') || '0'; + +exit 0 unless $age; + +my @users = ("admin", map { $_->key } $adb->users); + +foreach my $user ( @users ) +{ + my $pwent = getpwnam($user) + or die "Couldn't get password entry for $user\n"; + + chdir $pwent->dir or die "Couldn't chdir " . $pwent->dir . ":$!\n"; + + unless (chdir "Maildir/.junkmail") + { + warn("Couldn't chdir to junkmail folder of user $user: $!\n"); + next; + } + foreach my $dir (qw(new tmp cur)) + { + if (-d $dir) + { + purgedir($dir, $age); + } + else + { + warn("Somebody has been fiddling - ~$user/Maildir/.junkmail/$dir is missing\n"); + } + } +} +exit 0; + +sub purgedir +{ + # Unlink all files in dir $dir which are more than $age days old + my ($dir, $age) = @_; + + use DirHandle; + + my $dh = DirHandle->new($dir); + unlink grep { -M > $age } # choose files older than $age days + grep { -f } # Choose only plain files + map { "$dir/$_" } # create full paths + $dh->read; +} diff --git a/root/etc/e-smith/events/actions/update-user-pseudonyms b/root/etc/e-smith/events/actions/update-user-pseudonyms new file mode 100644 index 0000000..a0de247 --- /dev/null +++ b/root/etc/e-smith/events/actions/update-user-pseudonyms @@ -0,0 +1,107 @@ +#!/usr/bin/perl -w + +#---------------------------------------------------------------------- +# copyright (C) 1999-2005 Mitel Networks Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +#---------------------------------------------------------------------- + +package esmith; + +use strict; +use Errno; + +use esmith::AccountsDB; +my $adb = esmith::AccountsDB->open(); + +#------------------------------------------------------------ +# This program should be called by the post-upgrade or post-restore +# events. It will add missing First.Last and First_Last pseudonyms +# for users that don't already have them. It should be called AFTER +# the update-uids action. +#------------------------------------------------------------ + +sub byUid +{ + $a->prop('Uid') <=> $b->prop('Uid'); +} + +sub makePseudonyms ($$) +{ + #------------------------------------------------------------ + # Generate First.Last and First_Last pseudonyms + #------------------------------------------------------------ + + my ($firstName, $lastName) = @_; + + my $dot_pseudonym = "$firstName $lastName"; + + $dot_pseudonym =~ s/^\s+//; # Strip leading whitespace + $dot_pseudonym =~ s/\s+$//; # Strip trailing whitespace + $dot_pseudonym =~ s/\s+/ /g; # Multiple spaces become single spaces + $dot_pseudonym =~ s/\s/./g; # Change all spaces to dots + $dot_pseudonym = lc $dot_pseudonym; # Change to lower case + + my $underbar_pseudonym = $dot_pseudonym; + $underbar_pseudonym =~ s/\./_/g; # Change dots to underbars + + return ($dot_pseudonym, $underbar_pseudonym); +} + +########################################################################### + +# Handle each of the users. Process each user account in order of +# increasing user id. This will hopefully preserve the order in which they +# were created thereby ensuring seniority in the creation of pseudonyms. + +my %users; + +foreach my $account ( sort byUid $adb->users ) +{ + my $firstName = $account->prop('FirstName'); + my $lastName = $account->prop('LastName'); + + my ($dot_pseudonym, $underbar_pseudonym) + = makePseudonyms($firstName, $lastName); + + my $a = $adb->get($dot_pseudonym); + if (defined $a) + { + my $user = $a->prop('Account'); + + warn "$dot_pseudonym pseudonym is assigned to $user instead of " . + $account->key . ".\n" if ($user ne $account->key) + } + else + { + $adb->new_record($dot_pseudonym, { type => 'pseudonym', Account => $account->key }); + } + + $a = $adb->get($underbar_pseudonym); + if (defined $a) + { + my $user = $a->prop('Account'); + + warn "$underbar_pseudonym pseudonym is assigned to $user instead of " . + $account->key . ".\n" if ($user ne $account->key) + } + else + { + $adb->new_record($underbar_pseudonym, { type => 'pseudonym', Account => $account->key }); + } +} + +exit (0); diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings new file mode 100755 index 0000000..252c6f9 --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/emailsettings @@ -0,0 +1,524 @@ + + + + FORM_TITLE + E-mail settings + + + E-mail + E-mail + + + SUCCESS + The new e-mail settings have been saved. + + + NEVER + not at all + + + EVERY5MIN + Every 5 minutes + + + EVERY15MIN + Every 15 minutes + + + EVERY30MIN + Every 30 minutes + + + EVERYHOUR + Every hour + + + EVERY2HRS + Every 2 hours + + + STANDARD + Standard (SMTP) + + + ETRN + ETRN (SMTP with client request) + + + DEFAULT + Default + + + SPECIFY_BELOW + Specify below + + + MULTIDROP + multi-drop + + + LABEL_MODE + E-mail retrieval mode + + + DESC_MODE + + The e-mail retrieval mode can be set to + standard (for dedicated Internet connections), ETRN (recommended + for dialup connections), or multi-drop (for dialup connections if + ETRN is not supported by your Internet provider). Note that + multi-drop mode is the only option available when the server is + configured in private server and gateway mode. + + + + LABEL_DELEGATE + Address of internal mail server + + + DESC_DELEGATE + +

Delegate mail servers

Your + server includes a complete, full-featured e-mail server. However, + if for some reason you wish to delegate e-mail processing to + another system, specify the IP address of the delegate system + here. For normal operation, leave this field blank. + ]]> +
+
+ + LABEL_SECONDARY + Secondary mail server + + + DESC_SECONDARY + +

ETRN or multi-drop settings

For + ETRN or multi-drop, specify the hostname or IP address of your + secondary mail server. (If using the standard e-mail setup, this + field can be left blank.) + ]]> +
+
+ + DESC_FETCH_PERIOD + + For ETRN or multi-drop, you can control how frequently this server + contacts your secondary e-mail server to fetch e-mail. More + frequent connections mean that you receive your e-mail more + quickly, but also cause Internet requests to be sent more often, + possibly increasing your phone and Internet charges. + + + + LABEL_FETCH_PERIOD + During office hours (8:00 AM to 6:00 PM) on weekdays + + + LABEL_FETCH_PERIOD_NIGHTS + Outside office hours (6:00 PM to 8:00 AM) on weekdays + + + LABEL_FETCH_PERIOD_WEEKENDS + During the weekend + + + DESC_POP_ACCOUNT + + For multi-drop e-mail, specify the POP user account and password. + (If using standard or ETRN e-mail, these fields can be blank.) + Also, for multi-drop, you can either use the default mail sorting + method, or you can specify a particular message header to use for + mail sorting. + + + + LABEL_POP_PASS + POP user password (for multi-drop) + + + + LABEL_POP_ACCOUNT + POP user account (for multi-drop) + + + LABEL_SORT_METHOD + Select sort method (for multi-drop) + + + + LABEL_SORT_HEADER + Select sort header (for multi-drop) + + + LABEL_FETCH_PROTO + Protocol (for multi-drop) + + + LABEL_FETCH_SECURE + Tunnel over SSL (for multi-drop) + + + AUTO + Automatic + + + ENABLED_BOTH + Allow both HTTP and HTTPS + + + ENABLED_SECURE_ONLY + Allow HTTPS (secure) + + + ONLY_LOCAL_NETWORK_SSL + Allow HTTPS (secure) from local networks + + + INSECURE_POP3 + Allow both POP3 and POP3S + + + ALLOW_PRIVATE + Allow private + + + SECURE_POP3 + Allow private and public (secure POP3S) + + + INSECURE_IMAP + Allow both IMAP and IMAPS + + + SECURE_IMAP + Allow private and public (secure IMAPS) + + + INSECURE_SMTP + Allow both SMTP and SSMTP + + + SECURE_SMTP + Allow SSMTP (secure) + + + LABEL_POP_ACCESS_CONTROL + POP3 server access + + + LABEL_IMAP_ACCESS_CONTROL + IMAP server access + + + LABEL_SMTP_AUTH_CONTROL + SMTP authentication + + + FORWARD_TO_ADMIN + Send to administrator + + + FORWARD_TO + Send to + + + RETURN_TO_SENDER + Reject + + + LABEL_UNKNOWN + E-mail to unknown users + + + DESC_UNKNOWN + Unknown Users + Selecting Reject (recommended setting) will configure the server to only + accept mail for valid email addresses (for example users, groups, pseudonyms). + Mail for other addresses will be rejected. + ]]> + + + + LABEL_SMARTHOST + Address of Internet provider's mail server + + + + DESC_SMARTHOST +

SMTP server

+ The server can deliver outgoing messages directly to their + destination (recommended in most cases) or can deliver them via + your Internet provider's SMTP server (recommended if you have an + unreliable Internet connection or are using a residential Internet + service). If using your Internet provider's SMTP server, specify + its hostname or IP address below. Otherwise leave this field + blank. + ]]> +
+
+ + + INVALID_SMARTHOST + + The smarthost name you entered is not a valid internet domain name + and is not blank + + + + DESC_POP_ACCESS_CONTROL + + You can control POP3 server access. The setting 'Allow access + only from local networks' allows POP3 access only from your + local network(s). The POP3S setting can be used to provide + encrypted external access to your POP3 server. We recommend + leaving this setting 'Allow access only from local networks' + unless you have a specific reason to do otherwise. + + + + DESC_IMAP_ACCESS_CONTROL + + You can control IMAP server access. The setting 'Allow access + only from local networks' allows IMAP access only from your + local network(s). The IMAPS setting can be used to provide + encrypted external access to your IMAP server. We recommend + leaving this setting 'Allow access only from local networks' + unless you have a specific reason to do otherwise. + + + + DESC_SMTP_AUTH_CONTROL + + all users to use SSL/TLS + authentication. The SMTP and SSMTP option additionally allows + STARTTLS to be used to ensure secure authentication. + ]]> + + + + DESC_WEBMAIL + + You can enable or disable webmail on this system. Webmail allows + users to access their mail through a regular web browser by + pointing the browser to https://{$FQDN}/webmail, and + logging in to their account. + + + + LABEL_WEBMAIL + Webmail access + + + LABEL_BLOCK_EXECUTABLE_CONTENT + Executable content blocking + + + LABEL_CONTENT_TO_BLOCK + Content to block + + + DESC_BLOCK_EXECUTABLE_CONTENT + + You can block executable content in e-mail attachments + by highlighting the executable attachment types you wish to + block. E-mail containing these attachment types will + be automatically returned to the sender. + + + + UNACCEPTABLE_CHARS + + This field requires a valid e-mail address, which must include + the @ symbol and a domain name. + + + + + DESC_STATE_ACCESS + + E-mail access + ]]> + + + + + DESC_STATE_ACCESS_BUTTON + + Change e-mail access settings + ]]> + + + + + DESC_STATE_RECEPTION + +

E-mail reception

+ ]]> +
+
+ + + DESC_STATE_RECEPTION_BUTTON + + Change e-mail reception settings + ]]> + + + + + DESC_STATE_DELIVERY + +

E-mail delivery

+ ]]> +
+
+ + + DESC_STATE_DELIVERY_BUTTON + + Change e-mail delivery settings + ]]> + + + + + DESC_STATE_FILTERING_BUTTON + + Change e-mail filtering settings + ]]> + + + + LABEL_VIRUS_SCAN + Virus scanning + + + + DESC_VIRUS_SCAN + + You can scan incoming and outgoing e-mail for viruses. If scanning is enabled and a virus is detected, the e-mail will be rejected and returned to the +sender. + + + + + LABEL_SPAM_SCAN + Spam filtering + + + + DESC_SPAM_SCAN + + You can scan e-mail for spam. If Spam filtering is + enabled, an X-Spam-Status: header is added to each + message, which can be used for filtering spam. + + You can adjust the sensitivity of the Spam detection + process from the default of medium. For fine-grained + control, you can set the Spam sensitivity to Custom + and then choose a custom tagging level, and + optionally a level at which to reject the message. + + + + + LABEL_SPAM_SUBJECT + SPAM subject prefix + + + + DESC_SPAM_SUBJECT + + You can enable to add a tag to the subject of each + message that is classified as SPAM. + The value for this tag can be defined below. + + + + + LABEL_SPAM_SENSITIVITY + Spam sensitivity + + + LABEL_SPAM_TAGLEVEL + Custom spam tagging level + + + LABEL_SPAM_REJECTLEVEL + Custom spam rejection level + + + LABEL_SPAM_SUBJECTTAG + Modify subject of spam messages + + + LABEL_SORTSPAM + Sort spam into junkmail folder + + + VERYHIGH + Very high + + + HIGH + High + + + MEDIUM + Medium + + + LOW + Low + + + VERYLOW + Very low + + + CUSTOM + Custom + + + + LABEL_SMARTHOST_SMTPAUTH_STATUS + SMTP Authentication for Internet provider + + + + LABEL_SMARTHOST_SMTPAUTH_USERID + Mail server user id + + + + LABEL_SMARTHOST_SMTPAUTH_PASSWD + Mail server password + + + + VALIDATION_SMTPAUTH_NONBLANK + This field cannot be left blank if SMTP Authentication is + enabled. + + +
diff --git a/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/pseudonyms b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/pseudonyms new file mode 100644 index 0000000..d430289 --- /dev/null +++ b/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/pseudonyms @@ -0,0 +1,169 @@ + + + NO_PSEUDONYMS + There are no pseudonyms in the system. ]]> + + + REMOVE_PSEUDONYM + Remove pseudonym + + + ABOUT_TO_REMOVE + + Are you sure you wish to continue? + ]]> + + + + FORM_TITLE + Create, modify, or remove pseudonyms + + + DESCRIPTION + + The server automatically creates + an e-mail alias for each group. If you want to define an e-mail + alias for a list of users, simply create a group and the + list will automatically be maintained by the server.

+ +

Pseudonyms allow you to + create other names for existing users or groups. + For example, you may wish to create a pseudonym + "webmaster" for your "webdevelopers" group or a + pseudonym "joe" for the user "joseph".

+ +

The server automatically creates pseudonyms of the form + firstname.lastname and firstname_lastname for every user + on the system and a pseudonym "everyone" which contains + all users on the system.

+ +

Pseudonyms also allow you to create e-mail aliases for valid + (virtual) domains & users. For example you can forward + "sales@virtualdomain1.com" to user "mary" and + "sales@virtualdomain2.com" to user "john". + You must create the domains and user accounts before creating + the email aliases.

+ +

Pseudonyms can also forward to other pseudonyms, although this + is limited to one further level. For example the pseudonym + "webmaster" can forward to the pseudonym "techsupport" which + then forwards to a specified user "ray". This is useful where + one user is responsible for multiple roles and saves having + to change the pseudonym's associated with that user many times + in the event that the user departs the organisation.

+ +

You can modify or remove a + pseudonym by clicking on the corresponding + command next to the pseudonym.

]]> +
+
+ + LOCAL_ONLY + (local network only) + + + SELECT_ACCOUNT + Select account or group + + + SELECT_INTERNAL + Local network only + + + CLICK_TO_CREATE + Add pseudonym + + + PSEUDONYM + Pseudonym + + + USER_OR_GROUP + User or group + + + CURRENT_PSEUDONYMS + Current List of Pseudonyms]]> + + + TITLE_CREATE + Create a pseudonym + + + DESC_PSEUDONYM_NAME + Please select an existing account or group for the pseudonym from the pulldown menu below + + + MODIFY_PSEUDONYM + Modify Pseudonym + + + PSEUDONYM_NAME + Pseudonym name + + + VALID_PSEUDONYM_NAMES + You can also create email aliases for accounts and (virtual) + domains that are valid on this server. For example + "fred@virtualdomain.com" can be forwarded to "mary" + (or to another valid user account).

+ ]]> +
+
+ + NAME_IN_USE + Error: That name is in use You cannot create a pseudonym with that name. + + + NOT_A_PSEUDONYM + That account is not a pseudonym + + + + PSEUDONYM_INVALID_DOMAIN + That domain is not hosted on this server + + + + PSEUDONYM_INVALID_NOACCT + That account is not hosted on this server + + + + PSEUDONYM_INVALID_SAMEACCT + A pseudonym cannot point to the same account + + + CREATE_SUCCEEDED + Successfully created pseudonym + + + MODIFY_SUCCEEDED + Successfully modified pseudonym + + + REMOVE_SUCCEEDED + Successfully removed pseudonym + + + EVERYONE + Everyone + + + Pseudonyms + Pseudonyms + + +
+ diff --git a/root/etc/e-smith/skel/user/Maildir/.junkmail/cur/.gitignore b/root/etc/e-smith/skel/user/Maildir/.junkmail/cur/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/e-smith/skel/user/Maildir/.junkmail/new/.gitignore b/root/etc/e-smith/skel/user/Maildir/.junkmail/new/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/e-smith/skel/user/Maildir/.junkmail/tmp/.gitignore b/root/etc/e-smith/skel/user/Maildir/.junkmail/tmp/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/etc/e-smith/templates.metadata/etc/fetchmail b/root/etc/e-smith/templates.metadata/etc/fetchmail new file mode 100644 index 0000000..8139e1e --- /dev/null +++ b/root/etc/e-smith/templates.metadata/etc/fetchmail @@ -0,0 +1,3 @@ +PERMS=0700 +UID="qmailr" +GID="nofiles" diff --git a/root/etc/e-smith/templates.metadata/etc/startmail b/root/etc/e-smith/templates.metadata/etc/startmail new file mode 100644 index 0000000..19743cd --- /dev/null +++ b/root/etc/e-smith/templates.metadata/etc/startmail @@ -0,0 +1,3 @@ +PERMS=0700 +UID="root" +GID="daemon" diff --git a/root/etc/e-smith/templates/etc/Muttrc/10Muttrc.proto b/root/etc/e-smith/templates/etc/Muttrc/10Muttrc.proto new file mode 100644 index 0000000..0e4d929 --- /dev/null +++ b/root/etc/e-smith/templates/etc/Muttrc/10Muttrc.proto @@ -0,0 +1,3493 @@ +# +# System configuration file for Mutt +# + +# default list of header fields to weed when displaying +# +ignore "from " received content- mime-version status x-status message-id +ignore sender references return-path lines + +# imitate the old search-body function +macro index \eb '/~b ' 'search in message bodies' + +# simulate the old url menu +macro index \cb |urlview\n 'call urlview to extract URLs out of a message' +macro pager \cb |urlview\n 'call urlview to extract URLs out of a message' + +# Show documentation when pressing F1 +macro generic "!less /usr/share/doc/mutt-1.4.1/manual.txt\n" "Show Mutt documentation" +macro index "!less /usr/share/doc/mutt-1.4.1/manual.txt\n" "Show Mutt documentation" +macro pager "!less /usr/share/doc/mutt-1.4.1/manual.txt\n" "Show Mutt documentation" + +# If Mutt is unable to determine your site's domain name correctly, you can +# set the default here. +# +# set hostname=cs.hmc.edu + +# If your sendmail supports the -B8BITMIME flag, enable the following +# +# set use_8bitmime + +## +## More settings +## + + +# set abort_nosubject=ask-yes +# +# Name: abort_nosubject +# Type: quadoption +# Default: ask-yes +# +# +# If set to yes, when composing messages and no subject is given +# at the subject prompt, composition will be aborted. If set to +# no, composing messages with no subject given at the subject +# prompt will never be aborted. +# +# +# set abort_unmodified=yes +# +# Name: abort_unmodified +# Type: quadoption +# Default: yes +# +# +# If set to yes, composition will automatically abort after +# editing the message body if no changes are made to the file (this +# check only happens after the first edit of the file). When set +# to no, composition will never be aborted. +# +# +# set alias_file="~/.muttrc" +# +# Name: alias_file +# Type: path +# Default: "~/.muttrc" +# +# +# The default file in which to save aliases created by the +# ``create-alias'' function. +# +# Note: Mutt will not automatically source this file; you must +# explicitly use the ``source'' command for it to be executed. +# +# +# set alias_format="%4n %2f %t %-10a %r" +# +# Name: alias_format +# Type: string +# Default: "%4n %2f %t %-10a %r" +# +# +# Specifies the format of the data displayed for the `alias' menu. The +# following printf(3)-style sequences are available: +# +# %a alias name +# %f flags - currently, a "d" for an alias marked for deletion +# %n index number +# %r address which alias expands to +# %t character which indicates if the alias is tagged for inclusion +# +# +# set allow_8bit=yes +# +# Name: allow_8bit +# Type: boolean +# Default: yes +# +# +# Controls whether 8-bit data is converted to 7-bit using either Quoted- +# Printable or Base64 encoding when sending mail. +# +# +# set allow_ansi=no +# +# Name: allow_ansi +# Type: boolean +# Default: no +# +# +# Controls whether ANSI color codes in messages (and color tags in +# rich text messages) are to be interpreted. +# Messages containing these codes are rare, but if this option is set, +# their text will be colored accordingly. Note that this may override +# your color choices, and even present a security problem, since a +# message could include a line like "[-- PGP output follows ..." and +# give it the same color as your attachment color. +# +# +# set alternates="" +# +# Name: alternates +# Type: regular expression +# Default: "" +# +# +# A regexp that allows you to specify alternate addresses where +# you receive mail. This affects Mutt's idea about messages from you +# and addressed to you. +# +# +# set arrow_cursor=no +# +# Name: arrow_cursor +# Type: boolean +# Default: no +# +# +# When set, an arrow (``->'') will be used to indicate the current entry +# in menus instead of hiliting the whole line. On slow network or modem +# links this will make response faster because there is less that has to +# be redrawn on the screen when moving to the next or previous entries +# in the menu. +# +# +# set ascii_chars=no +# +# Name: ascii_chars +# Type: boolean +# Default: no +# +# +# If set, Mutt will use plain ASCII characters when displaying thread +# and attachment trees, instead of the default ACS characters. +# +# +# set askbcc=no +# +# Name: askbcc +# Type: boolean +# Default: no +# +# +# If set, Mutt will prompt you for blind-carbon-copy (Bcc) recipients +# before editing an outgoing message. +# +# +# set askcc=no +# +# Name: askcc +# Type: boolean +# Default: no +# +# +# If set, Mutt will prompt you for carbon-copy (Cc) recipients before +# editing the body of an outgoing message. +# +# +# set attach_format="%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] " +# +# Name: attach_format +# Type: string +# Default: "%u%D%I %t%4n %T%.40d%> [%.7m/%.10M, %.6e%?C?, %C?, %s] " +# +# +# This variable describes the format of the `attachment' menu. The +# following printf-style sequences are understood: +# +# %D deleted flag +# %d description +# %e MIME content-transfer-encoding +# %f filename +# %I disposition (I=inline, A=attachment) +# %m major MIME type +# %M MIME subtype +# %n attachment number +# %s size +# %t tagged flag +# %u unlink (=to delete) flag +# %>X right justify the rest of the string and pad with character "X" +# %|X pad to the end of the line with character "X" +# +# +# set attach_sep="\n" +# +# Name: attach_sep +# Type: string +# Default: "\n" +# +# +# The separator to add between attachments when operating (saving, +# printing, piping, etc) on a list of tagged attachments. +# +# +# set attach_split=yes +# +# Name: attach_split +# Type: boolean +# Default: yes +# +# +# If this variable is unset, when operating (saving, printing, piping, +# etc) on a list of tagged attachments, Mutt will concatenate the +# attachments and will operate on them as a single attachment. The +# ``$attach_sep'' separator is added after each attachment. When set, +# Mutt will operate on the attachments one by one. +# +# +# set attribution="On %d, %n wrote:" +# +# Name: attribution +# Type: string +# Default: "On %d, %n wrote:" +# +# +# This is the string that will precede a message which has been included +# in a reply. For a full listing of defined printf()-like sequences see +# the section on ``$index_format''. +# +# +# set autoedit=no +# +# Name: autoedit +# Type: boolean +# Default: no +# +# +# When set along with ``$edit_headers'', Mutt will skip the initial +# send-menu and allow you to immediately begin editing the body of your +# message. The send-menu may still be accessed once you have finished +# editing the body of your message. +# +# Also see ``$fast_reply''. +# +# +# set auto_tag=no +# +# Name: auto_tag +# Type: boolean +# Default: no +# +# +# When set, functions in the index menu which affect a message +# will be applied to all tagged messages (if there are any). When +# unset, you must first use the tag-prefix function (default: ";") to +# make the next function apply to all tagged messages. +# +# +# set beep=yes +# +# Name: beep +# Type: boolean +# Default: yes +# +# +# When this variable is set, mutt will beep when an error occurs. +# +# +# set beep_new=no +# +# Name: beep_new +# Type: boolean +# Default: no +# +# +# When this variable is set, mutt will beep whenever it prints a message +# notifying you of new mail. This is independent of the setting of the +# ``$beep'' variable. +# +# +# set bounce_delivered=yes +# +# Name: bounce_delivered +# Type: boolean +# Default: yes +# +# +# When this variable is set, mutt will include Delivered-To headers when +# bouncing messages. Postfix users may wish to unset this variable. +# +# +# set charset="" +# +# Name: charset +# Type: string +# Default: "" +# +# +# Character set your terminal uses to display and enter textual data. +# +# +# set check_new=yes +# +# Name: check_new +# Type: boolean +# Default: yes +# +# +# Note: this option only affects maildir and MH style +# mailboxes. +# +# When set, Mutt will check for new mail delivered while the +# mailbox is open. Especially with MH mailboxes, this operation can +# take quite some time since it involves scanning the directory and +# checking each file to see if it has already been looked at. If +# check_new is unset, no check for new mail is performed +# while the mailbox is open. +# +# +# set collapse_unread=yes +# +# Name: collapse_unread +# Type: boolean +# Default: yes +# +# +# When unset, Mutt will not collapse a thread if it contains any +# unread messages. +# +# +# set uncollapse_jump=no +# +# Name: uncollapse_jump +# Type: boolean +# Default: no +# +# +# When set, Mutt will jump to the next unread message, if any, +# when the current thread is uncollapsed. +# +# +# set compose_format="-- Mutt: Compose [Approx. msg size: %l Atts: %a]%>-" +# +# Name: compose_format +# Type: string +# Default: "-- Mutt: Compose [Approx. msg size: %l Atts: %a]%>-" +# +# +# Controls the format of the status line displayed in the \fCompose +# menu. This string is similar to ``$status_format'', but has its own +# set of printf()-like sequences: +# +# %a total number of attachments +# %h local hostname +# %l approximate size (in bytes) of the current message +# %v Mutt version string +# +# +# See the text describing the ``$status_format'' option for more +# information on how to set ``$compose_format''. +# +# +# set confirmappend=yes +# +# Name: confirmappend +# Type: boolean +# Default: yes +# +# +# When set, Mutt will prompt for confirmation when appending messages to +# an existing mailbox. +# +# +# set confirmcreate=yes +# +# Name: confirmcreate +# Type: boolean +# Default: yes +# +# +# When set, Mutt will prompt for confirmation when saving messages to a +# mailbox which does not yet exist before creating it. +# +# +# set connect_timeout=30 +# +# Name: connect_timeout +# Type: number +# Default: 30 +# +# +# Causes Mutt to timeout a network connection (for IMAP or POP) after this +# many seconds if the connection is not able to be established. A negative +# value causes Mutt to wait indefinitely for the connection to succeed. +# +# +# set copy=yes +# +# Name: copy +# Type: quadoption +# Default: yes +# +# +# This variable controls whether or not copies of your outgoing messages +# will be saved for later references. Also see ``$record'', +# ``$save_name'', ``$force_name'' and ``fcc-hook''. +# +# +# set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z" +# +# Name: date_format +# Type: string +# Default: "!%a, %b %d, %Y at %I:%M:%S%p %Z" +# +# +# This variable controls the format of the date printed by the ``%d'' +# sequence in ``$index_format''. This is passed to the strftime +# call to process the date. See the man page for strftime(3) for +# the proper syntax. +# +# Unless the first character in the string is a bang (``!''), the month +# and week day names are expanded according to the locale specified in +# the variable ``$locale''. If the first character in the string is a +# bang, the bang is discarded, and the month and week day names in the +# rest of the string are expanded in the C locale (that is in US +# English). +# +# +# set default_hook="~f %s !~P | (~P ~C %s)" +# +# Name: default_hook +# Type: string +# Default: "~f %s !~P | (~P ~C %s)" +# +# +# This variable controls how send-hooks, message-hooks, save-hooks, +# and fcc-hooks will +# be interpreted if they are specified with only a simple regexp, +# instead of a matching pattern. The hooks are expanded when they are +# declared, so a hook will be interpreted according to the value of this +# variable at the time the hook is declared. The default value matches +# if the message is either from a user matching the regular expression +# given, or if it is from you (if the from address matches +# ``$alternates'') and is to or cc'ed to a user matching the given +# regular expression. +# +# +# set delete=ask-yes +# +# Name: delete +# Type: quadoption +# Default: ask-yes +# +# +# Controls whether or not messages are really deleted when closing or +# synchronizing a mailbox. If set to yes, messages marked for +# deleting will automatically be purged without prompting. If set to +# no, messages marked for deletion will be kept in the mailbox. +# +# +# set delete_untag=yes +# +# Name: delete_untag +# Type: boolean +# Default: yes +# +# +# If this option is set, mutt will untag messages when marking them +# for deletion. This applies when you either explicitly delete a message, +# or when you save it to another folder. +# +# +# set digest_collapse=yes +# +# Name: digest_collapse +# Type: boolean +# Default: yes +# +# +# If this option is set, mutt's revattach menu will not show the subparts of +# individual messages in a digest. To see these subparts, press 'v' on that menu. +# +# +# set display_filter="" +# +# Name: display_filter +# Type: path +# Default: "" +# +# +# When set, specifies a command used to filter messages. When a message +# is viewed it is passed as standard input to $display_filter, and the +# filtered message is read from the standard output. +# +# +# set dsn_notify="" +# +# Name: dsn_notify +# Type: string +# Default: "" +# +# +# Note: you should not enable this unless you are using Sendmail +# 8.8.x or greater. +# +# This variable sets the request for when notification is returned. The +# string consists of a comma separated list (no spaces!) of one or more +# of the following: never, to never request notification, +# failure, to request notification on transmission failure, +# delay, to be notified of message delays, success, to be +# notified of successful transmission. +# +# Example: set dsn_notify="failure,delay" +# +# +# set dsn_return="" +# +# Name: dsn_return +# Type: string +# Default: "" +# +# +# Note: you should not enable this unless you are using Sendmail +# 8.8.x or greater. +# +# This variable controls how much of your message is returned in DSN +# messages. It may be set to either hdrs to return just the +# message header, or full to return the full message. +# +# Example: set dsn_return=hdrs +# +# +# set duplicate_threads=yes +# +# Name: duplicate_threads +# Type: boolean +# Default: yes +# +# +# This variable controls whether mutt, when sorting by threads, threads +# messages with the same message-id together. If it is set, it will indicate +# that it thinks they are duplicates of each other with an equals sign +# in the thread diagram. +# +# +# set edit_headers=no +# +# Name: edit_headers +# Type: boolean +# Default: no +# +# +# This option allows you to edit the header of your outgoing messages +# along with the body of your message. +# +# +# set editor="" +# +# Name: editor +# Type: path +# Default: "" +# +# +# This variable specifies which editor is used by mutt. +# It defaults to the value of the VISUAL, or EDITOR, environment +# variable, or to the string "vi" if neither of those are set. +# +# +# set encode_from=no +# +# Name: encode_from +# Type: boolean +# Default: no +# +# +# When set, mutt will quoted-printable encode messages when +# they contain the string "From " in the beginning of a line. +# Useful to avoid the tampering certain mail delivery and transport +# agents tend to do with messages. +# +# +# set envelope_from=no +# +# Name: envelope_from +# Type: boolean +# Default: no +# +# +# When set, mutt will try to derive the message's envelope +# sender from the "From:" header. Note that this information is passed +# to sendmail command using the "-f" command line switch, so don't set this +# option if you are using that switch in $sendmail yourself, +# or if the sendmail on your machine doesn't support that command +# line switch. +# +# +# set escape="~" +# +# Name: escape +# Type: string +# Default: "~" +# +# +# Escape character to use for functions in the builtin editor. +# +# +# set fast_reply=no +# +# Name: fast_reply +# Type: boolean +# Default: no +# +# +# When set, the initial prompt for recipients and subject are skipped +# when replying to messages, and the initial prompt for subject is +# skipped when forwarding messages. +# +# Note: this variable has no effect when the ``$autoedit'' +# variable is set. +# +# +# set fcc_attach=yes +# +# Name: fcc_attach +# Type: boolean +# Default: yes +# +# +# This variable controls whether or not attachments on outgoing messages +# are saved along with the main body of your message. +# +# +# set fcc_clear=no +# +# Name: fcc_clear +# Type: boolean +# Default: no +# +# +# When this variable is set, FCCs will be stored unencrypted and +# unsigned, even when the actual message is encrypted and/or signed. +# +# +# set folder="~/Mail" +# +# Name: folder +# Type: path +# Default: "~/Mail" +# +# +# Specifies the default location of your mailboxes. A `+' or `=' at the +# beginning of a pathname will be expanded to the value of this +# variable. Note that if you change this variable from the default +# value you need to make sure that the assignment occurs before +# you use `+' or `=' for any other variables since expansion takes place +# during the `set' command. +# +# +# set folder_format="%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" +# +# Name: folder_format +# Type: string +# Default: "%2C %t %N %F %2l %-8.8u %-8.8g %8s %d %f" +# +# +# This variable allows you to customize the file browser display to your +# personal taste. This string is similar to ``$index_format'', but has +# its own set of printf()-like sequences: +# +# %C current file number +# %d date/time folder was last modified +# %f filename +# %F file permissions +# %g group name (or numeric gid, if missing) +# %l number of hard links +# %N N if folder has new mail, blank otherwise +# %s size in bytes +# %t * if the file is tagged, blank otherwise +# %u owner name (or numeric uid, if missing) +# %>X right justify the rest of the string and pad with character "X" +# %|X pad to the end of the line with character "X" +# +# +# set followup_to=yes +# +# Name: followup_to +# Type: boolean +# Default: yes +# +# +# Controls whether or not the Mail-Followup-To header field is +# generated when sending mail. When set, Mutt will generate this +# field when you are replying to a known mailing list, specified with +# the ``subscribe'' or ``lists'' commands. +# +# This field has two purposes. First, preventing you from receiving +# duplicate copies of replies to messages which you send to mailing +# lists. Second, ensuring that you do get a reply separately for any +# messages sent to known lists to which you are not subscribed. The +# header will contain only the list's address for subscribed lists, +# and both the list address and your own email address for unsubscribed +# lists. Without this header, a group reply to your message sent to a +# subscribed list will be sent to both the list and your address, +# resulting in two copies of the same email for you. +# +# +# set force_name=no +# +# Name: force_name +# Type: boolean +# Default: no +# +# +# This variable is similar to ``$save_name'', except that Mutt will +# store a copy of your outgoing message by the username of the address +# you are sending to even if that mailbox does not exist. +# +# Also see the ``$record'' variable. +# +# +# set forward_decode=yes +# +# Name: forward_decode +# Type: boolean +# Default: yes +# +# +# Controls the decoding of complex MIME messages into text/plain when +# forwarding a message. The message header is also RFC2047 decoded. +# This variable is only used, if ``$mime_forward'' is unset, +# otherwise ``$mime_forward_decode'' is used instead. +# +# +# set forward_format="[%a: %s]" +# +# Name: forward_format +# Type: string +# Default: "[%a: %s]" +# +# +# This variable controls the default subject when forwarding a message. +# It uses the same format sequences as the ``$index_format'' variable. +# +# +# set forward_quote=no +# +# Name: forward_quote +# Type: boolean +# Default: no +# +# +# When set forwarded messages included in the main body of the +# message (when ``$mime_forward'' is unset) will be quoted using +# ``$indent_string''. +# +# +# set from="" +# +# Name: from +# Type: e-mail address +# Default: "" +# +# +# When set, this variable contains a default from address. It +# can be overridden using my_hdr (including from send-hooks) and +# ``$reverse_name''. +# +# Defaults to the EMAIL environment variable's content. +# +# +# set gecos_mask="^[^,]*" +# +# Name: gecos_mask +# Type: regular expression +# Default: "^[^,]*" +# +# +# A regular expression used by mutt to parse the GECOS field of a password +# entry when expanding the alias. By default the regular expression is set +# to "^[^,]*" which will return the string up to the first "," encountered. +# If the GECOS field contains a string like "lastname, firstname" then you +# should set the gecos_mask=".*". +# +# This can be useful if you see the following behavior: you address a e-mail +# to user ID stevef whose full name is Steve Franklin. If mutt expands +# stevef to "Franklin" stevef@foo.bar then you should set the gecos_mask to +# a regular expression that will match the whole name so mutt will expand +# "Franklin" to "Franklin, Steve". +# +# +# set hdrs=yes +# +# Name: hdrs +# Type: boolean +# Default: yes +# +# +# When unset, the header fields normally added by the ``my_hdr'' +# command are not created. This variable must be unset before +# composing a new message or replying in order to take effect. If set, +# the user defined header fields are added to every new message. +# +# +# set header=no +# +# Name: header +# Type: boolean +# Default: no +# +# +# When set, this variable causes Mutt to include the header +# of the message you are replying to into the edit buffer. +# The ``$weed'' setting applies. +# +# +# set help=yes +# +# Name: help +# Type: boolean +# Default: yes +# +# +# When set, help lines describing the bindings for the major functions +# provided by each menu are displayed on the first line of the screen. +# +# Note: The binding will not be displayed correctly if the +# function is bound to a sequence rather than a single keystroke. Also, +# the help line may not be updated if a binding is changed while Mutt is +# running. Since this variable is primarily aimed at new users, neither +# of these should present a major problem. +# +# +# set hidden_host=no +# +# Name: hidden_host +# Type: boolean +# Default: no +# +# +# When set, mutt will skip the host name part of ``$hostname'' variable +# when adding the domain part to addresses. This variable does not +# affect the generation of Message-IDs, and it will not lead to the +# cut-off of first-level domains. +# +# +# set hide_limited=no +# +# Name: hide_limited +# Type: boolean +# Default: no +# +# +# When set, mutt will not show the presence of missing messages in the +# thread tree. +# +# +# set hide_missing=yes +# +# Name: hide_missing +# Type: boolean +# Default: yes +# +# +# When set, mutt will not show the presence of messages that are hidden +# by limiting, in the thread tree. +# +# +# set hide_top_limited=no +# +# Name: hide_top_limited +# Type: boolean +# Default: no +# +# +# When set, mutt will not show the presence of missing messages at the +# top of threads in the thread tree. Note that when $hide_limited is +# set, this option will have no effect. +# +# +# set hide_top_missing=yes +# +# Name: hide_top_missing +# Type: boolean +# Default: yes +# +# +# When set, mutt will not show the presence of messages that are hidden +# by limiting, at the top of threads in the thread tree.Note that when +# $hide_missing is set, this option will have no effect. +# +# +# set history=10 +# +# Name: history +# Type: number +# Default: 10 +# +# +# This variable controls the size (in number of strings remembered) of +# the string history buffer. The buffer is cleared each time the +# variable is set. +# +# +# set honor_followup_to=yes +# +# Name: honor_followup_to +# Type: quadoption +# Default: yes +# +# +# This variable controls whether or not a Mail-Followup-To header is +# honored when group-replying to a message. +# +# +# set hostname="" +# +# Name: hostname +# Type: string +# Default: "" +# +# +# Specifies the hostname to use after the ``@'' in local e-mail +# addresses. This overrides the compile time definition obtained from +# /etc/resolv.conf. +# +# +# set ignore_list_reply_to=no +# +# Name: ignore_list_reply_to +# Type: boolean +# Default: no +# +# +# Affects the behaviour of the reply function when replying to +# messages from mailing lists. When set, if the ``Reply-To:'' field is +# set to the same value as the ``To:'' field, Mutt assumes that the +# ``Reply-To:'' field was set by the mailing list to automate responses +# to the list, and will ignore this field. To direct a response to the +# mailing list when this option is set, use the list-reply +# function; group-reply will reply to both the sender and the +# list. +# +# +# set imap_authenticators="" +# +# Name: imap_authenticators +# Type: string +# Default: "" +# +# +# This is a colon-delimited list of authentication methods mutt may +# attempt to use to log in to an IMAP server, in the order mutt should +# try them. Authentication methods are either 'login' or the right +# side of an IMAP 'AUTH=xxx' capability string, eg 'digest-md5', +# 'gssapi' or 'cram-md5'. This parameter is case-insensitive. If this +# parameter is unset (the default) mutt will try all available methods, +# in order from most-secure to least-secure. +# +# Example: set imap_authenticators="gssapi:cram-md5:login" +# +# Note: Mutt will only fall back to other authentication methods if +# the previous methods are unavailable. If a method is available but +# authentication fails, mutt will not connect to the IMAP server. +# +# +# set imap_delim_chars="/." +# +# Name: imap_delim_chars +# Type: string +# Default: "/." +# +# +# This contains the list of characters which you would like to treat +# as folder separators for displaying IMAP paths. In particular it +# helps in using the '=' shortcut for your folder variable. +# +# +# set imap_force_ssl=no +# +# Name: imap_force_ssl +# Type: boolean +# Default: no +# +# +# If this variable is set, Mutt will always use SSL when +# connecting to IMAP servers. +# +# +# set imap_home_namespace="" +# +# Name: imap_home_namespace +# Type: string +# Default: "" +# +# +# You normally want to see your personal folders alongside +# your INBOX in the IMAP browser. If you see something else, you may set +# this variable to the IMAP path to your folders. +# +# +# set imap_keepalive=900 +# +# Name: imap_keepalive +# Type: number +# Default: 900 +# +# +# This variable specifies the maximum amount of time in seconds that mutt +# will wait before polling open IMAP connections, to prevent the server +# from closing them before mutt has finished with them. The default is +# well within the RFC-specified minimum amount of time (30 minutes) before +# a server is allowed to do this, but in practice the RFC does get +# violated every now and then. Reduce this number if you find yourself +# getting disconnected from your IMAP server due to inactivity. +# +# +# set imap_list_subscribed=no +# +# Name: imap_list_subscribed +# Type: boolean +# Default: no +# +# +# This variable configures whether IMAP folder browsing will look for +# only subscribed folders or all folders. This can be toggled in the +# IMAP browser with the toggle-subscribed function. +# +# +# set imap_pass="" +# +# Name: imap_pass +# Type: string +# Default: "" +# +# +# Specifies the password for your IMAP account. If unset, Mutt will +# prompt you for your password when you invoke the fetch-mail function. +# Warning: you should only use this option when you are on a +# fairly secure machine, because the superuser can read your muttrc even +# if you are the only one who can read the file. +# +# +# set imap_passive=yes +# +# Name: imap_passive +# Type: boolean +# Default: yes +# +# +# When set, mutt will not open new IMAP connections to check for new +# mail. Mutt will only check for new mail over existing IMAP +# connections. This is useful if you don't want to be prompted to +# user/password pairs on mutt invocation, or if opening the connection +# is slow. +# +# +# set imap_peek=yes +# +# Name: imap_peek +# Type: boolean +# Default: yes +# +# +# If set, mutt will avoid implicitly marking your mail as read whenever +# you fetch a message from the server. This is generally a good thing, +# but can make closing an IMAP folder somewhat slower. This option +# exists to appease speed freaks. +# +# +# set imap_servernoise=yes +# +# Name: imap_servernoise +# Type: boolean +# Default: yes +# +# +# When set, mutt will display warning messages from the IMAP +# server as error messages. Since these messages are often +# harmless, or generated due to configuration problems on the +# server which are out of the users' hands, you may wish to suppress +# them at some point. +# +# +# set imap_user="" +# +# Name: imap_user +# Type: string +# Default: "" +# +# +# Your login name on the IMAP server. +# +# This variable defaults to your user name on the local machine. +# +# +# set implicit_autoview=no +# +# Name: implicit_autoview +# Type: boolean +# Default: no +# +# +# If set to ``yes'', mutt will look for a mailcap entry with the +# copiousoutput flag set for every MIME attachment it doesn't have +# an internal viewer defined for. If such an entry is found, mutt will +# use the viewer defined in that entry to convert the body part to text +# form. +# +# +# set include=ask-yes +# +# Name: include +# Type: quadoption +# Default: ask-yes +# +# +# Controls whether or not a copy of the message(s) you are replying to +# is included in your reply. +# +# +# set indent_string="> " +# +# Name: indent_string +# Type: string +# Default: "> " +# +# +# Specifies the string to prepend to each line of text quoted in a +# message to which you are replying. You are strongly encouraged not to +# change this value, as it tends to agitate the more fanatical netizens. +# +# +# set index_format="%4C %Z %\{%b %d\} %-15.15L (%4l) %s" +# +# Name: index_format +# Type: string +# Default: "%4C %Z %\{%b %d\} %-15.15L (%4l) %s" +# +# +# This variable allows you to customize the message index display to +# your personal taste. +# +# ``Format strings'' are similar to the strings used in the ``C'' +# function printf to format output (see the man page for more detail). +# The following sequences are defined in Mutt: +# +# %a address of the author +# %b filename of the original message folder (think mailBox) +# %B the list to which the letter was sent, or else the folder name (%b). +# %c number of characters (bytes) in the message +# %C current message number +# %d date and time of the message in the format specified by +# ``date_format'' converted to sender's time zone +# %D date and time of the message in the format specified by +# ``date_format'' converted to the local time zone +# %e current message number in thread +# %E number of messages in current thread +# %f entire From: line (address + real name) +# %F author name, or recipient name if the message is from you +# %i message-id of the current message +# %l number of lines in the message +# %L If an address in the To or CC header field matches an address +# defined by the users ``lists'' command, this displays +# "To ", otherwise the same as %F. +# %m total number of message in the mailbox +# %M number of hidden messages if the thread is collapsed. +# %N message score +# %n author's real name (or address if missing) +# %O (_O_riginal save folder) Where mutt would formerly have +# stashed the message: list name or recipient name if no list +# %s subject of the message +# %S status of the message (N/D/d/!/r/*) +# %t `to:' field (recipients) +# %T the appropriate character from the $to_chars string +# %u user (login) name of the author +# %v first name of the author, or the recipient if the message is from you +# %y `x-label:' field, if present +# %Y `x-label' field, if present, and (1) not at part of a thread tree, +# (2) at the top of a thread, or (3) `x-label' is different from +# preceding message's `x-label'. +# %Z message status flags +# %\{fmt\} the date and time of the message is converted to sender's +# time zone, and ``fmt'' is expanded by the library function +# ``strftime''; a leading bang disables locales +# %[fmt] the date and time of the message is converted to the local +# time zone, and ``fmt'' is expanded by the library function +# ``strftime''; a leading bang disables locales +# %(fmt) the local date and time when the message was received. +# ``fmt'' is expanded by the library function ``strftime''; +# a leading bang disables locales +# % the current local time. ``fmt'' is expanded by the library +# function ``strftime''; a leading bang disables locales. +# %>X right justify the rest of the string and pad with character "X" +# %|X pad to the end of the line with character "X" +# +# +# See also: ``$to_chars''. +# +# +# set ispell="/usr/bin/ispell" +# +# Name: ispell +# Type: path +# Default: "/usr/bin/ispell" +# +# +# How to invoke ispell (GNU's spell-checking software). +# +# +# set keep_flagged=no +# +# Name: keep_flagged +# Type: boolean +# Default: no +# +# +# If set, read messages marked as flagged will not be moved +# from your spool mailbox to your ``$mbox'' mailbox, or as a result of +# a ``mbox-hook'' command. +# +# +# set locale="C" +# +# Name: locale +# Type: string +# Default: "C" +# +# +# The locale used by strftime(3) to format dates. Legal values are +# the strings your system accepts for the locale variable LC_TIME. +# +# +# set mail_check=5 +# +# Name: mail_check +# Type: number +# Default: 5 +# +# +# This variable configures how often (in seconds) mutt should look for +# new mail. +# +# +# set mailcap_path="" +# +# Name: mailcap_path +# Type: string +# Default: "" +# +# +# This variable specifies which files to consult when attempting to +# display MIME bodies not directly supported by Mutt. +# +# +# set mailcap_sanitize=yes +# +# Name: mailcap_sanitize +# Type: boolean +# Default: yes +# +# +# If set, mutt will restrict possible characters in mailcap % expandos +# to a well-defined set of safe characters. This is the safe setting, +# but we are not sure it doesn't break some more advanced MIME stuff. +# +# DON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE +# DOING! +# +# +# set maildir_trash=no +# +# Name: maildir_trash +# Type: boolean +# Default: no +# +# +# If set, messages marked as deleted will be saved with the maildir +# (T)rashed flag instead of unlinked. NOTE: this only applies +# to maildir-style mailboxes. Setting it will have no effect on other +# mailbox types. +# +# +# set mark_old=yes +# +# Name: mark_old +# Type: boolean +# Default: yes +# +# +# Controls whether or not Mutt makes the distinction between new +# messages and old unread messages. By default, Mutt will +# mark new messages as old if you exit a mailbox without reading them. +# The next time you start Mutt, the messages will show up with an "O" +# next to them in the index menu, indicating that they are old. In +# order to make Mutt treat all unread messages as new only, you can +# unset this variable. +# +# +# set markers=yes +# +# Name: markers +# Type: boolean +# Default: yes +# +# +# Controls the display of wrapped lines in the internal pager. If set, a +# ``+'' marker is displayed at the beginning of wrapped lines. Also see +# the ``$smart_wrap'' variable. +# +# +# set mask="!^\\.[^.]" +# +# Name: mask +# Type: regular expression +# Default: "!^\\.[^.]" +# +# +# A regular expression used in the file browser, optionally preceded by +# the not operator ``!''. Only files whose names match this mask +# will be shown. The match is always case-sensitive. +# +# +# set mbox="~/mbox" +# +# Name: mbox +# Type: path +# Default: "~/mbox" +# +# +# This specifies the folder into which read mail in your ``$spoolfile'' +# folder will be appended. +# +# +# set mbox_type=mbox +# +# Name: mbox_type +# Type: folder magic +# Default: mbox +# +# +# The default mailbox type used when creating new folders. May be any of +# mbox, MMDF, MH and Maildir. +# +# +# set metoo=no +# +# Name: metoo +# Type: boolean +# Default: no +# +# +# If unset, Mutt will remove your address (see the ``$alternates'' +# variable) from the list of recipients when replying to a message. +# +# +# set menu_scroll=no +# +# Name: menu_scroll +# Type: boolean +# Default: no +# +# +# When set, menus will be scrolled up or down one line when you +# attempt to move across a screen boundary. If unset, the screen +# is cleared and the next or previous page of the menu is displayed +# (useful for slow links to avoid many redraws). +# +# +# set meta_key=no +# +# Name: meta_key +# Type: boolean +# Default: no +# +# +# If set, forces Mutt to interpret keystrokes with the high bit (bit 8) +# set as if the user had pressed the ESC key and whatever key remains +# after having the high bit removed. For example, if the key pressed +# has an ASCII value of 0xf4, then this is treated as if the user had +# pressed ESC then ``x''. This is because the result of removing the +# high bit from ``0xf4'' is ``0x74'', which is the ASCII character +# ``x''. +# +# +# set mh_purge=no +# +# Name: mh_purge +# Type: boolean +# Default: no +# +# +# When unset, mutt will mimic mh's behaviour and rename deleted messages +# to , in mh folders instead of really deleting +# them. If the variable is set, the message files will simply be +# deleted. +# +# +# set mh_seq_flagged="flagged" +# +# Name: mh_seq_flagged +# Type: string +# Default: "flagged" +# +# +# The name of the MH sequence used for flagged messages. +# +# +# set mh_seq_replied="replied" +# +# Name: mh_seq_replied +# Type: string +# Default: "replied" +# +# +# The name of the MH sequence used to tag replied messages. +# +# +# set mh_seq_unseen="unseen" +# +# Name: mh_seq_unseen +# Type: string +# Default: "unseen" +# +# +# The name of the MH sequence used for unseen messages. +# +# +# set mime_forward=no +# +# Name: mime_forward +# Type: quadoption +# Default: no +# +# +# When set, the message you are forwarding will be attached as a +# separate MIME part instead of included in the main body of the +# message. This is useful for forwarding MIME messages so the receiver +# can properly view the message as it was delivered to you. If you like +# to switch between MIME and not MIME from mail to mail, set this +# variable to ask-no or ask-yes. +# +# Also see ``$forward_decode'' and ``$mime_forward_decode''. +# +# +# set mime_forward_decode=no +# +# Name: mime_forward_decode +# Type: boolean +# Default: no +# +# +# Controls the decoding of complex MIME messages into text/plain when +# forwarding a message while ``$mime_forward'' is set. Otherwise +# ``$forward_decode'' is used instead. +# +# +# set mime_forward_rest=yes +# +# Name: mime_forward_rest +# Type: quadoption +# Default: yes +# +# +# When forwarding multiple attachments of a MIME message from the recvattach +# menu, attachments which cannot be decoded in a reasonable manner will +# be attached to the newly composed message if this option is set. +# +# +# set mix_entry_format="%4n %c %-16s %a" +# +# Name: mix_entry_format +# Type: string +# Default: "%4n %c %-16s %a" +# +# +# This variable describes the format of a remailer line on the mixmaster +# chain selection screen. The following printf-like sequences are +# supported: +# +# %n The running number on the menu. +# %c Remailer capabilities. +# %s The remailer's short name. +# %a The remailer's e-mail address. +# +# +# set mixmaster="mixmaster" +# +# Name: mixmaster +# Type: path +# Default: "mixmaster" +# +# +# This variable contains the path to the Mixmaster binary on your +# system. It is used with various sets of parameters to gather the +# list of known remailers, and to finally send a message through the +# mixmaster chain. +# +# +# set move=ask-no +# +# Name: move +# Type: quadoption +# Default: ask-no +# +# +# Controls whether you will be asked to confirm moving read messages +# from your spool mailbox to your ``$mbox'' mailbox, or as a result of +# a ``mbox-hook'' command. +# +# +# set message_format="%s" +# +# Name: message_format +# Type: string +# Default: "%s" +# +# +# This is the string displayed in the ``attachment'' menu for +# attachments of type message/rfc822. For a full listing of defined +# printf()-like sequences see the section on ``$index_format''. +# +# +# set pager="builtin" +# +# Name: pager +# Type: path +# Default: "builtin" +# +# +# This variable specifies which pager you would like to use to view +# messages. builtin means to use the builtin pager, otherwise this +# variable should specify the pathname of the external pager you would +# like to use. +# +# Using an external pager may have some disadvantages: Additional +# keystrokes are necessary because you can't call mutt functions +# directly from the pager, and screen resizes cause lines longer than +# the screen width to be badly formatted in the help menu. +# +# +# set pager_context=0 +# +# Name: pager_context +# Type: number +# Default: 0 +# +# +# This variable controls the number of lines of context that are given +# when displaying the next or previous page in the internal pager. By +# default, Mutt will display the line after the last one on the screen +# at the top of the next page (0 lines of context). +# +# +# set pager_format="-%Z- %C/%m: %-20.20n %s" +# +# Name: pager_format +# Type: string +# Default: "-%Z- %C/%m: %-20.20n %s" +# +# +# This variable controls the format of the one-line message ``status'' +# displayed before each message in either the internal or an external +# pager. The valid sequences are listed in the ``$index_format'' +# section. +# +# +# set pager_index_lines=0 +# +# Name: pager_index_lines +# Type: number +# Default: 0 +# +# +# Determines the number of lines of a mini-index which is shown when in +# the pager. The current message, unless near the top or bottom of the +# folder, will be roughly one third of the way down this mini-index, +# giving the reader the context of a few messages before and after the +# message. This is useful, for example, to determine how many messages +# remain to be read in the current thread. One of the lines is reserved +# for the status bar from the index, so a pager_index_lines of 6 +# will only show 5 lines of the actual index. A value of 0 results in +# no index being shown. If the number of messages in the current folder +# is less than pager_index_lines, then the index will only use as +# many lines as it needs. +# +# +# set pager_stop=no +# +# Name: pager_stop +# Type: boolean +# Default: no +# +# +# When set, the internal-pager will not move to the next message +# when you are at the end of a message and invoke the next-page +# function. +# +# +# set pgp_autosign=no +# +# Name: pgp_autosign +# Type: boolean +# Default: no +# +# +# Setting this variable will cause Mutt to always attempt to PGP/MIME +# sign outgoing messages. This can be overridden by use of the pgp- +# menu, when signing is not required or encryption is requested as +# well. +# +# +# set pgp_autoencrypt=no +# +# Name: pgp_autoencrypt +# Type: boolean +# Default: no +# +# +# Setting this variable will cause Mutt to always attempt to PGP/MIME +# encrypt outgoing messages. This is probably only useful in connection +# to the send-hook command. It can be overridden by use of the +# pgp-menu, when encryption is not required or signing is +# requested as well. +# +# +# set pgp_ignore_subkeys=yes +# +# Name: pgp_ignore_subkeys +# Type: boolean +# Default: yes +# +# +# Setting this variable will cause Mutt to ignore OpenPGP subkeys. Instead, +# the principal key will inherit the subkeys' capabilities. Unset this +# if you want to play interesting key selection games. +# +# +# set pgp_entry_format="%4n %t%f %4l/0x%k %-4a %2c %u" +# +# Name: pgp_entry_format +# Type: string +# Default: "%4n %t%f %4l/0x%k %-4a %2c %u" +# +# +# This variable allows you to customize the PGP key selection menu to +# your personal taste. This string is similar to ``$index_format'', but +# has its own set of printf()-like sequences: +# +# %n number +# %k key id +# %u user id +# %a algorithm +# %l key length +# %f flags +# %c capabilities +# %t trust/validity of the key-uid association +# %[] date of the key where is an strftime(3) expression +# +# +# set pgp_good_sign="" +# +# Name: pgp_good_sign +# Type: regular expression +# Default: "" +# +# +# If you assign a text to this variable, then a PGP signature is only +# considered verified if the output from $pgp_verify_command contains +# the text. Use this variable if the exit code from the command is 0 +# even for bad signatures. +# +# +# set pgp_long_ids=no +# +# Name: pgp_long_ids +# Type: boolean +# Default: no +# +# +# If set, use 64 bit PGP key IDs. Unset uses the normal 32 bit Key IDs. +# +# +# set pgp_replyencrypt=yes +# +# Name: pgp_replyencrypt +# Type: boolean +# Default: yes +# +# +# If set, automatically PGP encrypt replies to messages which are +# encrypted. +# +# +# set pgp_replysign=no +# +# Name: pgp_replysign +# Type: boolean +# Default: no +# +# +# If set, automatically PGP sign replies to messages which are signed. +# +# Note: this does not work on messages that are encrypted +# and signed! +# +# +# set pgp_replysignencrypted=no +# +# Name: pgp_replysignencrypted +# Type: boolean +# Default: no +# +# +# If set, automatically PGP sign replies to messages which are +# encrypted. This makes sense in combination with +# ``$pgp_replyencrypt'', because it allows you to sign all messages +# which are automatically encrypted. This works around the problem +# noted in ``$pgp_replysign'', that mutt is not able to find out +# whether an encrypted message is also signed. +# +# +# set pgp_retainable_sigs=no +# +# Name: pgp_retainable_sigs +# Type: boolean +# Default: no +# +# +# If set, signed and encrypted messages will consist of nested +# multipart/signed and multipart/encrypted body parts. +# +# This is useful for applications like encrypted and signed mailing +# lists, where the outer layer (multipart/encrypted) can be easily +# removed, while the inner multipart/signed part is retained. +# +# +# set pgp_show_unusable=yes +# +# Name: pgp_show_unusable +# Type: boolean +# Default: yes +# +# +# If set, mutt will display non-usable keys on the PGP key selection +# menu. This includes keys which have been revoked, have expired, or +# have been marked as ``disabled'' by the user. +# +# +# set pgp_sign_as="" +# +# Name: pgp_sign_as +# Type: string +# Default: "" +# +# +# If you have more than one key pair, this option allows you to specify +# which of your private keys to use. It is recommended that you use the +# keyid form to specify your key (e.g., ``0x00112233''). +# +# +# set pgp_strict_enc=yes +# +# Name: pgp_strict_enc +# Type: boolean +# Default: yes +# +# +# If set, Mutt will automatically encode PGP/MIME signed messages as +# quoted-printable. Please note that unsetting this variable may +# lead to problems with non-verifyable PGP signatures, so only change +# this if you know what you are doing. +# +# +# set pgp_timeout=300 +# +# Name: pgp_timeout +# Type: number +# Default: 300 +# +# +# The number of seconds after which a cached passphrase will expire if +# not used. +# +# +# set pgp_verify_sig=yes +# +# Name: pgp_verify_sig +# Type: quadoption +# Default: yes +# +# +# If ``yes'', always attempt to verify PGP/MIME signatures. If ``ask-yes'' +# or ``ask-no'', +# ask whether or not to verify the signature. If ``no'', never attempt +# to verify PGP/MIME signatures. +# +# +# set pgp_sort_keys=address +# +# Name: pgp_sort_keys +# Type: sort order +# Default: address +# +# +# Specifies how the entries in the `pgp keys' menu are sorted. The +# following are legal values: +# +# address sort alphabetically by user id +# keyid sort alphabetically by key id +# date sort by key creation date +# trust sort by the trust of the key +# +# +# If you prefer reverse order of the above values, prefix it with +# `reverse-'. +# +# +# set pgp_create_traditional=no +# +# Name: pgp_create_traditional +# Type: quadoption +# Default: no +# +# +# This option controls whether Mutt generates old-style PGP encrypted +# or signed messages under certain circumstances. +# +# Note that PGP/MIME will be used automatically for messages which have +# a character set different from us-ascii, or which consist of more than +# a single MIME part. +# +# Also note that using the old-style PGP message format is strongly +# deprecated. +# +# +# set pgp_decode_command="" +# +# Name: pgp_decode_command +# Type: string +# Default: "" +# +# +# This format strings specifies a command which is used to decode +# application/pgp attachments. +# +# The PGP command formats have their own set of printf-like sequences: +# +# %p Expands to PGPPASSFD=0 when a pass phrase is needed, to an empty +# string otherwise. Note: This may be used with a %? construct. +# %f Expands to the name of a file containing a message. +# %s Expands to the name of a file containing the signature part +# of a multipart/signed attachment when verifying it. +# %a The value of $pgp_sign_as. +# %r One or more key IDs. +# +# +# For examples on how to configure these formats for the various versions +# of PGP which are floating around, see the pgp*.rc and gpg.rc files in +# the samples/ subdirectory which has been installed on your system +# alongside the documentation. +# +# +# set pgp_getkeys_command="" +# +# Name: pgp_getkeys_command +# Type: string +# Default: "" +# +# +# This command is invoked whenever mutt will need public key information. +# %r is the only printf-like sequence used with this format. +# +# +# set pgp_verify_command="" +# +# Name: pgp_verify_command +# Type: string +# Default: "" +# +# +# This command is used to verify PGP/MIME signatures. +# +# +# set pgp_decrypt_command="" +# +# Name: pgp_decrypt_command +# Type: string +# Default: "" +# +# +# This command is used to decrypt a PGP/MIME encrypted message. +# +# +# set pgp_clearsign_command="" +# +# Name: pgp_clearsign_command +# Type: string +# Default: "" +# +# +# This format is used to create a "clearsigned" old-style PGP attachment. +# Note that the use of this format is strongly deprecated. +# +# +# set pgp_sign_command="" +# +# Name: pgp_sign_command +# Type: string +# Default: "" +# +# +# This command is used to create the detached PGP signature for a +# multipart/signed PGP/MIME body part. +# +# +# set pgp_encrypt_sign_command="" +# +# Name: pgp_encrypt_sign_command +# Type: string +# Default: "" +# +# +# This command is used to combinedly sign/encrypt a body part. +# +# +# set pgp_encrypt_only_command="" +# +# Name: pgp_encrypt_only_command +# Type: string +# Default: "" +# +# +# This command is used to encrypt a body part without signing it. +# +# +# set pgp_import_command="" +# +# Name: pgp_import_command +# Type: string +# Default: "" +# +# +# This command is used to import a key from a message into +# the user's public key ring. +# +# +# set pgp_export_command="" +# +# Name: pgp_export_command +# Type: string +# Default: "" +# +# +# This command is used to export a public key from the user's +# key ring. +# +# +# set pgp_verify_key_command="" +# +# Name: pgp_verify_key_command +# Type: string +# Default: "" +# +# +# This command is used to verify key information from the key selection +# menu. +# +# +# set pgp_list_secring_command="" +# +# Name: pgp_list_secring_command +# Type: string +# Default: "" +# +# +# This command is used to list the secret key ring's contents. The +# output format must be analogous to the one used by +# gpg --list-keys --with-colons. +# +# This format is also generated by the pgpring utility which comes +# with mutt. +# +# +# set pgp_list_pubring_command="" +# +# Name: pgp_list_pubring_command +# Type: string +# Default: "" +# +# +# This command is used to list the public key ring's contents. The +# output format must be analogous to the one used by +# gpg --list-keys --with-colons. +# +# This format is also generated by the pgpring utility which comes +# with mutt. +# +# +# set forward_decrypt=yes +# +# Name: forward_decrypt +# Type: boolean +# Default: yes +# +# +# Controls the handling of encrypted messages when forwarding a message. +# When set, the outer layer of encryption is stripped off. This +# variable is only used if ``$mime_forward'' is set and +# ``$mime_forward_decode'' is unset. +# +# +# set ssl_starttls=yes +# +# Name: ssl_starttls +# Type: quadoption +# Default: yes +# +# +# If set (the default), mutt will attempt to use STARTTLS on servers +# advertising the capability. When unset, mutt will not attempt to +# use STARTTLS regardless of the server's capabilities. +# +# +# set certificate_file="" +# +# Name: certificate_file +# Type: path +# Default: "" +# +# +# This variable specifies the file where the certificates you trust +# are saved. When an unknown certificate is encountered, you are asked +# if you accept it or not. If you accept it, the certificate can also +# be saved in this file and further connections are automatically +# accepted. +# +# You can also manually add CA certificates in this file. Any server +# certificate that is signed with one of these CA certificates are +# also automatically accepted. +# +# Example: set certificate_file=~/.mutt/certificates +# +# +# set ssl_usesystemcerts=yes +# +# Name: ssl_usesystemcerts +# Type: boolean +# Default: yes +# +# +# If set to yes, mutt will use CA certificates in the +# system-wide certificate store when checking if server certificate +# is signed by a trusted CA. +# +# +# set entropy_file="" +# +# Name: entropy_file +# Type: path +# Default: "" +# +# +# The file which includes random data that is used to initalize SSL +# library functions. +# +# +# set ssl_use_sslv2=yes +# +# Name: ssl_use_sslv2 +# Type: boolean +# Default: yes +# +# +# This variables specifies whether to attempt to use SSLv2 in the +# SSL authentication process. +# +# +# set ssl_use_sslv3=yes +# +# Name: ssl_use_sslv3 +# Type: boolean +# Default: yes +# +# +# This variables specifies whether to attempt to use SSLv3 in the +# SSL authentication process. +# +# +# set ssl_use_tlsv1=yes +# +# Name: ssl_use_tlsv1 +# Type: boolean +# Default: yes +# +# +# This variables specifies whether to attempt to use TLSv1 in the +# SSL authentication process. +# +# +# set pipe_split=no +# +# Name: pipe_split +# Type: boolean +# Default: no +# +# +# Used in connection with the pipe-message command and the ``tag- +# prefix'' operator. If this variable is unset, when piping a list of +# tagged messages Mutt will concatenate the messages and will pipe them +# as a single folder. When set, Mutt will pipe the messages one by one. +# In both cases the messages are piped in the current sorted order, +# and the ``$pipe_sep'' separator is added after each message. +# +# +# set pipe_decode=no +# +# Name: pipe_decode +# Type: boolean +# Default: no +# +# +# Used in connection with the pipe-message command. When unset, +# Mutt will pipe the messages without any preprocessing. When set, Mutt +# will weed headers and will attempt to PGP/MIME decode the messages +# first. +# +# +# set pipe_sep="\n" +# +# Name: pipe_sep +# Type: string +# Default: "\n" +# +# +# The separator to add between messages when piping a list of tagged +# messages to an external Unix command. +# +# +# set pop_authenticators="" +# +# Name: pop_authenticators +# Type: string +# Default: "" +# +# +# This is a colon-delimited list of authentication methods mutt may +# attempt to use to log in to an POP server, in the order mutt should +# try them. Authentication methods are either 'user', 'apop' or any +# SASL mechanism, eg 'digest-md5', 'gssapi' or 'cram-md5'. +# This parameter is case-insensitive. If this parameter is unset +# (the default) mutt will try all available methods, in order from +# most-secure to least-secure. +# +# Example: set pop_authenticators="digest-md5:apop:user" +# +# +# set pop_auth_try_all=yes +# +# Name: pop_auth_try_all +# Type: boolean +# Default: yes +# +# +# If set, Mutt will try all available methods. When unset, Mutt will +# only fall back to other authentication methods if the previous +# methods are unavailable. If a method is available but authentication +# fails, Mutt will not connect to the POP server. +# +# +# set pop_checkinterval=60 +# +# Name: pop_checkinterval +# Type: number +# Default: 60 +# +# +# This variable configures how often (in seconds) POP should look for +# new mail. +# +# +# set pop_delete=ask-no +# +# Name: pop_delete +# Type: quadoption +# Default: ask-no +# +# +# If set, Mutt will delete successfully downloaded messages from the POP +# server when using the fetch-mail function. When unset, Mutt will +# download messages but also leave them on the POP server. +# +# +# set pop_host="" +# +# Name: pop_host +# Type: string +# Default: "" +# +# +# The name of your POP server for the fetch-mail function. You +# can also specify an alternative port, username and password, ie: +# +# [pop[s]://][username[:password]@]popserver[:port] +# +# +# set pop_last=no +# +# Name: pop_last +# Type: boolean +# Default: no +# +# +# If this variable is set, mutt will try to use the "LAST" POP command +# for retrieving only unread messages from the POP server when using +# the fetch-mail function. +# +# +# set pop_reconnect=ask-yes +# +# Name: pop_reconnect +# Type: quadoption +# Default: ask-yes +# +# +# Controls whether or not Mutt will try to reconnect to POP server when +# connection lost. +# +# +# set pop_user="" +# +# Name: pop_user +# Type: string +# Default: "" +# +# +# Your login name on the POP server. +# +# This variable defaults to your user name on the local machine. +# +# +# set pop_pass="" +# +# Name: pop_pass +# Type: string +# Default: "" +# +# +# Specifies the password for your POP account. If unset, Mutt will +# prompt you for your password when you open POP mailbox. +# Warning: you should only use this option when you are on a +# fairly secure machine, because the superuser can read your muttrc +# even if you are the only one who can read the file. +# +# +# set post_indent_string="" +# +# Name: post_indent_string +# Type: string +# Default: "" +# +# +# Similar to the ``$attribution'' variable, Mutt will append this +# string after the inclusion of a message which is being replied to. +# +# +# set postpone=ask-yes +# +# Name: postpone +# Type: quadoption +# Default: ask-yes +# +# +# Controls whether or not messages are saved in the ``$postponed'' +# mailbox when you elect not to send immediately. +# +# +# set postponed="~/postponed" +# +# Name: postponed +# Type: path +# Default: "~/postponed" +# +# +# Mutt allows you to indefinitely ``postpone sending a message'' which +# you are editing. When you choose to postpone a message, Mutt saves it +# in the mailbox specified by this variable. Also see the ``$postpone'' +# variable. +# +# +# set preconnect="" +# +# Name: preconnect +# Type: string +# Default: "" +# +# +# If set, a shell command to be executed if mutt fails to establish +# a connection to the server. This is useful for setting up secure +# connections, e.g. with ssh(1). If the command returns a nonzero +# status, mutt gives up opening the server. Example: +# +# preconnect="ssh -f -q -L 1234:mailhost.net:143 mailhost.net +# sleep 20 < /dev/null > /dev/null" +# +# Mailbox 'foo' on mailhost.net can now be reached +# as '\{localhost:1234\}foo'. +# +# NOTE: For this example to work, you must be able to log in to the +# remote machine without having to enter a password. +# +# +# set print=ask-no +# +# Name: print +# Type: quadoption +# Default: ask-no +# +# +# Controls whether or not Mutt asks for confirmation before printing. +# This is useful for people (like me) who accidentally hit ``p'' often. +# +# +# set print_command="lpr" +# +# Name: print_command +# Type: path +# Default: "lpr" +# +# +# This specifies the command pipe that should be used to print messages. +# +# +# set print_decode=yes +# +# Name: print_decode +# Type: boolean +# Default: yes +# +# +# Used in connection with the print-message command. If this +# option is set, the message is decoded before it is passed to the +# external command specified by $print_command. If this option +# is unset, no processing will be applied to the message when +# printing it. The latter setting may be useful if you are using +# some advanced printer filter which is able to properly format +# e-mail messages for printing. +# +# +# set print_split=no +# +# Name: print_split +# Type: boolean +# Default: no +# +# +# Used in connection with the print-message command. If this option +# is set, the command sepcified by $print_command is executed once for +# each message which is to be printed. If this option is unset, +# the command specified by $print_command is executed only once, and +# all the messages are concatenated, with a form feed as the message +# separator. +# +# Those who use the enscript(1) program's mail-printing mode will +# most likely want to set this option. +# +# +# set prompt_after=yes +# +# Name: prompt_after +# Type: boolean +# Default: yes +# +# +# If you use an external ``$pager'', setting this variable will +# cause Mutt to prompt you for a command when the pager exits rather +# than returning to the index menu. If unset, Mutt will return to the +# index menu when the external pager exits. +# +# +# set query_command="" +# +# Name: query_command +# Type: path +# Default: "" +# +# +# This specifies the command that mutt will use to make external address +# queries. The string should contain a %s, which will be substituted +# with the query string the user types. See ``query'' for more +# information. +# +# +# set quit=yes +# +# Name: quit +# Type: quadoption +# Default: yes +# +# +# This variable controls whether ``quit'' and ``exit'' actually quit +# from mutt. If it set to yes, they do quit, if it is set to no, they +# have no effect, and if it is set to ask-yes or ask-no, you are +# prompted for confirmation when you try to quit. +# +# +# set quote_regexp="^([ \t]*[|>:\}#])+" +# +# Name: quote_regexp +# Type: regular expression +# Default: "^([ \t]*[|>:\}#])+" +# +# +# A regular expression used in the internal-pager to determine quoted +# sections of text in the body of a message. +# +# Note: In order to use the quotedx patterns in the +# internal pager, you need to set this to a regular expression that +# matches exactly the quote characters at the beginning of quoted +# lines. +# +# +# set read_inc=10 +# +# Name: read_inc +# Type: number +# Default: 10 +# +# +# If set to a value greater than 0, Mutt will display which message it +# is currently on when reading a mailbox. The message is printed after +# read_inc messages have been read (e.g., if set to 25, Mutt will +# print a message when it reads message 25, and then again when it gets +# to message 50). This variable is meant to indicate progress when +# reading large mailboxes which may take some time. +# When set to 0, only a single message will appear before the reading +# the mailbox. +# +# Also see the ``$write_inc'' variable. +# +# +# set read_only=no +# +# Name: read_only +# Type: boolean +# Default: no +# +# +# If set, all folders are opened in read-only mode. +# +# +# set realname="" +# +# Name: realname +# Type: string +# Default: "" +# +# +# This variable specifies what "real" or "personal" name should be used +# when sending messages. +# +# By default, this is the GCOS field from /etc/passwd. Note that this +# variable will not be used when the user has set a real name +# in the $from variable. +# +# +# set recall=ask-yes +# +# Name: recall +# Type: quadoption +# Default: ask-yes +# +# +# Controls whether or not you are prompted to recall postponed messages +# when composing a new message. Also see ``$postponed''. +# +# Setting this variable to ``yes'' is not generally useful, and thus not +# recommended. +# +# +# set record="" +# +# Name: record +# Type: path +# Default: "" +# +# +# This specifies the file into which your outgoing messages should be +# appended. (This is meant as the primary method for saving a copy of +# your messages, but another way to do this is using the ``my_hdr'' +# command to create a Bcc: field with your email address in it.) +# +# The value of $record is overridden by the ``$force_name'' and +# ``$save_name'' variables, and the ``fcc-hook'' command. +# +# +# set reply_regexp="^(re([\\[0-9\\]+])*|aw):[ \t]*" +# +# Name: reply_regexp +# Type: regular expression +# Default: "^(re([\\[0-9\\]+])*|aw):[ \t]*" +# +# +# A regular expression used to recognize reply messages when threading +# and replying. The default value corresponds to the English "Re:" and +# the German "Aw:". +# +# +# set reply_self=no +# +# Name: reply_self +# Type: boolean +# Default: no +# +# +# If unset and you are replying to a message sent by you, Mutt will +# assume that you want to reply to the recipients of that message rather +# than to yourself. +# +# +# set reply_to=ask-yes +# +# Name: reply_to +# Type: quadoption +# Default: ask-yes +# +# +# If set, Mutt will ask you if you want to use the address listed in the +# Reply-To: header field when replying to a message. If you answer no, +# it will use the address in the From: header field instead. This +# option is useful for reading a mailing list that sets the Reply-To: +# header field to the list address and you want to send a private +# message to the author of a message. +# +# +# set resolve=yes +# +# Name: resolve +# Type: boolean +# Default: yes +# +# +# When set, the cursor will be automatically advanced to the next +# (possibly undeleted) message whenever a command that modifies the +# current message is executed. +# +# +# set reverse_alias=no +# +# Name: reverse_alias +# Type: boolean +# Default: no +# +# +# This variable controls whether or not Mutt will display the "personal" +# name from your aliases in the index menu if it finds an alias that +# matches the message's sender. For example, if you have the following +# alias: +# +# alias juser abd30425@somewhere.net (Joe User) +# +# and then you receive mail which contains the following header: +# +# From: abd30425@somewhere.net +# +# It would be displayed in the index menu as ``Joe User'' instead of +# ``abd30425@somewhere.net.'' This is useful when the person's e-mail +# address is not human friendly (like CompuServe addresses). +# +# +# set reverse_name=no +# +# Name: reverse_name +# Type: boolean +# Default: no +# +# +# It may sometimes arrive that you receive mail to a certain machine, +# move the messages to another machine, and reply to some the messages +# from there. If this variable is set, the default From: line of +# the reply messages is built using the address where you received the +# messages you are replying to. If the variable is unset, the +# From: line will use your address on the current machine. +# +# +# set reverse_realname=yes +# +# Name: reverse_realname +# Type: boolean +# Default: yes +# +# +# This variable fine-tunes the behaviour of the reverse_name feature. +# When it is set, mutt will use the address from incoming messages as-is, +# possibly including eventual real names. When it is unset, mutt will +# override any such realnames with the setting of the realname variable. +# +# +# set rfc2047_parameters=no +# +# Name: rfc2047_parameters +# Type: boolean +# Default: no +# +# +# When this variable is set, Mutt will decode RFC-2047-encoded MIME +# parameters. You want to set this variable when mutt suggests you +# to save attachments to files named like this: +# =?iso-8859-1?Q?file=5F=E4=5F991116=2Ezip?= +# +# When this variable is set interactively, the change doesn't have +# the desired effect before you have changed folders. +# +# Note that this use of RFC 2047's encoding is explicitly, +# prohibited by the standard, but nevertheless encountered in the +# wild. +# Also note that setting this parameter will not have the effect +# that mutt generates this kind of encoding. Instead, mutt will +# unconditionally use the encoding specified in RFC 2231. +# +# +# set save_address=no +# +# Name: save_address +# Type: boolean +# Default: no +# +# +# If set, mutt will take the sender's full address when choosing a +# default folder for saving a mail. If ``$save_name'' or ``$force_name'' +# is set too, the selection of the fcc folder will be changed as well. +# +# +# set save_empty=yes +# +# Name: save_empty +# Type: boolean +# Default: yes +# +# +# When unset, mailboxes which contain no saved messages will be removed +# when closed (the exception is ``$spoolfile'' which is never removed). +# If set, mailboxes are never removed. +# +# Note: This only applies to mbox and MMDF folders, Mutt does not +# delete MH and Maildir directories. +# +# +# set save_name=no +# +# Name: save_name +# Type: boolean +# Default: no +# +# +# This variable controls how copies of outgoing messages are saved. +# When set, a check is made to see if a mailbox specified by the +# recipient address exists (this is done by searching for a mailbox in +# the ``$folder'' directory with the username part of the +# recipient address). If the mailbox exists, the outgoing message will +# be saved to that mailbox, otherwise the message is saved to the +# ``$record'' mailbox. +# +# Also see the ``$force_name'' variable. +# +# +# set score=yes +# +# Name: score +# Type: boolean +# Default: yes +# +# +# When this variable is unset, scoring is turned off. This can +# be useful to selectively disable scoring for certain folders when the +# ``$score_threshold_delete'' variable and friends are used. +# +# +# set score_threshold_delete=-1 +# +# Name: score_threshold_delete +# Type: number +# Default: -1 +# +# +# Messages which have been assigned a score equal to or lower than the value +# of this variable are automatically marked for deletion by mutt. Since +# mutt scores are always greater than or equal to zero, the default setting +# of this variable will never mark a message for deletion. +# +# +# set score_threshold_flag=9999 +# +# Name: score_threshold_flag +# Type: number +# Default: 9999 +# +# +# Messages wich have been assigned a score greater than or equal to this +# variable's value are automatically marked "flagged". +# +# +# set score_threshold_read=-1 +# +# Name: score_threshold_read +# Type: number +# Default: -1 +# +# +# Messages which have been assigned a score equal to or lower than the value +# of this variable are automatically marked as read by mutt. Since +# mutt scores are always greater than or equal to zero, the default setting +# of this variable will never mark a message read. +# +# +# set send_charset="us-ascii:iso-8859-1:utf-8" +# +# Name: send_charset +# Type: string +# Default: "us-ascii:iso-8859-1:utf-8" +# +# +# A list of character sets for outgoing messages. Mutt will use the +# first character set into which the text can be converted exactly. +# If your ``$charset'' is not iso-8859-1 and recipients may not +# understand UTF-8, it is advisable to include in the list an +# appropriate widely used standard character set (such as +# iso-8859-2, koi8-r or iso-2022-jp) either instead of or after +# "iso-8859-1". +# +# +# set sendmail="/usr/sbin/sendmail -oem -oi" +# +# Name: sendmail +# Type: path +# Default: "/usr/sbin/sendmail -oem -oi" +# +# +# Specifies the program and arguments used to deliver mail sent by Mutt. +# Mutt expects that the specified program interprets additional +# arguments as recipient addresses. +# +# +# set sendmail_wait=0 +# +# Name: sendmail_wait +# Type: number +# Default: 0 +# +# +# Specifies the number of seconds to wait for the ``$sendmail'' process +# to finish before giving up and putting delivery in the background. +# +# Mutt interprets the value of this variable as follows: +# >0 number of seconds to wait for sendmail to finish before continuing +# 0 wait forever for sendmail to finish +# <0 always put sendmail in the background without waiting +# +# +# Note that if you specify a value other than 0, the output of the child +# process will be put in a temporary file. If there is some error, you +# will be informed as to where to find the output. +# +# +# set shell="" +# +# Name: shell +# Type: path +# Default: "" +# +# +# Command to use when spawning a subshell. By default, the user's login +# shell from /etc/passwd is used. +# +# +# set sig_dashes=yes +# +# Name: sig_dashes +# Type: boolean +# Default: yes +# +# +# If set, a line containing ``-- '' will be inserted before your +# ``$signature''. It is strongly recommended that you not unset +# this variable unless your ``signature'' contains just your name. The +# reason for this is because many software packages use ``-- \n'' to +# detect your signature. For example, Mutt has the ability to highlight +# the signature in a different color in the builtin pager. +# +# +# set sig_on_top=no +# +# Name: sig_on_top +# Type: boolean +# Default: no +# +# +# If set, the signature will be included before any quoted or forwarded +# text. It is strongly recommended that you do not set this variable +# unless you really know what you are doing, and are prepared to take +# some heat from netiquette guardians. +# +# +# set signature="~/.signature" +# +# Name: signature +# Type: path +# Default: "~/.signature" +# +# +# Specifies the filename of your signature, which is appended to all +# outgoing messages. If the filename ends with a pipe (``|''), it is +# assumed that filename is a shell command and input should be read from +# its stdout. +# +# +# set simple_search="~f %s | ~s %s" +# +# Name: simple_search +# Type: string +# Default: "~f %s | ~s %s" +# +# +# Specifies how Mutt should expand a simple search into a real search +# pattern. A simple search is one that does not contain any of the ~ +# operators. See ``patterns'' for more information on search patterns. +# +# For example, if you simply type joe at a search or limit prompt, Mutt +# will automatically expand it to the value specified by this variable. +# For the default value it would be: +# +# ~f joe | ~s joe +# +# +# set smart_wrap=yes +# +# Name: smart_wrap +# Type: boolean +# Default: yes +# +# +# Controls the display of lines longer then the screen width in the +# internal pager. If set, long lines are wrapped at a word boundary. If +# unset, lines are simply wrapped at the screen edge. Also see the +# ``$markers'' variable. +# +# +# set smileys="(>From )|(:[-^]?[][)(><\}\{|/DP])" +# +# Name: smileys +# Type: regular expression +# Default: "(>From )|(:[-^]?[][)(><\}\{|/DP])" +# +# +# The pager uses this variable to catch some common false +# positives of ``$quote_regexp'', most notably smileys in the beginning +# of a line +# +# +# set sleep_time=1 +# +# Name: sleep_time +# Type: number +# Default: 1 +# +# +# Specifies time, in seconds, to pause while displaying certain informational +# messages, while moving from folder to folder and after expunging +# messages from the current folder. The default is to pause one second, so +# a value of zero for this option suppresses the pause. +# +# +# set sort=date +# +# Name: sort +# Type: sort order +# Default: date +# +# +# Specifies how to sort messages in the index menu. Valid values +# are: +# +# date or date-sent +# date-received +# from +# mailbox-order (unsorted) +# score +# size +# subject +# threads +# to +# +# You may optionally use the reverse- prefix to specify reverse sorting +# order (example: set sort=reverse-date-sent). +# +# +# set sort_alias=alias +# +# Name: sort_alias +# Type: sort order +# Default: alias +# +# +# Specifies how the entries in the `alias' menu are sorted. The +# following are legal values: +# +# address (sort alphabetically by email address) +# alias (sort alphabetically by alias name) +# unsorted (leave in order specified in .muttrc) +# +# +# set sort_aux=date +# +# Name: sort_aux +# Type: sort order +# Default: date +# +# +# When sorting by threads, this variable controls how threads are sorted +# in relation to other threads, and how the branches of the thread trees +# are sorted. This can be set to any value that ``$sort'' can, except +# threads (in that case, mutt will just use date-sent). You can also +# specify the last- prefix in addition to the reverse- prefix, but last- +# must come after reverse-. The last- prefix causes messages to be +# sorted against its siblings by which has the last descendant, using +# the rest of sort_aux as an ordering. For instance, set sort_aux=last- +# date-received would mean that if a new message is received in a +# thread, that thread becomes the last one displayed (or the first, if +# you have set sort=reverse-threads.) Note: For reversed ``$sort'' +# order $sort_aux is reversed again (which is not the right thing to do, +# but kept to not break any existing configuration setting). +# +# +# set sort_browser=subject +# +# Name: sort_browser +# Type: sort order +# Default: subject +# +# +# Specifies how to sort entries in the file browser. By default, the +# entries are sorted alphabetically. Valid values: +# +# alpha (alphabetically) +# date +# size +# unsorted +# +# You may optionally use the reverse- prefix to specify reverse sorting +# order (example: set sort_browser=reverse-date). +# +# +# set sort_re=yes +# +# Name: sort_re +# Type: boolean +# Default: yes +# +# +# This variable is only useful when sorting by threads with +# ``$strict_threads'' unset. In that case, it changes the heuristic +# mutt uses to thread messages by subject. With sort_re set, mutt will +# only attach a message as the child of another message by subject if +# the subject of the child message starts with a substring matching the +# setting of ``$reply_regexp''. With sort_re unset, mutt will attach +# the message whether or not this is the case, as long as the +# non-``$reply_regexp'' parts of both messages are identical. +# +# +# set spoolfile="" +# +# Name: spoolfile +# Type: path +# Default: "" +# +# +# If your spool mailbox is in a non-default place where Mutt cannot find +# it, you can specify its location with this variable. Mutt will +# automatically set this variable to the value of the environment +# variable $MAIL if it is not set. +# +# +# set status_chars="-*%A" +# +# Name: status_chars +# Type: string +# Default: "-*%A" +# +# +# Controls the characters used by the "%r" indicator in +# ``$status_format''. The first character is used when the mailbox is +# unchanged. The second is used when the mailbox has been changed, and +# it needs to be resynchronized. The third is used if the mailbox is in +# read-only mode, or if the mailbox will not be written when exiting +# that mailbox (You can toggle whether to write changes to a mailbox +# with the toggle-write operation, bound by default to "%"). The fourth +# is used to indicate that the current folder has been opened in attach- +# message mode (Certain operations like composing a new mail, replying, +# forwarding, etc. are not permitted in this mode). +# +# +# set status_format="-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---" +# +# Name: status_format +# Type: string +# Default: "-%r-Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---" +# +# +# Controls the format of the status line displayed in the index +# menu. This string is similar to ``$index_format'', but has its own +# set of printf()-like sequences: +# +# %b number of mailboxes with new mail * +# %d number of deleted messages * +# %h local hostname +# %f the full pathname of the current mailbox +# %F number of flagged messages * +# %l size (in bytes) of the current mailbox * +# %L size (in bytes) of the messages shown +# (i.e., which match the current limit) * +# %m the number of messages in the mailbox * +# %M the number of messages shown (i.e., which match the current limit) * +# %n number of new messages in the mailbox * +# %o number of old unread messages +# %p number of postponed messages * +# %P percentage of the way through the index +# %r modified/read-only/won't-write/attach-message indicator, +# according to $status_chars +# %s current sorting mode ($sort) +# %S current aux sorting method ($sort_aux) +# %t number of tagged messages * +# %u number of unread messages * +# %v Mutt version string +# %V currently active limit pattern, if any * +# %>X right justify the rest of the string and pad with "X" +# %|X pad to the end of the line with "X" +# +# +# * = can be optionally printed if nonzero +# +# Some of the above sequences can be used to optionally print a string +# if their value is nonzero. For example, you may only want to see the +# number of flagged messages if such messages exist, since zero is not +# particularly meaningful. To optionally print a string based upon one +# of the above sequences, the following construct is used +# +# %??? +# +# where sequence_char is a character from the table above, and +# optional_string is the string you would like printed if +# status_char is nonzero. optional_string may contain +# other sequence as well as normal text, but you may not nest +# optional strings. +# +# Here is an example illustrating how to optionally print the number of +# new messages in a mailbox: +# %?n?%n new messages.? +# +# Additionally you can switch between two strings, the first one, if a +# value is zero, the second one, if the value is nonzero, by using the +# following construct: +# %??&? +# +# You can additionally force the result of any printf-like sequence to +# be lowercase by prefixing the sequence character with an underscore +# (_) sign. For example, if you want to display the local hostname in +# lowercase, you would use: +# %_h +# +# +# set status_on_top=no +# +# Name: status_on_top +# Type: boolean +# Default: no +# +# +# Setting this variable causes the ``status bar'' to be displayed on +# the first line of the screen rather than near the bottom. +# +# +# set strict_threads=no +# +# Name: strict_threads +# Type: boolean +# Default: no +# +# +# If set, threading will only make use of the ``In-Reply-To'' and +# ``References'' fields when you ``$sort'' by message threads. By +# default, messages with the same subject are grouped together in +# ``pseudo threads.'' This may not always be desirable, such as in a +# personal mailbox where you might have several unrelated messages with +# the subject ``hi'' which will get grouped together. +# +# +# set suspend=yes +# +# Name: suspend +# Type: boolean +# Default: yes +# +# +# When unset, mutt won't stop when the user presses the terminal's +# susp key, usually ``control-Z''. This is useful if you run mutt +# inside an xterm using a command like xterm -e mutt. +# +# +# set text_flowed=no +# +# Name: text_flowed +# Type: boolean +# Default: no +# +# +# When set, mutt will generate text/plain; format=flowed attachments. +# This format is easier to handle for some mailing software, and generally +# just looks like ordinary text. To actually make use of this format's +# features, you'll need support in your editor. +# +# Note that $indent_string is ignored when this option is set. +# +# +# set thread_received=no +# +# Name: thread_received +# Type: boolean +# Default: no +# +# +# When set, mutt uses the date received rather than the date sent +# to thread messages by subject. +# +# +# set thorough_search=no +# +# Name: thorough_search +# Type: boolean +# Default: no +# +# +# Affects the ~b and ~h search operations described in +# section ``patterns'' above. If set, the headers and attachments of +# messages to be searched are decoded before searching. If unset, +# messages are searched as they appear in the folder. +# +# +# set tilde=no +# +# Name: tilde +# Type: boolean +# Default: no +# +# +# When set, the internal-pager will pad blank lines to the bottom of the +# screen with a tilde (~). +# +# +# set timeout=600 +# +# Name: timeout +# Type: number +# Default: 600 +# +# +# This variable controls the number of seconds Mutt will wait for +# a key to be pressed in the main menu before timing out and checking +# for new mail. A value of zero or less will cause Mutt not to ever +# time out. +# +# +# set tmpdir="" +# +# Name: tmpdir +# Type: path +# Default: "" +# +# +# This variable allows you to specify where Mutt will place its +# temporary files needed for displaying and composing messages. +# +# +# set to_chars=" +TCFL" +# +# Name: to_chars +# Type: string +# Default: " +TCFL" +# +# +# Controls the character used to indicate mail addressed to you. The +# first character is the one used when the mail is NOT addressed to your +# address (default: space). The second is used when you are the only +# recipient of the message (default: +). The third is when your address +# appears in the TO header field, but you are not the only recipient of +# the message (default: T). The fourth character is used when your +# address is specified in the CC header field, but you are not the only +# recipient. The fifth character is used to indicate mail that was sent +# by you. The sixth character is used to indicate when a mail +# was sent to a mailing-list you subscribe to (default: L). +# +# +# set tunnel="" +# +# Name: tunnel +# Type: string +# Default: "" +# +# +# Setting this variable will cause mutt to open a pipe to a command +# instead of a raw socket. You may be able to use this to set up +# preauthenticated connections to your IMAP/POP3 server. Example: +# +# tunnel="ssh -q mailhost.net /usr/local/libexec/imapd" +# +# NOTE: For this example to work you must be able to log in to the remote +# machine without having to enter a password. +# +# +# set use_8bitmime=no +# +# Name: use_8bitmime +# Type: boolean +# Default: no +# +# +# Warning: do not set this variable unless you are using a version +# of sendmail which supports the -B8BITMIME flag (such as sendmail +# 8.8.x) or you may not be able to send mail. +# +# When set, Mutt will invoke ``$sendmail'' with the -B8BITMIME +# flag when sending 8-bit messages to enable ESMTP negotiation. +# +# +# set use_domain=yes +# +# Name: use_domain +# Type: boolean +# Default: yes +# +# +# When set, Mutt will qualify all local addresses (ones without the +# @host portion) with the value of ``$hostname''. If unset, no +# addresses will be qualified. +# +# +# set use_from=yes +# +# Name: use_from +# Type: boolean +# Default: yes +# +# +# When set, Mutt will generate the `From:' header field when +# sending messages. If unset, no `From:' header field will be +# generated unless the user explicitly sets one using the ``my_hdr'' +# command. +# +# +# set use_ipv6=yes +# +# Name: use_ipv6 +# Type: boolean +# Default: yes +# +# +# When set, Mutt will look for IPv6 addresses of hosts it tries to +# contact. If this option is unset, Mutt will restrict itself to IPv4 addresses. +# Normally, the default should work. +# +# +# set user_agent=yes +# +# Name: user_agent +# Type: boolean +# Default: yes +# +# +# When set, mutt will add a "User-Agent" header to outgoing +# messages, indicating which version of mutt was used for composing +# them. +# +# +# set visual="" +# +# Name: visual +# Type: path +# Default: "" +# +# +# Specifies the visual editor to invoke when the ~v command is +# given in the builtin editor. +# +# +# set wait_key=yes +# +# Name: wait_key +# Type: boolean +# Default: yes +# +# +# Controls whether Mutt will ask you to press a key after shell- +# escape, pipe-message, pipe-entry, print-message, +# and print-entry commands. +# +# It is also used when viewing attachments with ``auto_view'', provided +# that the corresponding mailcap entry has a needsterminal flag, +# and the external program is interactive. +# +# When set, Mutt will always ask for a key. When unset, Mutt will wait +# for a key only if the external command returned a non-zero status. +# +# +# set weed=yes +# +# Name: weed +# Type: boolean +# Default: yes +# +# +# When set, mutt will weed headers when when displaying, forwarding, +# printing, or replying to messages. +# +# +# set wrap_search=yes +# +# Name: wrap_search +# Type: boolean +# Default: yes +# +# +# Controls whether searches wrap around the end of the mailbox. +# +# When set, searches will wrap around the first (or last) message. When +# unset, searches will not wrap. +# +# +# set wrapmargin=0 +# +# Name: wrapmargin +# Type: number +# Default: 0 +# +# +# Controls the margin left at the right side of the terminal when mutt's +# pager does smart wrapping. +# +# +# set write_inc=10 +# +# Name: write_inc +# Type: number +# Default: 10 +# +# +# When writing a mailbox, a message will be printed every +# write_inc messages to indicate progress. If set to 0, only a +# single message will be displayed before writing a mailbox. +# +# Also see the ``$read_inc'' variable. +# +# +# set write_bcc=yes +# +# Name: write_bcc +# Type: boolean +# Default: yes +# +# +# Controls whether mutt writes out the Bcc header when preparing +# messages to be sent. Exim users may wish to use this. +# +# +# -*-muttrc-*- +# +# Command formats for gpg. +# +# This version uses gpg-2comp from +# http://muppet.faveve.uni-stuttgart.de/~gero/gpg-2comp.tar.gz +# +# $Id: 10Muttrc.proto,v 1.1 2005/07/14 22:05:08 charlieb Exp $ +# +# %p The empty string when no passphrase is needed, +# the string "PGPPASSFD=0" if one is needed. +# +# This is mostly used in conditional % sequences. +# +# %f Most PGP commands operate on a single file or a file +# containing a message. %f expands to this file's name. +# +# %s When verifying signatures, there is another temporary file +# containing the detached signature. %s expands to this +# file's name. +# +# %a In "signing" contexts, this expands to the value of the +# configuration variable $pgp_sign_as. You probably need to +# use this within a conditional % sequence. +# +# %r In many contexts, mutt passes key IDs to pgp. %r expands to +# a list of key IDs. + +# Note that we explicitly set the comment armor header since GnuPG, when used +# in some localiaztion environments, generates 8bit data in that header, thereby +# breaking PGP/MIME. + +# decode application/pgp +set pgp_decode_command="/usr/bin/gpg %?p?--passphrase-fd 0? --no-verbose --quiet --batch --output - %f" + +# verify a pgp/mime signature +set pgp_verify_command="/usr/bin/gpg --no-verbose --quiet --batch --output - --verify %s %f" + +# decrypt a pgp/mime attachment +set pgp_decrypt_command="/usr/bin/gpg --passphrase-fd 0 --no-verbose --quiet --batch --output - %f" + +# create a pgp/mime signed attachment +# set pgp_sign_command="/usr/bin/gpg-2comp --comment '' --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" +set pgp_sign_command="/usr/bin/gpg --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" + +# create a application/pgp signed (old-style) message +# set pgp_clearsign_command="/usr/bin/gpg-2comp --comment '' --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" +set pgp_clearsign_command="/usr/bin/gpg --no-verbose --batch --quiet --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" + +# create a pgp/mime encrypted attachment +# set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" +set pgp_encrypt_only_command="pgpewrap /usr/bin/gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" + +# create a pgp/mime encrypted and signed attachment +# set pgp_encrypt_sign_command="pgpewrap gpg-2comp --passphrase-fd 0 -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" +set pgp_encrypt_sign_command="pgpewrap /usr/bin/gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" + +# import a key into the public key ring +set pgp_import_command="/usr/bin/gpg --no-verbose --import -v %f" + +# export a key from the public key ring +set pgp_export_command="/usr/bin/gpg --no-verbose --export --armor %r" + +# verify a key +set pgp_verify_key_command="/usr/bin/gpg --verbose --batch --fingerprint --check-sigs %r" + +# read in the public key ring +set pgp_list_pubring_command="/usr/bin/gpg --no-verbose --batch --quiet --with-colons --list-keys %r" + +# read in the secret key ring +set pgp_list_secring_command="/usr/bin/gpg --no-verbose --batch --quiet --with-colons --list-secret-keys %r" + +# fetch keys +# set pgp_getkeys_command="pkspxycwrap %r" + +# pattern for good signature - may need to be adapted to locale! + +# set pgp_good_sign="^gpg: Good signature from" + +# OK, here's a version which uses gnupg's message catalog: +set pgp_good_sign="`gettext -d gnupg -s 'Good signature from "' | tr -d '"'`" + +# +# Color definitions +# + +#color normal white default +color hdrdefault red default +color quoted brightblue default +color signature red default +color indicator brightyellow red +color error brightred default +color status yellow blue +color tree magenta default # the thread tree in the index menu +color tilde magenta default +color message brightcyan default +color markers brightcyan default +color attachment brightmagenta default +color search default green # how to hilite search patterns in the pager + +color header brightred default ^(From|Subject): +color body magenta default "(ftp|http|https)://[^ ]+" # point out URLs +color body magenta default [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses +color underline brightgreen default + +# attributes when using a mono terminal +#mono header underline ^(From|Subject): +mono quoted bold + +# use aspell +set ispell="/usr/bin/aspell --mode=email check" + diff --git a/root/etc/e-smith/templates/etc/Muttrc/20hostname b/root/etc/e-smith/templates/etc/Muttrc/20hostname new file mode 100644 index 0000000..72256be --- /dev/null +++ b/root/etc/e-smith/templates/etc/Muttrc/20hostname @@ -0,0 +1,3 @@ +{ + return "set hostname=$DomainName"; +} diff --git a/root/etc/e-smith/templates/etc/Muttrc/50folder b/root/etc/e-smith/templates/etc/Muttrc/50folder new file mode 100644 index 0000000..d00b38f --- /dev/null +++ b/root/etc/e-smith/templates/etc/Muttrc/50folder @@ -0,0 +1 @@ +set folder=imaps://localhost/ diff --git a/root/etc/e-smith/templates/etc/Muttrc/50spoolfile b/root/etc/e-smith/templates/etc/Muttrc/50spoolfile new file mode 100644 index 0000000..d0b5cf0 --- /dev/null +++ b/root/etc/e-smith/templates/etc/Muttrc/50spoolfile @@ -0,0 +1 @@ +set spoolfile=imaps://localhost/INBOX diff --git a/root/etc/e-smith/templates/etc/crontab/email b/root/etc/e-smith/templates/etc/crontab/email new file mode 100644 index 0000000..c7ae94e --- /dev/null +++ b/root/etc/e-smith/templates/etc/crontab/email @@ -0,0 +1,130 @@ + +{ + $OUT = ''; + + my $status = $fetchmail{"status"}; + + if (defined $status && $status eq "enabled") + { + my $method = $fetchmail{'Method'}; + if (($method eq 'etrn') || ($method eq 'multidrop')) + { + $OUT .= "\n"; + $OUT .= "# fetchmail times during office hours\n"; + $OUT .= "\n"; + + my $FetchmailFreqOffice = $fetchmail{'FreqOffice'}; + if ($FetchmailFreqOffice) + { + if ($FetchmailFreqOffice eq 'every5min') + { + $OUT .= "*/5\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOffice eq 'every15min') + { + $OUT .= "*/15\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOffice eq 'every30min') + { + $OUT .= "*/30\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOffice eq 'everyhour') + { + $OUT .= "0\t8-17\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOffice eq 'every2hrs') + { + $OUT .= "0\t8-17/2\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + else + { + $OUT .= "# FetchmailFreqOffice - never\n"; + } + } + else + { + $OUT .= "# FetchmailFreqOffice - not defined\n"; + } + + $OUT .= "\n"; + $OUT .= "# fetchmail times outside office hours\n"; + $OUT .= "\n"; + + my $FetchmailFreqOutside = $fetchmail{'FreqOutside'}; + if ($FetchmailFreqOutside) + { + if ($FetchmailFreqOutside eq 'every5min') + { + $OUT .= "*/5\t0-7\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "*/5\t18-23\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOutside eq 'every15min') + { + $OUT .= "*/15\t0-7\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "*/15\t18-23\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOutside eq 'every30min') + { + $OUT .= "*/30\t0-7\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "*/30\t18-23\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOutside eq 'everyhour') + { + $OUT .= "0\t0-7\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "0\t18-23\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqOutside eq 'every2hrs') + { + $OUT .= "0\t0-7/2\t*\t*\t1-5\troot\t/etc/startmail\n"; + $OUT .= "0\t18-23/2\t*\t*\t1-5\troot\t/etc/startmail\n"; + } + else + { + $OUT .= "# FetchmailFreqOutside - never\n"; + } + } + else + { + $OUT .= "# FetchmailFreqOutside - not defined\n"; + } + + $OUT .= "\n"; + $OUT .= "# fetchmail times during the weekend\n"; + $OUT .= "\n"; + + my $FetchmailFreqWeekend = $fetchmail{'FreqWeekend'}; + if ($FetchmailFreqWeekend) + { + if ($FetchmailFreqWeekend eq 'every5min') + { + $OUT .= "*/5\t*\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqWeekend eq 'every15min') + { + $OUT .= "*/15\t*\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqWeekend eq 'every30min') + { + $OUT .= "*/30\t*\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqWeekend eq 'everyhour') + { + $OUT .= "0\t*\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + elsif ($FetchmailFreqWeekend eq 'every2hrs') + { + $OUT .= "0\t*/2\t*\t*\t6-7\troot\t/etc/startmail\n"; + } + else + { + $OUT .= "# FetchmailFreqWeekend - never\n"; + } + } + else + { + $OUT .= "# FetchmailFreqWeekend - not defined\n"; + } + } + } +} + diff --git a/root/etc/e-smith/templates/etc/fetchmail/20disabled b/root/etc/e-smith/templates/etc/fetchmail/20disabled new file mode 100644 index 0000000..119af55 --- /dev/null +++ b/root/etc/e-smith/templates/etc/fetchmail/20disabled @@ -0,0 +1,15 @@ +{ + my $status = $fetchmail{'status'}; + + if (!defined $status || $status ne "enabled") + { + } + else + { + my $method = $fetchmail{'Method'}; + if (!defined $method) + { + $OUT .= "# This service is enabled but no Method is specified"; + } + } +} diff --git a/root/etc/e-smith/templates/etc/fetchmail/50ETRN b/root/etc/e-smith/templates/etc/fetchmail/50ETRN new file mode 100644 index 0000000..8e08134 --- /dev/null +++ b/root/etc/e-smith/templates/etc/fetchmail/50ETRN @@ -0,0 +1,21 @@ +{ + $OUT = ''; + return unless ($fetchmail{status} eq 'enabled' && $fetchmail{Method} eq 'etrn'); + + $OUT .= "# ETRN configuration; fetchmail sends ETRN command "; + $OUT .= "to flush mail from remote mail server:\n"; + $OUT .= "\n"; + + my $verbosity = $fetchmail{Verbosity} || "--silent"; + my $SecondaryMailServer = $fetchmail{SecondaryMailServer}; + + use esmith::DomainsDB; + + my $ddb = esmith::DomainsDB->open_ro or die "Could not open domains DB\n"; + + my @domains = map { $_->key } $ddb->get_all; + $OUT .= "/usr/bin/fetchmail --syslog $verbosity --protocol "; + $OUT .= "ETRN --fetchdomains " . join(',', @domains); + $OUT .= " $SecondaryMailServer "; + $OUT .= "> /dev/null 2>&1\n"; +} diff --git a/root/etc/e-smith/templates/etc/fetchmail/50multi-drop b/root/etc/e-smith/templates/etc/fetchmail/50multi-drop new file mode 100644 index 0000000..2625dc9 --- /dev/null +++ b/root/etc/e-smith/templates/etc/fetchmail/50multi-drop @@ -0,0 +1,72 @@ +{ + $OUT = ''; + + my $status = $fetchmail{"status"} + || 'disabled'; + my $method = $fetchmail{"Method"} + || 'standard'; + + if ($status eq "enabled" && $method eq 'multidrop') + { + # Write a fetchmail command which connects to a POP + # server, retrieves all mail from a single account, + # and feeds it to the local SMTP server. + + my $envelopeSpec = + $fetchmail{"SecondaryMailEnvelope"}; + my $SecondaryMailServer = + $fetchmail{"SecondaryMailServer"}; + my $SecondaryMailAccount = + $fetchmail{"SecondaryMailAccount"}; + my $SecondaryMailPassword = + $fetchmail{"SecondaryMailPassword"}; + $envelopeSpec = defined $envelopeSpec ? + "envelope \"$envelopeSpec\"\n" : ""; + + my $verbosity = $fetchmail{"Verbosity"} + || "--silent"; + + my $protocol = $fetchmail{"Protocol"} + || "POP3"; + + my $ssl = $fetchmail{"SSL"} + || "disabled"; + + use esmith::DomainsDB; + my $ddb = esmith::DomainsDB->open_ro(); + + my $locals = join ' ', map { $_->key } $ddb->domains; + + $OUT .= "# multi-drop configuration; fetchmail "; + $OUT .= "retrieves all mail from a remote POP mailbox:\n"; + $OUT .= "\n"; + $OUT .= "/usr/bin/fetchmail --syslog $verbosity "; + $OUT .= " -i /var/lib/fetchmail/.fetchids "; # fix SME: 11979/12131 + + my $AuthenticationMethod = + $fetchmail{"AuthenticationMethod"} + || "password"; + $OUT .= "--auth $AuthenticationMethod "; + + $OUT .= "--fetchmailrc - < +# copyright (C) 2005 Gordon Rowell +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Technical support for this program is available from Mitel Networks +# Please visit our web site www.mitel.com/sme/ for details. +#---------------------------------------------------------------------- + +use strict; +use esmith::TestUtils; +use esmith::FormMagick::Panel::emailsettings; +my $f = esmith::FormMagick::Panel::emailsettings->new(); +$f->display(); + +=head1 TESTING + + +=begin testing + +use esmith::FormMagick::Tester; +use esmith::TestUtils; +use esmith::ConfigDB; +my $panel = 'emailsettings'; +my $panel_path = "/etc/e-smith/web/functions/".$panel; +my $ua = esmith::FormMagick::Tester->new(); + + + +is (mode($panel_path), '4750', "Check permissions on script"); +ok ($ua->get_panel($panel), "ABOUT TO RUN L10N TESTS"); +is ($ua->{status}, 200, "200 OK"); +like($ua->{content}, qr/FORM_TITLE/, "Saw untranslated form title"); +ok ($ua->set_language("en-us"), "Set language to U.S. English"); +ok ($ua->get_panel($panel), "Get panel"); + +is ($ua->{status}, 200, "200 OK"); + +like($ua->{content}, qr/E-mail settings/, "Saw translated form title"); + +# Testing changes + +ok ($ua->get_panel($panel), "Testing panel retrieval"); +can_ok($ua, "field"); + + +ok ($ua->{form}->find_input('FreqWeekend'), 'Finding the FreqWeekend field'); +ok ($ua->{form}->find_input('SecondaryMailEnvelope'), 'Finding the SecondaryMailEnvelope field'); +ok ($ua->{form}->find_input('SpecifyHeader'), 'Finding the SpecifyHeader field'); +ok ($ua->{form}->find_input('SecondaryMailPassword'), 'Finding the SecondaryMailPassword field'); +ok ($ua->{form}->find_input('FreqOffice'), 'Finding the FreqOffice field'); +ok ($ua->{form}->find_input('SecondaryMailAccount'), 'Finding the SecondaryMailAccount field'); +ok ($ua->{form}->find_input('SecondaryMailServer'), 'Finding the SecondaryMailServer field'); +ok ($ua->{form}->find_input('FreqOutside'), 'Finding the FreqOutside field'); +ok ($ua->{form}->find_input('DelegateMailServer'), 'Finding the DelegateMailServer field'); +ok ($ua->{form}->find_input('FetchmailMethod'), 'Finding the FetchmailMethod field'); + +ok ($ua->get_panel($panel), "Testing panel retrieval"); +can_ok($ua, "field"); +ok ($ua->{form}->find_input('AdminEmail'), "Finding form field"); +ok ($ua->{form}->find_input('EmailUnknownUser'), "Finding form field"); +ok ($ua->{form}->find_input('SMTPSmartHost'), "Finding form field"); +ok ($ua->{form}->find_input('POPAccess'), "Finding form field"); +ok ($ua->{form}->find_input('WebMail'), "Finding form field"); + +SKIP: { + + skip 16, "Unsafe!" unless destruction_ok(); + + $ua->field('FreqWeekend' => 'never'); + $ua->field('SecondaryMailEnvelope' => 'X-Recipient'); + $ua->field('SpecifyHeader' => 'on'); + $ua->field('SecondaryMailPassword' => 'poppassword'); + $ua->field('FreqOffice' => 'every5min'); + $ua->field('SecondaryMailAccount' => 'popaccount'); + $ua->field('SecondaryMailServer' => 'ivy.fsck.com'); + $ua->field('FreqOutside' => 'every30min'); + $ua->field('DelegateMailServer' => '192.168.23.1'); + $ua->field('FetchmailMethod' => 'etrn'); + + ok ($ua->click("Save"), "Click Save"); + + is ($ua->{status}, 200, "200 OK"); + like($ua->{content}, qr/settings have been saved/, "Saw validation messages"); + +# Gotta open this later, so we don't cache stale data + my $db = esmith::ConfigDB->open; + + is ($db->get('fetchmail')->prop('FreqWeekend'), 'never', 'Validated value for FreqWeekend'); + is ($db->get('fetchmail')->prop('SecondaryMailEnvelope'), 'X-Recipient', 'Validated value for SecondaryMailEnvelope'); + is ($db->get('fetchmail')->prop('SecondaryMailPassword'), 'poppassword', 'Validated value for SecondaryMailPassword'); + is ($db->get('fetchmail')->prop('FreqOffice'), 'every5min', 'Validated value for FreqOffice'); + is ($db->get('fetchmail')->prop('SecondaryMailAccount'), 'popaccount', 'Validated value for SecondaryMailAccount'); + is ($db->get('fetchmail')->prop('SecondaryMailServer'), 'ivy.fsck.com', 'Validated value for SecondaryMailServer'); + is ($db->get('fetchmail')->prop('FreqOutside'), 'every30min', 'Validated value for FreqOutside'); + is ($db->get('DelegateMailServer')->value(), '192.168.23.1', 'Validated value for DelegateMailServer'); + is ($db->get('fetchmail')->prop('Method'), 'etrn', 'Validated value for FetchmailMethod'); + + ok ($ua->get_panel($panel), "Testing bogus IP Address"); + can_ok($ua, "field"); + + $ua->field('DelegateMailServer' => '192.168.256.1'); + is ($ua->{status}, 200, "200 OK"); + unlike($ua->{content}, qr/settings have been saved/, "Didn't see validation message"); +} + +SKIP: { + skip 8, "Unsafe!" unless destruction_ok(); + + $ua->field("AdminEmail" => 'bob'); + $ua->field("EmailUnknownUser" => 'returntosender'); + $ua->field("SMTPSmartHost" => 'foo.example.com'); + $ua->field("POPAccess" => 'public'); + $ua->field("WebMail" => 'enabled'); + ok ($ua->click("Save"), "Click Save"); + is ($ua->{status}, 200, "200 OK"); + like($ua->{content}, qr/settings have been saved/, "Settings saved"); + + # Gotta open this later, so we don't cache stale data + my $db = esmith::ConfigDB->open; + my $adb = esmith::AccountsDB->open; + + is ($adb->get('admin')->prop('ForwardAddress'), 'bob', "Set the value for Email"); + + is ($db->get('EmailUnknownUser')->value(), 'returntosender', "Set the value for Email"); + is ($db->get('SMTPSmartHost')->value(), 'foo.example.com', "Set the value for Smarthost"); + is ($db->get('pop3')->prop('access'), 'public', "Set the value for POPAccess"); + is ($db->get('horde')->prop('status'), 'enabled', "Set the value for web mail"); +} + +=end testing + +=cut + +__DATA__ +
+ + + + + + + + + + + + + + + + + DESC_STATE_ACCESS_BUTTON + + + + DESC_SECTIONBAR + + + + + + + + + + + + + + + + DESC_STATE_FILTERING_BUTTON + + + + + DESC_SECTIONBAR + + + + + + + + DESC_STATE_RECEPTION_BUTTON + + + + + DESC_SECTIONBAR + + + + + + + + + + + + DESC_STATE_DELIVERY_BUTTON + + + + + + + DESC_MODE + + + + + DESC_SMTP_AUTH_CONTROL + + + + + DESC_SECONDARY + + + + + DESC_FETCH_PERIOD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DESC_VIRUS_SCAN + + + + + DESC_SPAM_SCAN + + + + + + + + + + + + + + + + + + + + + DESC_SPAM_SUBJECT + + + + + + + + + DESC_BLOCK_EXECUTABLE_CONTENT + + + + + + + + + DESC_UNKNOWN + + + + + DESC_DELEGATE + + + + + DESC_SMARTHOST + + + + + + + + + + + + + + + + + + + + + DESC_POP_ACCESS_CONTROL + + + + + DESC_IMAP_ACCESS_CONTROL + + + + + DESC_WEBMAIL + + + + + + + SUCCESS + +
diff --git a/root/etc/e-smith/web/functions/pseudonyms b/root/etc/e-smith/web/functions/pseudonyms new file mode 100644 index 0000000..720c4fc --- /dev/null +++ b/root/etc/e-smith/web/functions/pseudonyms @@ -0,0 +1,213 @@ +#!/usr/bin/perl -wT + +#---------------------------------------------------------------------- +# heading : Collaboration +# description : Pseudonyms +# navigation : 2000 2400 +#---------------------------------------------------------------------- +# Based in part on emailalias +# copyright (C) 1999 Ip, Tak Hong +# copyright (C) 2000 Charlie Brady +#---------------------------------------------------------------------- +#---------------------------------------------------------------------- +# copyright (C) 2002 Mitel Networks Corporation +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Technical support for this program is available from Mitel Networks +# Please visit our web site www.mitel.com/sme/ for details. +#---------------------------------------------------------------------- +use strict; +use esmith::FormMagick::Panel::pseudonyms; +my $f = esmith::FormMagick::Panel::pseudonyms->new(); +$f->display(); + +=head1 TESTING + + +=begin testing + +use esmith::FormMagick::Tester; +use esmith::TestUtils; +use esmith::ConfigDB; +my $panel = 'pseudonyms'; +my $panel_path = "/etc/e-smith/web/functions/".$panel; +my $ua = esmith::FormMagick::Tester->new(); + + + +is (mode($panel_path), '4750', "Check permissions on script"); +ok ($ua->get_panel($panel), "ABOUT TO RUN L10N TESTS"); +is ($ua->{status}, 200, "200 OK"); +like($ua->{content}, qr/FORM_TITLE/, "Saw untranslated form title"); +ok ($ua->set_language("en"), "Set language to English"); +ok ($ua->get_panel($panel), "Get panel"); + +is ($ua->{status}, 200, "200 OK"); + +like($ua->{content}, qr/Create, remove or modify/, "Saw translated form title"); + +# Testing changes + +ok ($ua->get_panel($panel), "Testing panel retrieval"); +can_ok($ua, "field"); + +# Destructive testing: +if ($destruction_ok()) { + +ok ($ua->follow('Click here to create a pseudonym.')); +is ($ua->{status}, 200, "200 OK"); +$ua->field('pseudonym' => 'aaaaeveryperson'); +$ua->field('account' => 'Administrator'); +ok ($ua->click('Create'), "Clicked create"); +is ($ua->{status}, 200, "200 OK"); +like ($ua->{content}, qr/Successfully/, "Saw create success message"); +ok ($ua->get_panel($panel), "Get panel"); +like ($ua->{content}, qr/aaaaeveryperson/, "Saw newly created everyperson link"); +ok ($ua->follow(1), "modifying aaaaeveryperson"); +is ($ua->{status}, 200, "200 OK "); +print $ua->{content}; +ok ($ua->field('account' => 'Everyone')); +ok ($ua->click('Modify')); +is ($ua->{status}, 200, "200 OK"); +like ($ua->{content}, qr/Successfully/, "Saw modification success message"); +ok ($ua->get_panel($panel), "Get panel"); +like ($ua->{content}, qr/aaaaeveryperson/, "Saw modified everyperson link"); +ok ($ua->follow(2), "removing aaaaeveryperson"); +is ($ua->{status}, 200, "200 OK"); +ok ($ua->click('Remove')); +is ($ua->{status}, 200, "200 OK"); +like ($ua->{content}, qr/Successfully/, "Saw removal success message"); +ok ($ua->get_panel($panel), "Get panel"); +unlike ($ua->{content}, qr/aaaaeveryperson/, "Saw no everyperson"); + +} + +=end testing + + + +=cut + +__DATA__ +
+ + + DESCRIPTION + + + + + + + + VALID_PSEUDONYM_NAMES + + + + + + + + + + + + + + + CREATE_SUCCEEDED + + + + + + + + + DESC_PSEUDONYM_NAME + + + + + + + + + + + + + + + MODIFY_SUCCEEDED + + + + + REMOVE_PSEUDONYM + + + + + + + + + + + + NOT_A_PSEUDONYM + + + + REMOVE_SUCCEEDED + +
diff --git a/root/home/e-smith/Maildir/.junkmail/cur/.gitignore b/root/home/e-smith/Maildir/.junkmail/cur/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/home/e-smith/Maildir/.junkmail/new/.gitignore b/root/home/e-smith/Maildir/.junkmail/new/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/home/e-smith/Maildir/.junkmail/tmp/.gitignore b/root/home/e-smith/Maildir/.junkmail/tmp/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/usr/lib/systemd/system/smtp-auth-proxy.service b/root/usr/lib/systemd/system/smtp-auth-proxy.service new file mode 100644 index 0000000..89eee0b --- /dev/null +++ b/root/usr/lib/systemd/system/smtp-auth-proxy.service @@ -0,0 +1,12 @@ +[Unit] +Description=Koozali SME Server SMTP auth proxy +After=network.target remote-fs.target + +[Service] +Type=simple +ExecStartPre=/sbin/e-smith/service-status smtp-auth-proxy +ExecStart=/usr/local/sbin/smtp-auth-proxy.pl + +[Install] +WantedBy=sme-server.target + diff --git a/root/usr/lib/tmpfiles.d/fetchmail.conf b/root/usr/lib/tmpfiles.d/fetchmail.conf new file mode 100644 index 0000000..e9efaf2 --- /dev/null +++ b/root/usr/lib/tmpfiles.d/fetchmail.conf @@ -0,0 +1 @@ +d /var/lock/fetchmail 0755 qmailr qmail diff --git a/root/usr/local/sbin/smtp-auth-proxy.pl b/root/usr/local/sbin/smtp-auth-proxy.pl new file mode 100644 index 0000000..2f73f90 --- /dev/null +++ b/root/usr/local/sbin/smtp-auth-proxy.pl @@ -0,0 +1,174 @@ +#!/usr/bin/perl -w -T + +package esmith::SMTPAuthProxy; + +use strict; +use vars qw(@ISA); +use Net::Server::Fork; +use Net::SMTP; +use Net::SMTP::SSL; +use esmith::ConfigDB; + +@ISA = qw(Net::Server::Fork); + + +sub options { + my $self = shift; + my $prop = $self->{server}; + my $ref = shift; + + $self->SUPER::options($ref); + + my $config = esmith::ConfigDB->open_ro || die "Could not open config db"; + my $smtp_proxy_rec = $config->get('smtp-auth-proxy'); + + $prop->{SMTPSmartHost} = $config->get_value('SMTPSmartHost'); + $prop->{Blacklist} = $smtp_proxy_rec->prop('Blacklist') || " "; + $prop->{Userid} = $smtp_proxy_rec->prop('Userid'); + $prop->{Passwd} = $smtp_proxy_rec->prop('Passwd'); + $prop->{Debug} = $smtp_proxy_rec->prop('Debug'); + $prop->{SystemName} = $config->get_value('SystemName'); + $prop->{DomainName} = $config->get_value('DomainName'); + $prop->{PeerPort} = $smtp_proxy_rec->prop('PeerPort') || 25; + $prop->{Helo} = $config->get('qpsmtpd')->prop('HeloHost') || + "$prop->{SystemName}.$prop->{DomainName}"; +} + +esmith::SMTPAuthProxy->run( + max_servers => 4, + proto => 'tcp', + user => 'nobody', + group => 'nobody', + host => 'localhost', + port => 26); +exit; + +### over-ridden subs below + +sub process_request +{ + my $self = shift; + my $kidpid; + + my $smarthost = $self->get_property('SMTPSmartHost'); + my $port = $self->get_property('PeerPort'); + my $user = $self->get_property('user'); + my $domain_name = $self->get_property('DomainName'); + my $system_name = $self->get_property('SystemName'); + my $helo = $self->get_property('Helo'); + my $name = $self->get_property('Userid'); + my $pass = $self->get_property('Passwd'); + my $debug = (($self->get_property('Debug') || 'disabled') eq 'enabled') + ? 1 : 0; + unless ($smarthost && $system_name && $domain_name && $name && $pass) + { + print "421 Internal error\n"; + warn "Insufficient configuration for smtp-auth-proxy (SystemName)!\n" + unless $system_name; + warn "Insufficient configuration for smtp-auth-proxy (DomainName)!\n" + unless $domain_name; + warn "Insufficient configuration for smtp-auth-proxy (SMTPSmartHost)!\n" + unless $smarthost; + warn "Insufficient configuration for smtp-auth-proxy (Userid)!\n" + unless $name; + warn "Insufficient configuration for smtp-auth-proxy (Passwd)!\n" + unless $pass; + exit; + } + + my $class = ($port == 465) ? 'Net::SMTP::SSL' : 'Net::SMTP'; + my $smtp = $class->new($smarthost, + Hello => $helo, + Debug => $debug, + Port => $port, + ); + unless ($smtp) + { + print "451 Upstream SMTP server not available\n"; + warn "No SMTP connection to server $smarthost on port $port\n"; + exit; + } + + my @ehlo = $smtp->message; + + if (grep { /STARTTLS$/ } @ehlo) + { + $smtp->command('STARTTLS'); + my $response = $smtp->response; + my $status = $smtp->message; + use IO::Socket::SSL; + my $sslret = IO::Socket::SSL->start_SSL( + $smtp, + Timeout => 30, + SSL_startHandshake => 1 + ); + unless ($sslret) { + my $error = IO::Socket::SSL::errstr(); + print("454 TLS not available due to temporary reason [$error]"); + } + bless $smtp, 'Net::SMTP::SSL'; + $smtp->reset; + $smtp->hello("${system_name}.${domain_name}"); + @ehlo = $smtp->message; + } + + if ($smtp->supports("AUTH")) + { + my $authenticated = 0; + my $blacklist = $self->get_property('Blacklist') || "";; + foreach my $method (split (/ /, ${*$smtp}{'net_smtp_esmtp'}->{"AUTH"})) + { + # Skip $method if in the blacklist + if ($blacklist =~ /$method/) + { + warn "Skipping blacklisted method $method\n" if $debug; + next; + } + warn "Trying authentication method $method\n" if $debug; + # Only present one auth method at a time to NET::SMTP + {${*$smtp}{'net_smtp_esmtp'}->{"AUTH"} = $method;} + + eval { $authenticated = $smtp->auth($name, $pass); }; + + if ($@) + { + warn "exception during authentication (with $method): $@\n"; + next; + } + last if $authenticated; + warn "SMTP authentication (with $method) with ISP server failed\n"; + } + unless ($authenticated) + { + print "451 Could not auth to mail server\n"; + warn "all SMTP authentication methods failed\n"; + $smtp->quit; + exit; + } + } + else + { + warn "Upstream SMTP server does not support authentication\n"; + } + print "220 ", $smtp->banner; + + my $discard = ; # Swallow EHLO + while (my $msg = shift @ehlo) { + my $sep = (@ehlo ? "-" : " "); + print "250$sep$msg"; + } + + die "can't fork: $!" unless defined ($kidpid = fork()); + if ($kidpid) + { + print $smtp $_ while ; + kill ("TERM" => $kidpid); + } + else + { + print while <$smtp>; + kill ("TERM" => getppid()); + } +} + +1; diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/emailsettings.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/emailsettings.pm new file mode 100755 index 0000000..c157c80 --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/emailsettings.pm @@ -0,0 +1,823 @@ +#!/usr/bin/perl -w + +# +# $Id: emailsettings.pm,v 1.16 2005/09/02 15:14:18 charlieb Exp $ +# + +package esmith::FormMagick::Panel::emailsettings; + +use strict; +use esmith::ConfigDB; +use esmith::AccountsDB; +use esmith::FormMagick; +use esmith::util; +use File::Basename; +use Exporter; +use Carp; + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw( fetchmail_frequencies get_secondary_mail_use_envelope + change_settings_access change_settings_delivery change_settings_reception + blank_or_ip_number + get_current_webmail_status validate_smarthost getExtraParams + get_current_pop3_access get_current_imap_access get_current_smtp_auth + get_prop get_value +); + +our $VERSION = sprintf '%d.%03d', q$Revision: 1.16 $ =~ /: (\d+).(\d+)/; + +our $db = esmith::ConfigDB->open; +our $pattern_db = esmith::ConfigDB->open("mailpatterns"); + +# {{{ header + +=pod + +=head1 NAME + +esmith::FormMagick::Panels::emailsettings - merged email panels + +=head1 SYNOPSIS + + use esmith::FormMagick::Panels::emailsettings; + + my $panel = esmith::FormMagick::Panel::emailsettings->new(); + $panel->display(); + +=head1 DESCRIPTION + +=cut + +# {{{ new + +=head2 new(); + +Exactly as for esmith::FormMagick + +=begin testing + + +use_ok('esmith::FormMagick::Panel::emailsettings'); +use vars qw($panel); +ok($panel = esmith::FormMagick::Panel::emailsettings->new(), "Create panel object"); +isa_ok($panel, 'esmith::FormMagick::Panel::emailsettings'); + +=end testing + +=cut + +sub new { + shift; + my $self = esmith::FormMagick->new(); + $self->{calling_package} = (caller)[0]; + bless $self; + return $self; +} + +# }}} + +=head2 get_prop ITEM PROP + +A simple accessor for esmith::ConfigDB::Record::prop + +=cut + +sub get_prop +{ + my ($fm, $item, $prop, $default) = @_; + + return $db->get_prop($item, $prop) || $default; +} + +=head2 get_value ITEM + +A simple accessor for esmith::ConfigDB::Record::value + +=cut + +sub get_value +{ + my $fm = shift; + my $item = shift; + + return $db->get_value($item) || ''; +} + +=head2 get_emailunknownuser_options + +Return a hash of existing system accounts and returntosender + +=cut + +sub get_emailunknownuser_options { + my $fm = shift; + my $accounts = esmith::AccountsDB->open_ro(); + my %existingAccounts = ('admin' => $fm->localise("FORWARD_TO_ADMIN"), + 'returntosender' => $fm->localise("RETURN_TO_SENDER") ); + + foreach my $account ($accounts->get_all) { + next if $account->key eq 'everyone'; + if ($account->prop('type') =~ /(user|group|pseudonym)/) { + $existingAccounts{$account->key} = $fm->localise("FORWARD_TO") . " " . $account->key; + } + } + return(\%existingAccounts); +} + +sub get_emailunknownuser_status +{ + my ($fm, $localise) = @_; + + my $options = $fm->get_emailunknownuser_options(); + + my $val = $db->get_value('EmailUnknownUser') || "returntosender"; + + return $localise ? $fm->localise($options->{$val}) : $val; +} + +=head2 get_secondary_mail_use_envelope + +Returns on or off, based on whether or not the fetchmail "SecondaryMailEnvelope" +property is set. + +=cut + +sub get_secondary_mail_use_envelope { + + my $use_envelope = $db->get_prop('fetchmail', 'SecondaryMailEnvelope'); + if ( defined $use_envelope ) { + return ('on'); + } + else { + return ('off'); + } +} + +=head2 fetchmail_frequencies + + Returns a string of a hash of frequencies to have fetchmail check mail + +=cut + +sub fetchmail_frequencies { + + my %params = ( + 'never' => 'NEVER', + 'every5min' => 'EVERY5MIN', + 'every15min' => 'EVERY15MIN', + 'every30min' => 'EVERY30MIN', + 'everyhour' => 'EVERYHOUR', + 'every2hrs' => 'EVERY2HRS' + ); + + return ( \%params ); +} + +=head1 ACTION + +=head2 change_settings_reception + + If everything has been validated, properly, go ahead and set the new settings + +=cut + +sub change_settings_reception +{ + my ($fm) = @_; + my $q = $fm->{'cgi'}; + + my $FetchmailMethod = ( $q->param('FetchmailMethod') || 'standard' ); + + my $FetchmailFreqOffice = ( $q->param('FreqOffice') || 'every15min' ); + + my $FetchmailFreqOutside = ( $q->param('FreqOutside') || 'everyhour' ); + my $FetchmailFreqWeekend = ( $q->param('FreqWeekend') || 'everyhour' ); + my $SpecifyHeader = ( $q->param('SpecifyHeader') || 'off' ); + + my $fetchmail = $db->get('fetchmail') || $db->new_record( "fetchmail", + { type => "service", status => "disabled" } ); + + if ( $FetchmailMethod eq 'standard' ) { + $fetchmail->set_prop( 'status', 'disabled' ); + $fetchmail->set_prop( 'Method', $FetchmailMethod ); + } + else { + $fetchmail->set_prop( 'status', 'enabled' ); + $fetchmail->set_prop( 'Method', $FetchmailMethod ); + $fetchmail->set_prop( 'SecondaryMailServer', + $q->param('SecondaryMailServer') ) + unless ( $q->param('SecondaryMailServer') eq '' ); + + $fetchmail->set_prop('FreqOffice', $FetchmailFreqOffice ); + $fetchmail->set_prop('FreqOutside', $FetchmailFreqOutside ); + $fetchmail->set_prop('FreqWeekend', $FetchmailFreqWeekend ); + $fetchmail->set_prop('SecondaryMailAccount', + $q->param('SecondaryMailAccount') ) + unless ( $q->param('SecondaryMailAccount') eq '' ); + + $fetchmail->set_prop( 'SecondaryMailPassword', + $q->param('SecondaryMailPassword') ) + unless ( $q->param('SecondaryMailPassword') eq '' ); + + if ( $SpecifyHeader eq 'on' ) { + $fetchmail->merge_props( + 'SecondaryMailEnvelope' => $q->param('SecondaryMailEnvelope') ); + } + else { + $fetchmail->delete_prop('SecondaryMailEnvelope'); + } + } + + my $smtpAuth = ($q->param('SMTPAuth') || 'public'); + if ($smtpAuth eq 'public') { + $db->set_prop("qpsmtpd", "Authentication", "enabled" ); + $db->set_prop("sqpsmtpd", "Authentication", "enabled" ); + } elsif ($smtpAuth eq 'publicSSL') { + $db->set_prop("qpsmtpd", "Authentication", "disabled" ); + $db->set_prop("sqpsmtpd", "Authentication", "enabled" ); + } else { + $db->set_prop("qpsmtpd", "Authentication", "disabled" ); + $db->set_prop("sqpsmtpd", "Authentication", "disabled" ); + } + + unless ( system( "/sbin/e-smith/signal-event", "email-update" ) == 0 ) + { + $fm->error('ERROR_UPDATING_CONFIGURATION'); + return undef; + } + $fm->success('SUCCESS'); +} + +sub change_settings_delivery +{ + my ($fm) = @_; + my $q = $fm->{'cgi'}; + + my $EmailUnknownUser = ($q->param('EmailUnknownUser') || 'returntosender'); + + $db->set_value('SMTPSmartHost', $q->param('SMTPSmartHost')); + $db->set_value('DelegateMailServer', $q->param('DelegateMailServer')); + $db->set_value('EmailUnknownUser', $EmailUnknownUser); + + my $proxy = $db->get('smtp-auth-proxy'); + my %props = $proxy->props; + + for ( qw(Userid Passwd status) ) + { + $props{$_} = $q->param("SMTPAUTHPROXY_$_"); + } + + $proxy->merge_props(%props); + + unless ( system( "/sbin/e-smith/signal-event", "email-update" ) == 0 ) + { + $fm->error('ERROR_UPDATING_CONFIGURATION'); + return undef; + } + $fm->success('SUCCESS'); +} + +sub change_settings_access +{ + my ($fm) = @_; + my $q = $fm->{'cgi'}; + + my $pop3Access = ($q->param('POPAccess') || 'private'); + if ($pop3Access eq 'disabled') { + $db->set_prop('pop3', "status", "disabled" ); + $db->set_prop('pop3s', "status", "disabled" ); + } else { + $db->set_prop('pop3', "status", "enabled" ); + $db->set_prop('pop3s', "status", "enabled" ); + } + if ($pop3Access eq 'public') { + $db->set_prop('pop3', "access", "public" ); + $db->set_prop('pop3s', "access", "public" ); + } elsif ($pop3Access eq 'publicSSL') { + $db->set_prop('pop3', "access", "private" ); + $db->set_prop('pop3s', "access", "public" ); + } else { + $db->set_prop('pop3', "access", "private" ); + $db->set_prop('pop3s', "access", "private" ); + } + + my $imapAccess = ($q->param('IMAPAccess') || 'private'); + if ($imapAccess eq 'disabled') { + $db->set_prop('imap', "status", "enabled" ); + $db->set_prop('imap', "access", "localhost" ); + $db->set_prop('imaps', "status", "disabled" ); + } elsif ($imapAccess eq 'public') { + $db->set_prop('imap', "status", "enabled" ); + $db->set_prop('imap', "access", "public" ); + $db->set_prop('imaps', "status", "enabled" ); + $db->set_prop('imaps', "access", "public" ); + } elsif ($imapAccess eq 'publicSSL') { + $db->set_prop('imap', "status", "enabled" ); + $db->set_prop('imap', "access", "private" ); + $db->set_prop('imaps', "status", "enabled" ); + $db->set_prop('imaps', "access", "public" ); + } else { + $db->set_prop('imap', "status", "enabled" ); + $db->set_prop('imap', "access", "private" ); + $db->set_prop('imaps', "status", "enabled" ); + $db->set_prop('imaps', "access", "private" ); + } + + #------------------------------------------------------------ + # Set webmail state in configuration database, and access + # type for SSL + # PHP and MySQL should always be on, and are enabled by default + # We don't do anything with them here. + #------------------------------------------------------------ + + my $webmail = ($q->param('WebMail') || 'disabled'); + if ( $webmail eq "enabledSSL" || $webmail eq "enabled") { + $db->set_prop('php',"status", "enabled" ); + $db->set_prop('mariadb',"status", "enabled" ); + $db->set_prop('imp',"status", 'enabled' ); + $db->set_prop('horde',"status", 'enabled' ); + $db->set_prop('horde',"access", "public" ); + $db->set_prop('horde',"HttpsOnly", "yes" ); + } + + elsif ( $webmail eq "localnetworkSSL" || $webmail eq "localnetwork" ) { + $db->set_prop('php',"status", "enabled" ); + $db->set_prop('mariadb',"status", "enabled" ); + $db->set_prop('imp',"status", 'enabled' ); + $db->set_prop('horde',"status", 'enabled' ); + $db->set_prop('horde',"access", "private" ); + $db->set_prop('horde',"HttpsOnly", "yes" ); + } + + else { + $db->set_prop('imp',"status", 'disabled' ); + $db->set_prop('horde',"status", 'disabled' ); + } + + unless ( system( "/sbin/e-smith/signal-event", "email-update" ) == 0 ) + { + $fm->error('ERROR_UPDATING_CONFIGURATION'); + return undef; + } + + $fm->success('SUCCESS'); +} + +sub change_settings_filtering +{ + my ($fm) = @_; + my $q = $fm->{'cgi'}; + + my $virus_status = ( $q->param('VirusStatus') || 'disabled' ); + $db->set_prop("qpsmtpd", 'VirusScan', $virus_status); + + for my $param ( qw( + status + Sensitivity + TagLevel + RejectLevel + SortSpam + Subject + SubjectTag) ) + { + $db->set_prop('spamassassin', $param, $q->param("Spam$param")); + } + + my $patterns_status = $fm->adjust_patterns() ? 'enabled' : 'disabled'; + $db->set_prop("qpsmtpd", 'PatternsScan', $patterns_status); + + unless ( system( "/sbin/e-smith/signal-event", "email-update" ) == 0 ) + { + $fm->error('ERROR_UPDATING_CONFIGURATION'); + return undef; + } + + $fm->success('SUCCESS'); +} + +=pod + +=head2 blank_or_ip_number() + +Validator. Checks that the input is either blank or an IP number. This is a +wrapper around CGI::FormMagick::Validator::Network::ip_number(). + +=for testing +is($panel->blank_or_ip_number(),'OK','blank_or_ip_number'); +is($panel->blank_or_ip_number(''),'OK',' .. blank is valid'); +is($panel->blank_or_ip_number('1.2.3.4'),'OK',' .. "1.2.3.4" is valid'); +isnt($panel->blank_or_ip_number('bad'),'OK',' .. "bad" is invalid'); + +=cut + +sub blank_or_ip_number +{ + my ($self,$value) = @_; + + return 'OK' unless (defined $value); # undef is blank + return 'OK' if ($value =~ /^$/); # blank is blank + return $self->call_fm_validation("ip_number",$value,''); # otherwise, validate the input +} + +=pod + +=head2 get_retrieval_options + +Returns the options values for the retrieval mode select box. In private +S&G mode, we only support multidrop. + +=cut +sub get_retrieval_options +{ + return $db->get("SystemMode")->value eq "servergateway-private" + ? {'multidrop' => 'MULTIDROP'} + : {'standard' => 'STANDARD', + 'etrn' => 'ETRN', + 'multidrop' => 'MULTIDROP'}; +} + +sub get_current_retrieval +{ + my ($fm, $localise) = @_; + + my $method = $db->get_prop('fetchmail', 'Method'); + + my $options = get_retrieval_options(); + + return $localise ? $fm->localise($options->{$method}) : $method; +} + +=head2 get_current_pop3_access + +returns "private", "public" or "publicSSL", depending on whether +the various components of the pop3 subsystem are currently enabled + +=cut + +sub get_current_pop3_access { + my ($fm, $localise) = @_; + + my $pop3Status = $db->get_prop('pop3', 'status') || 'enabled'; + my $pop3Access = $db->get_prop('pop3', 'access') || 'private'; + + my $pop3sStatus = $db->get_prop('pop3s', 'status') || 'enabled'; + my $pop3sAccess = $db->get_prop('pop3s', 'access') || 'private'; + + my $options = get_pop_options(); + + if ($pop3Status ne 'enabled' && $pop3sStatus ne 'enabled') + { + return $localise ? $fm->localise($options->{disabled}) : 'disabled'; + } + elsif ($pop3Status eq 'enabled' && $pop3Access eq 'public') + { + return $localise ? $fm->localise($options->{public}) : 'public'; + } + elsif ($pop3sStatus eq 'enabled' && $pop3sAccess eq 'public') + { + return $localise ? $fm->localise($options->{publicSSL}) : 'publicSSL'; + } + return $localise ? $fm->localise($options->{private}) : 'private'; +} + +=head2 get_current_imap_access + +returns "private", "public" or "publicSSL", depending on whether +the various components of the imap subsystem are currently enabled + +=cut + +sub get_current_imap_access { + my ($fm, $localise) = @_; + + my $imapStatus = $db->get_prop('imap', 'status') || 'enabled'; + my $imapAccess = $db->get_prop('imap', 'access') || 'private'; + + my $imapsStatus = $db->get_prop('imaps', 'status') || 'enabled'; + my $imapsAccess = $db->get_prop('imaps', 'access') || 'private'; + + my $options = get_imap_options(); + + if (($imapStatus ne 'enabled' || $imapAccess eq 'localhost') && $imapsStatus ne 'enabled') + { + return $localise ? $fm->localise($options->{disabled}) : 'disabled'; + } + if ($imapStatus eq 'enabled' && $imapAccess eq 'public') + { + return $localise ? $fm->localise($options->{public}) : 'public'; + } + elsif ($imapsStatus eq 'enabled' && $imapsAccess eq 'public') + { + return $localise ? $fm->localise($options->{publicSSL}) : 'publicSSL'; + } + return $localise ? $fm->localise($options->{private}) : 'private'; +} + +=head2 get_current_smtp_auth + +returns "disabled", "public" or "publicSSL", depending on whether +the various components of the smtp auth subsystem are currently enabled + +=cut + +sub get_current_smtp_auth { + + my ($fm, $localise) = @_; + + my $smtpStatus = $db->get_prop('qpsmtpd', 'status') || 'enabled'; + my $smtpAuth = $db->get_prop('qpsmtpd', 'Authentication') || 'enabled'; + + my $smtpsStatus = $db->get_prop('sqpsmtpd', 'status') || 'enabled'; + my $smtpsAuth = $db->get_prop('sqpsmtpd', 'Authentication') || 'enabled'; + + my $options = get_smtp_auth_options(); + + if ($smtpStatus eq 'enabled' && $smtpAuth eq 'enabled') + { + return $localise ? $fm->localise($options->{public}) : 'public'; + } + elsif ($smtpsStatus eq 'enabled' && $smtpsAuth eq 'enabled') + { + return $localise ? $fm->localise($options->{publicSSL}) : 'publicSSL'; + } + return $localise ? $fm->localise($options->{disabled}) : 'disabled'; +} + +=head2 get_current_webmail_status + +returns "disabled", "localnetworkSSL" or "enabledSSL", depending on whether +the various components of the webmail subsystem are currently enabled + +=cut + +sub get_current_webmail_status { + + my ($fm, $localise) = @_; + + # determine status of webmail + my $WebmailStatus = "disabled"; + + my $IMPStatus = $db->get_prop('imp', 'status') || 'disabled'; + + my $HordeStatus = $db->get_prop('horde', 'status') || 'disabled'; + + my $MysqlStatus = $db->get_prop('mariadb', 'status') || 'disabled'; + + my $PHPStatus = $db->get_prop('php', 'status') || 'disabled'; + + my $Networkaccess = $db->get_prop('horde','access') || 'disabled'; + + # all four components must be on for webmail to be working + if ( ( $IMPStatus eq "enabled" ) + && ( $HordeStatus eq "enabled" ) + && ( $MysqlStatus eq "enabled" ) + && ( $PHPStatus eq "enabled" ) + && ( $Networkaccess eq "public")) + { + $WebmailStatus = "enabledSSL" ; + } + + elsif ( ( $IMPStatus eq "enabled" ) + && ( $HordeStatus eq "enabled" ) + && ( $MysqlStatus eq "enabled" ) + && ( $PHPStatus eq "enabled" ) + && ( $Networkaccess eq "private" )) + { + $WebmailStatus = "localnetworkSSL"; + } + + my $options = get_webmail_options(); + + return $localise ? $fm->localise($options->{$WebmailStatus}) + : $WebmailStatus; + +} + +# {{{ Validation + +=head1 VALIDATION ROUTINES + +=head2 validate_smarthost + +Returns OK if smarthost is valid. + +Returns SMARTHOST_VALIDATION_ERROR and pushes us back to the first page otherwise. + +=begin testing + +ok(validate_smarthost('','foo.com') eq 'OK', 'foo.com is a valid host'); +ok(validate_smarthost('','') eq 'OK', 'undef is a valid host'); +ok(validate_smarthost('','fleeble') eq 'INVALID_SMARTHOST', '"fleeble" is not a valid host'); + + +=end testing + +=cut + +sub validate_smarthost { + my $fm = shift; + my $smarthost = shift; + + return ('OK') if ( $smarthost =~ /^(\S+\.\S+)$/ ); + + return ('OK') if ( $smarthost eq '' ); + + return "INVALID_SMARTHOST"; + +} + +=pod + +=head2 getExtraParams + +Returns some extra values for localise() that are used to evaluate embedded +vars in localised text. + +=cut + +sub getExtraParams +{ + my $conf = esmith::ConfigDB->open(); + my $systemName = $conf->get('SystemName'); + my $domainName = $conf->get('DomainName'); + + $systemName = $systemName->value if ($systemName); + $domainName = $domainName->value if ($domainName); + + return (FQDN => join('.', ($systemName, $domainName))); +} + +sub get_patterns_status +{ + my ($self, $localise) = @_; + + my $status = $db->get_prop("qpsmtpd", 'PatternsScan') || 'disabled'; + + return $localise ? $self->localise_status($status) : $status; +} + +sub adjust_patterns +{ + my $fm = shift; + my $q = $fm->{'cgi'}; + + my @selected; + + push @selected, $q->param('BlockExecutableContent'); + + foreach my $pattern ( $pattern_db->get_all_by_prop( type => "pattern") ) + { + my $status = (grep $pattern->key eq $_, @selected) ? 'enabled' + : 'disabled'; + $pattern->set_prop('Status', $status); + } + + $pattern_db->reload; + + return scalar @selected; +} + +sub get_patterns_options +{ + my $self = shift; + + my %options; + + foreach my $pattern ( $pattern_db->get_all_by_prop( type => "pattern" ) ) + { + my %props = $pattern->props; + + $options{$pattern->key} = $props{'Description'}; + } + + return \%options; +} + +sub get_patterns_current_options +{ + my $self = shift; + + my @selected; + + foreach my $pattern ( $pattern_db->get_all_by_prop( type => "pattern" ) ) + { + my %props = $pattern->props; + + push @selected, $pattern->key if ($props{'Status'} eq 'enabled'); + } + + return \@selected; +} + +sub get_smtp_auth_options +{ + my %options = ( disabled => 'DISABLED', publicSSL => 'SECURE_SMTP', public => 'INSECURE_SMTP'); + + \%options; +} + +sub get_pop_options +{ + my %options = ( + disabled => 'DISABLED', + private => 'NETWORKS_ALLOW_LOCAL', + publicSSL => 'SECURE_POP3' + ); + + my $access = $db->get_prop('pop3', 'access') || 'private'; + + $options{public} = 'INSECURE_POP3' if ($access eq 'public'); + + \%options; +} + +sub get_imap_options +{ + my %options = ( + disabled => 'DISABLED', + private => 'NETWORKS_ALLOW_LOCAL', + publicSSL => 'SECURE_IMAP' + ); + + my $access = $db->get_prop('imap', 'access') || 'private'; + + $options{public} = 'INSECURE_IMAP' if ($access eq 'public'); + + \%options; +} + +sub get_webmail_options +{ + my %options = ( disabled => 'DISABLED', + enabledSSL => 'ENABLED_SECURE_ONLY', + localnetworkSSL => 'ONLY_LOCAL_NETWORK_SSL' ); + + \%options; +} + +sub get_virus_status +{ + my ($self, $localise) = @_; + + my $status = $db->get_prop("qpsmtpd", 'VirusScan') || 'disabled'; + + return $localise ? $self->localise_status($status) : $status; +} + +sub get_spam_status +{ + my ($self, $localise) = @_; + + my $status = $db->get_prop('spamassassin', 'status') || 'disabled'; + + return $localise ? $self->localise_status($status) : $status; +} + +sub get_spam_level_options +{ + return [ 0..20 ]; +} + +sub display_multidrop +{ + my $status = $db->get_prop('fetchmail', 'status') || 'disabled'; + + # XXX FIXME - WIP + # Only display ETRN/multidrop settings if relevant + # To do this, we need an "Show ETRN/multidrop settings" button + # in standard mode. + + # return ($status eq 'enabled'); + return 1; +} + +sub localise_status +{ + my ($self, $status) = @_; + + return $self->localise($status eq 'enabled' ? 'ENABLED' : 'DISABLED'); +} + +sub nonblank_if_smtpauth +{ + my ($fm, $value) = @_; + + my $q = $fm->{'cgi'}; + + return "OK" unless ($q->param("SMTPAUTHPROXY_status") eq 'enabled'); + + return ($value =~ /\S+/) ? "OK" : "VALIDATION_SMTPAUTH_NONBLANK"; +} + +sub display_access_page +{ + for ( qw(imp imap pop3) ) + { + return 1 if $db->get_prop($_, 'type'); + } + + return 0; +} + +1; diff --git a/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/pseudonyms.pm b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/pseudonyms.pm new file mode 100644 index 0000000..6521ccd --- /dev/null +++ b/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/pseudonyms.pm @@ -0,0 +1,594 @@ +#!/usr/bin/perl -w + +# +# $Id: pseudonyms.pm,v 1.20 2005/04/26 15:39:42 charlieb Exp $ +# + +package esmith::FormMagick::Panel::pseudonyms; + +use strict; +use esmith::AccountsDB; +use esmith::ConfigDB; +use esmith::FormMagick; +use esmith::util; +use File::Basename; +use Exporter; +use Carp; +use URI::Escape; + +our @ISA = qw(esmith::FormMagick Exporter); + +our @EXPORT = qw( + get_prop + get_value + get_cgi_param + performCreatePseudonym + performModifyPseudonym + performRemovePseudonym + existing_accounts + print_begin_page + print_hidden_pseudonym_field + get_pseudonym_account + is_pseudonym_internal + is_pseudonym_not_removable + validate_new_pseudonym_name + validate_is_pseudonym +); + +our $VERSION = sprintf '%d.%03d', q$Revision: 1.20 $ =~ /: (\d+).(\d+)/; + +our $config = esmith::ConfigDB->open(); +our $accounts = esmith::AccountsDB->open(); + + +# {{{ header + +=pod + +=head1 NAME + +esmith::FormMagick::Panels::pseudonyms - useful panel functions + +=head1 SYNOPSIS + + use esmith::FormMagick::Panels::pseudonyms; + + my $panel = esmith::FormMagick::Panel::pseudonyms->new(); + $panel->display(); + +=head1 DESCRIPTION + +=cut + +# }}} + +# {{{ new + +=head2 new(); + +Exactly as for esmith::FormMagick + +=begin testing + + +use_ok('esmith::FormMagick::Panel::pseudonyms'); +use vars qw($panel); +ok($panel = esmith::FormMagick::Panel::pseudonyms->new(), "Create panel object"); +isa_ok($panel, 'esmith::FormMagick::Panel::pseudonyms'); + +=end testing + +=cut + +sub new { + shift; + my $self = esmith::FormMagick->new(); + $self->{calling_package} = (caller)[0]; + bless $self; + return $self; +} + +# }}} + +=head2 get_cgi_param FM FIELD + +Returns the named CGI parameter as a string + +=cut + +sub get_cgi_param { + my $fm = shift; + my $param = shift; + + return ($fm->{'cgi'}->param($param)); +} + +# {{{ get_prop + +=head2 get_prop ITEM PROP + +A simple accessor for esmith::ConfigDB::Record::prop + +=cut + +sub get_prop { + my $fm = shift; + my $item = shift; + my $prop = shift; + + my $record = $config->get($item); + if ($record) { + return $record->prop($prop); + } + else { + return ''; + } +} + +# }}} + +# {{{ get_value + +=head2 get_value ITEM + +A simple accessor for esmith::ConfigDB::Record::value + +=cut + +sub get_value { + my $fm = shift; + my $item = shift; + + my $record = $config->get($item); + if ($record) { + return $record->value(); + } + else { + return ''; + } +} + +# }}} + +=head1 ACTION + +=head2 performCreatePseudonym + +Create a new pseudonym + +=cut + +# {{{ performCreatePseudonym + +sub performCreatePseudonym { + my $fm = shift; + my $q = $fm->{'cgi'}; + my $account = $q->param ('account'); + my $pseudonym = uri_unescape($q->param('pseudonym')); + my $internal = $q->param ('internal') || 'NO'; + my $msg = "OK"; + + $accounts->new_record($pseudonym, { type => 'pseudonym', + Account => $account} ) + or $msg = "Error occurred while creating pseudonym in database."; + + if ($internal eq "YES") { + my %props = ('Account' => $pseudonym); + $props{'Visible'} = 'internal'; + $props{'internal'} = $internal; + $accounts->get($pseudonym)->merge_props(%props) + or $msg = "Error occurred while modifying pseudonym in database."; + } + # Untaint $pseudonym before use in system() + ($pseudonym) = ($pseudonym =~ /([\w\p{L}.]+)/); + system( "/sbin/e-smith/signal-event", "pseudonym-create", "$pseudonym",) + == 0 or $msg = "Error occurred while creating pseudonym."; + + if ($msg eq "OK") + { + $q->delete('account'); + $q->delete('pseudonym'); + $fm->success('CREATE_SUCCEEDED'); + } + else + { + $fm->error($msg); + } +} +# }}} + +# {{{ performModifyPseudonym + +=head2 performModifyPseudonmy + +Modify a pseudonym. + +=cut + +sub performModifyPseudonym { + my $fm = shift; + my $q = $fm->{'cgi'}; + my $msg = "OK"; + + my $pseudonym = uri_unescape($q->param ('pseudonym')); + my $account = $q->param ('account'); + my $internal = $q->param ('internal') || 'NO'; + my $removable = $accounts->get($pseudonym)->prop('Removable') || 'yes'; + + my %props = ('Account' => $account); + + if ($removable eq 'yes') { + if ($internal eq "YES") { $props{'Visible'} = 'internal'; } + else { $accounts->get($pseudonym)->delete_prop('Visible'); } + } + + $accounts->get($pseudonym)->merge_props(%props) + or $msg = "Error occurred while modifying pseudonym in database."; + + # Untaint $pseudonym before use in system() + ($pseudonym) = ($pseudonym =~ /([\w\p{L}.]+)/); + system( "/sbin/e-smith/signal-event", "pseudonym-modify", "$pseudonym",) + == 0 or $msg = "Error occurred while modifying pseudonym."; + + if ($msg eq "OK") + { + $q->delete('account'); + $q->delete('pseudonym'); + $q->delete('internal'); + $fm->success('MODIFY_SUCCEEDED'); + } + else + { + $fm->error($msg); + } +} +# }}} + +# {{{ performRemovePseudonym + +sub performRemovePseudonym { + my $fm = shift; + my $q = $fm->{'cgi'}; + my $msg = "OK"; + + my $pseudonym = uri_unescape($q->param('pseudonym')); + + unless($fm->validate_is_pseudonym($pseudonym) eq 'OK') { + $fm->{cgi}->param( -name => 'wherenext', -value => 'InvalidPseudonym' ); + return ''; + } + + #------------------------------------------------------------ + # Make the pseudonym inactive, signal pseudonym-delete event + # and then delete it + #------------------------------------------------------------ + + my @pseudonyms = $accounts->pseudonyms(); + + foreach my $p_rec (@pseudonyms) { + if ($p_rec->prop("Account") eq $pseudonym) { + $accounts->get($p_rec->key)->set_prop('type','pseudonym-deleted') + or $msg = "Error occurred while changing pseudonym type."; + } + } + + $accounts->get($pseudonym)->set_prop('type','pseudonym-deleted') + or $msg = "Error occurred while changing pseudonym type."; + + # Untaint $pseudonym before use in system() + ($pseudonym) = ($pseudonym =~ /([\w\p{L}.]+)/); + system( "/sbin/e-smith/signal-event", "pseudonym-delete", "$pseudonym") == 0 + or $msg = "Error occurred while removing pseudonym."; + + #TODO: is it ->delete or get()->delete + foreach my $p_rec (@pseudonyms) { + if ($p_rec->prop("Account") eq $pseudonym) { + next unless $p_rec->type eq "pseudonym-deleted"; + $accounts->get($p_rec->key)->delete() + or $msg = "Error occurred while deleting pseudonym from database."; + } + } + + $accounts->get($pseudonym)->delete() + or $msg = "Error occurred while deleting pseudonym from database."; + + if ($msg eq "OK") + { + $q->delete('pseudonym'); + $fm->success('REMOVE_SUCCEEDED'); + } + else + { + $fm->error($msg); + } + + return ''; +} + +# }}} remove pseudonym + +# {{{ existing_accounts + +=head2 existing_accounts + +Return a hash of exisitng system accounts + +=cut + +sub existing_accounts { + my $fm = shift; + my %existingAccounts = ('admin' => "Administrator" ); + + foreach my $account ($accounts->get_all) { + if ($account->prop('type') =~ /(user|group)/) { + $existingAccounts{$account->key} = $account->key; + } + if ($account->prop('type') eq "pseudonym") { + my $target = $accounts->get($account->prop('Account')); + + unless ($target) + { + warn "WARNING: pseudonym (" + . $account->key + . ") => missing Account(" + . $account->prop('Account') + . ")\n"; + next; + } + + $existingAccounts{$account->key} = $account->key + unless ($target->prop('type') eq "pseudonym"); + } + } + return(\%existingAccounts); +} + +# }}} + +# {{{ print_begin_page + +=head2 print_begin_page + +Print the initial page of the ofrm + +=cut + +sub print_begin_page { + my $fm = shift; + my $q = $fm->{'cgi'}; + my @emailPseudonyms; + # Need to untie and re-tie the accounts database to ensure changes + # are recognised. + foreach my $account ($accounts->get_all()) { + my $type = $account->prop('type'); + my $key = $account->key(); + push (@emailPseudonyms, $key) if ($type eq 'pseudonym'); + } + my $urlprefix = $fm->build_cgi_params(uri_unescape($q->param('pseudonym'))); + print " \n \n"; + print $q->p($q->a({href => "pseudonyms?$urlprefix&wherenext=Create", -class => "button-like"}, + $fm->localise("CLICK_TO_CREATE"))); + + my $numPseudonyms = @emailPseudonyms; + if ($numPseudonyms == 0) { + print $q->h2($fm->localise('NO_PSEUDONYMS')); + } else { + print $q->h2($fm->localise('CURRENT_PSEUDONYMS')); + print $q->start_table ({-CLASS => "sme-border"}); + print " ".$fm->localise('PSEUDONYM') ."\n". + " ".$fm->localise('USER_OR_GROUP') . "\n" . + " ".$fm->localise('ACTION') . "\n"; + + foreach my $pseudonym (sort @emailPseudonyms) { + my $account = $accounts->get($pseudonym)->prop('Account'); + + $account = "Administrator" if ($account eq "admin"); + $account = $fm->localise("EVERYONE") if ($account eq "shared"); + + my $removable = $accounts->get($pseudonym)->prop('Removable') || 'yes'; + my $changeable = $accounts->get($pseudonym)->prop('Changeable') || 'yes'; + + my $visible = $accounts->get($pseudonym)->prop('Visible'); + $account .= $fm->localise("LOCAL_ONLY") + if (defined $visible && $visible eq "internal"); + + my $urlprefix = $fm->build_cgi_params($pseudonym); + print " \n" . + " $pseudonym\n" . + " $account\n"; + if ($changeable eq 'no') { + print "  \n"; + } else { + print " ".$q->a({href => "pseudonyms?$urlprefix&wherenext=Modify"},$fm->localise("MODIFY"))."\n"; + } + if ($removable eq 'no') { + print "  \n"; + } else { + print " ".$q->a({href => "pseudonyms?$urlprefix&wherenext=Remove"},$fm->localise("REMOVE"))."\n"; + } + print ""; + } + + print $q->end_table,"\n"; + } + print ""; + return ''; +} + +# }}} + +# {{{ get_pseudonym_account + +=head2 get_pseudonym_account + +Returns the current Account property for this pseudonym + +=cut + +sub get_pseudonym_account { + my $fm = shift; + my $q = $fm->{'cgi'}; + my $pseudonym = uri_unescape($q->param('pseudonym')); + my $account = $accounts->get($pseudonym)->prop('Account'); + if ($account eq "admin") { + $account = "Administrator"; + } elsif ($account eq "shared") { + $account = $fm->localise("EVERYONE"); + } + return($account); +} +# }}} + +# {{{ is_pseudonym_not_removable + +=head2 is_pseudonym_not_removable + +Returns 1 if the current Account is not removable, 0 otherwise + +=cut + +sub is_pseudonym_not_removable { + my $fm = shift; + my $q = $fm->{'cgi'}; + my $pseudonym = uri_unescape($q->param('pseudonym')); + my $removable = $accounts->get($pseudonym)->prop('Removable') || 'yes'; + return 1 if ($removable eq 'yes'); + return 0; +} +# }}} + +# {{{ is_pseudonym_internal + +=head2 is_pseudonym_internal + +Returns YES if the current Account property Visible is 'internal' + +=cut + +sub is_pseudonym_internal { + my $fm = shift; + my $q = $fm->{'cgi'}; + my $pseudonym = uri_unescape($q->param('pseudonym')); + my $visible = $accounts->get($pseudonym)->prop('Visible') || ''; + return 'YES' if ($visible eq 'internal'); + return 'NO'; +} +# }}} + +# {{{ validate_new_pseudonym_name + +=head2 validate_new_pseudonym_name FM PSEUDONYM + +Returns "OK" if the pseudonym starts with a letter or number and +contains only letters, numbers, . - and _ and isn't taken + +Returns "VALID_PSEUDONYM_NAMES" if the name contains invalid chars + +Returns "NAME_IN_USE" if this pseudonym is taken. + +=begin testing + +ok(esmith::FormMagick::Panel::pseudonyms::validate_new_pseudonym_name('',"23skidoo") eq 'OK', "23skidoo is a valid pseudonym"); +ok(esmith::FormMagick::Panel::pseudonyms::validate_new_pseudonym_name('',"_23skidoo") ne 'OK', "_23skidoo is not a valid pseudonym"); +ok(esmith::FormMagick::Panel::pseudonyms::validate_new_pseudonym_name('',"_23skidoo") eq 'VALID_PSEUDONYM_NAMES', "_23skidoo is an invalid pseudonym"); + +=end testing + + +=cut + +sub validate_new_pseudonym_name { + my $fm = shift; + my $pseudonym = shift; + + my $acct = $accounts->get($pseudonym); + if (defined $acct) { + return('NAME_IN_USE'); + } + elsif ($pseudonym =~ /@/) + { + use esmith::DomainsDB; + + my $ddb = esmith::DomainsDB->open_ro + or die "Couldn't open DomainsDB\n"; + + my ($lhs, $rhs) = split /@/, $pseudonym; + + return ('PSEUDONYM_INVALID_DOMAIN') unless ($ddb->get($rhs)); + + return ('PSEUDONYM_INVALID_SAMEACCT') + if ($lhs eq $fm->{'cgi'}->param('account')); + + return ('OK'); + } + elsif ($pseudonym !~ /^([a-z0-9][a-z0-9\.\-_!#\?~\$\^\+&`%\/\*]*)$/) + { + return('VALID_PSEUDONYM_NAMES'); + } + else { + return('OK'); + } +} + +# }}} + +# {{{ validate_is_pseudonym + +=head2 validate_is_pseudonym FM NAME + +returns "OK" if it is. +returns "NOT_A_PSUEDONYM" if the name in question isn't an existing pseudonym + +=cut + +sub validate_is_pseudonym { + my $fm = shift; + my $pseudonym = shift; + $pseudonym = $accounts->get($pseudonym); + return('NOT_A_PSEUDONYM') unless $pseudonym; + my $type = $pseudonym->prop('type'); + + unless (defined $type && ($type eq 'pseudonym') ) { + + return('NOT_A_PSEUDONYM'); + } + return ('OK'); +} + +# }}} + +=head2 build_cgi_params() + +Builds a CGI query string, using various sensible +defaults and esmith::FormMagick's props_to_query_string() method. + +=cut + +sub build_cgi_params { + my ($fm, $pseudonym) = @_; + + my %props = ( + page => 0, + page_stack => "", + ".id" => $fm->{cgi}->param('.id') || "", + pseudonym => $pseudonym, + ); + + return $fm->props_to_query_string(\%props); +} + +=head2 print_hidden_pseudonym_field FM + +prints a hidden form field containing the current value of the pseudonym +attribute + + +=cut + +sub print_hidden_pseudonym_field { + my $fm = shift; + print "{'cgi'}->param('pseudonym'))."\">"; + return ''; +} + +1; diff --git a/root/var/lib/fetchmail/.gitignore b/root/var/lib/fetchmail/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/var/lock/fetchmail/.gitignore b/root/var/lock/fetchmail/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/root/var/log/smtp-auth-proxy/.gitignore b/root/var/log/smtp-auth-proxy/.gitignore new file mode 100644 index 0000000..e69de29