Hello you can notice some problem with uebimiau to send mail, check mail aso...
Install it with DA ./webmail.sh script
assuming your mail is local and you want use imap & smtp,
not pop3 slow and using space, and you want avoid php send mail through apache ( sendmail & php mail() )
configure as default with small modifications :
var/www/html/webmail/inc/config.php
########################################################################
# TYPE: ONE-FOR-ALL
# the default mail server for all domains
########################################################################
$default_mail_server = "localhost";
//$one_for_all_login_type = "%user%";
//$default_protocol = "pop3";
//$default_port = "110";
$one_for_all_login_type = "%user%@%domain%";
$default_protocol = "imap";
$default_port = "143";
$default_folder_prefix = "";
########################################################################
# Specify mail transport
# Allowed values:
# "smtp" - To use an external SMTP Server specified in $smtp_server
# "sendmail" - To server's sendmail-compatible MTA. If you need to change
# the path, look into /inc/class.phpmailer.php and search for
# var $Sendmail = "/usr/sbin/sendmail";
# "mail" - To use default PHP's mail() function
########################################################################
$mailer_type = "smtp";
#$mailer_type = "sendmail";
... And the fastest fix i found to avoid non rfc2821 reject (even from your server) because helo ip address and no FQDN
change var/www/html/webmail/inc/class.phpmailler.php line 176
/**
* Sets the SMTP HELO of the message (Default is $Hostname).
* @var string
*/
var $Helo = "your_true_FQDN_hostname";
Free to post better idea.
You can even use http://www.telaen.org/ derived uebimiau version to have better security and updated script
in this case do not forget to copy default config and chown to apache.apache, then set according your needs.
Install it with DA ./webmail.sh script
assuming your mail is local and you want use imap & smtp,
not pop3 slow and using space, and you want avoid php send mail through apache ( sendmail & php mail() )
configure as default with small modifications :
var/www/html/webmail/inc/config.php
########################################################################
# TYPE: ONE-FOR-ALL
# the default mail server for all domains
########################################################################
$default_mail_server = "localhost";
//$one_for_all_login_type = "%user%";
//$default_protocol = "pop3";
//$default_port = "110";
$one_for_all_login_type = "%user%@%domain%";
$default_protocol = "imap";
$default_port = "143";
$default_folder_prefix = "";
########################################################################
# Specify mail transport
# Allowed values:
# "smtp" - To use an external SMTP Server specified in $smtp_server
# "sendmail" - To server's sendmail-compatible MTA. If you need to change
# the path, look into /inc/class.phpmailer.php and search for
# var $Sendmail = "/usr/sbin/sendmail";
# "mail" - To use default PHP's mail() function
########################################################################
$mailer_type = "smtp";
#$mailer_type = "sendmail";
... And the fastest fix i found to avoid non rfc2821 reject (even from your server) because helo ip address and no FQDN
change var/www/html/webmail/inc/class.phpmailler.php line 176
/**
* Sets the SMTP HELO of the message (Default is $Hostname).
* @var string
*/
var $Helo = "your_true_FQDN_hostname";
Free to post better idea.
You can even use http://www.telaen.org/ derived uebimiau version to have better security and updated script
in this case do not forget to copy default config and chown to apache.apache, then set according your needs.