George Chelidze wrote:
> Hello,
>
> I have successfully install ilohamail 0.8.14-0rc3sid on my debian etch
> box. I have noticed the following problem: there are double To: and
> Subject: headers in every outgoing mail. I have checked the source and
> found that compose2.php contains:
>
>                        $received_header = "Received: from
> ".$_SERVER["REMOTE_ADDR"]." (auth. user [EMAIL PROTECTED])\r\n";
>                        $received_header.= "          by
> ".$_SERVER["SERVER_NAME"]." with HTTP;
> ".TZDate($my_prefs["timezone"])."\r\n";
>                        $headerx = $received_header."To:
> ".$to."\r\n".(!empty($subject)?"Subject:
> ".$subject."\r\n":"").$headerx;
>
> Appending 12 spaces before To: and Subject: lines here fixes the problem.
>
> Another problem is that IlohaMail version on index page is reported as
> Version 0.8.14-RC2 not RC3.
>
> Best Regards,
>
> George
>   
Having no intention in changing the source code (for upgrading
smoothness) yesterday, I worked around the double To/Subject lines
problem by switching to SMTP localhost:25 instead of using PHP's mail()
function.

I have another tip: There is a single thing I wish to tell to new
unexperienced users of IlohaMail: That they should set their Sent folder
to make sure they keep all sent mail for later reference. I still did
not wanted to change the source. I ended making it using
conf/new_user.php. IlohaMail sends the mail to the user when his/her
cache directory is created:

    if (!$error) {
       
        $email_address = $user_name;
        $subject = "Dear user $user_name, welcome to webmail!";
        $message = "Welcome!\n\n";
        $message .= "This is automatic mail...\n";
        ...
        mail($email_address, $subject, $message, "From: \"Webmail\"
<admin>");
    }

My Postfix MTA automatically expands <admin> to <[EMAIL PROTECTED]>, so
I can use this very config for all my customers. This mail is not
visibly coming from www-data and replies are sent to me.

I hope for the maintainer to add something like that to new_user.php, so
there will hopefully be less lost sent mail in the future.

Alternatively: I understand it is hard to setup Sent folder
automatically as there is no standard name and each IMAP client uses its
own one (which is even harder in localized Outlooks). But I think there
would be nothing wrong when IlohaMail creates the Sent folder in the
account (if nonexistent) under the configurable name and puts the
message being sent there. Just behave as normal IMAP clients do...

Anyway, great program, thanks for it!

-- 
\//\/\


begin:vcard
fn:Vlada Macek
n:Macek;Vlada
adr:;;;Liberec;;;Czech Republic
email;internet:[EMAIL PROTECTED]
title:UNIX Admin && Developer
tel;cell:+420 608 978 164
note;quoted-printable:GPG info: key 0x1F059424, fingerprint 1494 F8DD 6379 4CD7 E7E3 1FC9 D750=
	 4243 1F05 9424=0D=0A=
	=0D=0A=
	When you find a virus in mail from me, then I intended to infect you, sin=
	ce I use SW that is not distributing malware w/o my knowledge.=0D=0A=
	=0D=0A=
	
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ilohamail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ilohamail-users

Reply via email to