PostfixAdmin for BananaNetwork - to apply required patches before release or release in async to the official version https://github.com/postfixadmin/postfixadmin
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Christian Boltz c4fd99baa7 MailboxHandler.php:
- use smtp_get_admin_email() to get the sender for the welcome mail
- add a check for empty (shouldn't happen in theory) or 'CLI' username
  and use the mailbox address as fallback

This is based on Dale's patch, but completely rewritten (what a big word
for two lines of code ;-)  Dale had only added the line
 if(empty($fFrom)) $fFrom = $this->username;

My version is tested with CLI with both $CONF[admin_email] set and empty.

This commit is part of the huge cleanup patch by Dale Blount (lnxus@SF),
https://sourceforge.net/tracker/?func=detail&atid=937966&aid=3370510&group_id=191583


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1127 a1433add-5e2c-0410-b055-b7f2511e0802
14 years ago
ADDITIONS
DOCUMENTS
VIRTUAL_VACATION
admin
configs
css default.css: 14 years ago
debian
images default.css: 14 years ago
languages ja.lang: 14 years ago
model MailboxHandler.php: 14 years ago
scripts
smarty
templates message.tpl: 14 years ago
tests
users users/edit-alias.php, users/password.php, users/vacation.php, users/login.php: 14 years ago
CHANGELOG.TXT
GPL-LICENSE.TXT
INSTALL.TXT
LICENSE.TXT
backup.php
broadcast-message.php sendmail.php, broadcast-message.php: 14 years ago
calendar.js
common.php
config.inc.php config.inc.php 14 years ago
create-admin.php create-admin.php 14 years ago
create-alias-domain.php edit-alias.php, edit-domain.php, edit-vacation.php, 14 years ago
create-alias.php create-alias.php: 14 years ago
create-domain.php create-domain.php: 14 years ago
create-mailbox.php create-mailbox.php: 14 years ago
delete.php
edit-active-admin.php
edit-active-domain.php
edit-active.php
edit-admin.php edit-admin.php: 14 years ago
edit-alias.php edit-alias.php, edit-domain.php, edit-vacation.php, 14 years ago
edit-domain.php edit-alias.php, edit-domain.php, edit-vacation.php, 14 years ago
edit-mailbox.php edit-mailbox.php: 14 years ago
edit-vacation.php edit-vacation.php: whitespace changes 14 years ago
fetchmail.php fetchmail.php: 14 years ago
functions.inc.php functions.inc.php 14 years ago
index.php
list-admin.php
list-domain.php
list-virtual.php
login.php
logout.php
main.php
password.php edit-alias.php, edit-domain.php, edit-vacation.php, 14 years ago
sendmail.php sendmail.php, broadcast-message.php: 14 years ago
setup.php
smarty.inc.php smarty.inc.php: 14 years ago
upgrade.php
variables.inc.php variables.inc.php, 14 years ago
viewlog.php edit-alias.php, edit-domain.php, edit-vacation.php, 14 years ago
xmlrpc.php