Jump to content

Download: Bouncy Mail


AnthonyKinson

Recommended Posts

  • Replies 224
  • Created
  • Last Reply
Posted

I can send mail out using IP.Mail/Bouncy mail, but can't receive emails from elsewhere when using Bouncy mail since it fails to deliver and just bounces.




What is the error it gives you when it fails?
Posted


File not found or inaccessible!

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/home/user/mail_cache/1_1274148246_paladins0gf.jpg) is not within the allowed path(s): (/home/USERNAME:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/USERNAME/public_html/community/admin/applications_addon/other/mail/modules_public/core/core.php on line 477


recipients. This is a permanent error. The following address(es) failed: pipe to |/home/USERNAME/public_html/community/post_office.php generated by user@domain.com The following text was generated during the delivery attempt: ------ pipe to |/home/USERNAME/public_html/community/post_office.php generated by user@domain.com ------ Warning: fopen(/home/user/mail_cache/1_1274148246_paladins0gf.jpg): failed to open stream: No such file or directory in /home/USERNAME/public_html/community/admin/sources/classes/mail/mimeFunctions.php on line 289 Warning: fwrite(): supplied argument is not a valid stream resource in /home/USERNAME/public_html/community/admin/sources/classes/mail/mimeFunctions.php on line 290 Warning: fclose(): supplied argument is not a valid stream resource in /home/USERNAME/public_html/community/admin/sources/classes/mail/mimeFunctions.php on line 291

A message that you sent could not be delivered to one or more of its




















thats due to info missing fromt he install instructions, simply create a mail_cache folder (i strongly suggest this be out of public areas) for example /home/username/mail_cache/

then in the ACP settings will be

[u]Directory to save files in[/u]


The full path to the directory in which the message files will be stored. It is STRONGLY recommended that this directory not be below the "web root", so users will not be able to access the files directly.


PHP must have write permission in this folder, i.e CHMOD 0777.



NOTE: If you change this setting, you must rename the original directory to reflect the change. Bouncy Mail will not do this for you.



enter the path and CHMOD so its readable and writable.

i have made it so that attachments never display in the browser, and its very important that the directory is not in a web accessable area to prevent malicious code being emailed to you, and then executed via a browser window. few precautions are put in place, the file name of the saved file is changed so nobody will know what it is, and downloading of attachments is forced.

also i've noticed a bug in 3.1.0 which is causing some big emails not to be delivered, its giving a PHP maximum memory exhausted error in HTMLoutut or something... this does'nt occur in 3.0.5.
Posted

the file name of the saved file is changed so nobody will know what it is




I noticed that the filename it was looking for was only a 1_(unix date time it was saved here)_(filename). The filename itself wasn't changed, just stuff added onto it.
Posted

yeah it still keeps its original name as part of the filename, but its prefixed with memberid_unixstamp_originalname teh database keeps a record of the original file name, and then renames it back to its original when you download the attachment.

i didnt change the names of files completly just yet so that i could find which files were doing what more easily while i was working on it, but aslong as the files are stored in none web accessable area there shouldnt be any security issues with how they are at the moment.

Posted

Guess What...



It Works!!!



Thanks so very much for helping me.


For a gift I have made a screenshot of this great moment!



I hope that you can continue to do great things for the IPS community!



THANK YOU!! :thumbsup: :thumbsup:




I am also on Just Host, and obviously have the same problem that you began with. Could you explain in a little more detail exactly what it was you had to do to get this to work ? I can get emails to go through to one user. I created 3 test accounts all of which signed up for email accounts, but only one of those 3 will ever receive email. I have tried changing all of my settings as per some of the previous posts, but to no avail, always only one will receive emails, and not all the time. I am guessing that the "magical key" is contained in having the correct php.ini file set up to make this function correctly. Any help in making this work would be greatly appreciated
Posted

no idea when Beta 2 will be released, hopefully it wont be to long.

It's taken almost 12 months to get to the stage its at now, but during that time i've had to upgrade all my other apps for IP.Board 3.0.0, luckily, 3.1.0 doesnt require me to update my apps, so alot of extra time to focus on Bouncy Mail.

as i say though, no idea how long fixes will take but shouldnt be to long, alot of the big stuff is already done, only time will tell but i will keep everyone updated when i have updated and fixed things.

Might have to setup a new board with a bug tracker, or convince IPS to make this a community project so i can use theirs :lol:

Posted

One thing that I have noticed, and it could be just on my side, but if you add a Bcc: address, the user in the To: address will get the email twice and it is never delivered to the address on the Bcc: line. You can however add multiple addresses on the To: line and it will be delivered to all who are addressed

Posted

Has anybody set this up on a server running a Plesk panel? I have root access so some manual qmail configuration instructions would also suffice. Piping all but defined POP3 mailboxes is what I am after.

Posted

One thing that I have noticed, and it could be just on my side, but if you add a Bcc: address, the user in the To: address will get the email twice and it is never delivered to the address on the Bcc: line. You can however add multiple addresses on the To: line and it will be delivered to all who are addressed




is this with IP.Board 3.1.0 or 3.0.5?

When i tested on 3.0.5 it seemed to work ok, the mail was delivered correctly to all addresses.

BCC addresses wont be listed in the email headers and the original recipients in the TO: field wont know if blind carbon copys were sent.

can you give me an example of how you sent the email, how many recipients in the TO: and how many in the BCC: fields, see if i can reproduce here.
Posted

is this with IP.Board 3.1.0 or 3.0.5?



When i tested on 3.0.5 it seemed to work ok, the mail was delivered correctly to all addresses.



BCC addresses wont be listed in the email headers and the original recipients in the TO: field wont know if blind carbon copys were sent.



can you give me an example of how you sent the email, how many recipients in the TO: and how many in the BCC: fields, see if i can reproduce here.




This is on 3.1 Beta 3, I had 3 addressees on the To: line and that worked great all three received the email

I had one person on the To: line and one person on the Bcc: line. The addressee on the Bcc: line never received the email, the addressee on the To: line received the email twice

email was constructed like this

post-35008-009562400 1274442521_thumb.pn

tigger received the email twice

post-35008-011360700 1274442546_thumb.pn

test did not receive it at all

post-35008-087403800 1274442572_thumb.pn
Posted

Please forgive me when I ask this, but I am a "noob" when it comes to the things you are discussing in this support topic....

My questions are:

1. Is this for IPB 3.0.5 or IPB 3.1.0?
2. If this is for 3.0.5 and this is not to be used on live boards, is there a projected release date for the final product and when?
3. I do not have C-Panel access, I do everything through FTP....is it possible to do all this through FTP or does it require C-Panel?

Thank you!
Bryan

Posted

Please forgive me when I ask this, but I am a "noob" when it comes to the things you are discussing in this support topic....



My questions are:



1. Is this for IPB 3.0.5 or IPB 3.1.0?


2. If this is for 3.0.5 and this is not to be used on live boards, is there a projected release date for the final product and when?


3. I do not have C-Panel access, I do everything through FTP....is it possible to do all this through FTP or does it require C-Panel?



Thank you!


Bryan




Hi, your questions are welcomed and encouraged, i'll just list the answers to your questions so i dont confuse.

1: currently it works on both 3.0.5 and 3.1.0
2: currently there is no estimate on a final release, it will depend on how quickly i can get bugs cleaned up and get everything working in a stable enviroment. I'm currently working on speeding up the developement process.
3: FTP is used for file managment, which is required to upload the app, but for configuring your mail server you will need at least some sort of control panel or access to the mail servers configuration files, possibly via a SSH console. If you own a dedicated server or similar with root access you should have this, if you have web hosting from a web host provider chances are you have some sort of control panel for managing your hosting account.

Hope that helps.
Posted

Is there any way to make it to where images that are sent as attachments are viewable in the browser before download? Finally got the attachments working btw. Working great for me so far.

Posted

not yet, reason being if i had it like that at the moment, i could email you some malicious code, such as a php file renamed to jpg and have it executed on the server when you view it. so for now its download only for attachments.

emails with attached inline images will be sorted too at some point.

Posted

What is the error it gives you when it fails?




This:

to[img]

' alt='' class='ipsImage' >' alt='' class='ipsImage' >' alt='' class='ipsImage' >[/img]xtreme2damax@gmail.com


date[img]

' alt='' class='ipsImage' >' alt='' class='ipsImage' >' alt='' class='ipsImage' >[/img]Fri, May 21, 2010 at 2:47 PMsubject[img]

' alt='' class='ipsImage' >' alt='' class='ipsImage' >' alt='' class='ipsImage' >[/img]Mail delivery failed: returning message to sendermailed-by[img]

' alt='' class='ipsImage' >' alt='' class='ipsImage' >' alt='' class='ipsImage' >[/img]host.xtemu.com


hide details 2:47 PM (1 minute ago)


This message was created automatically by mail delivery software.



A message that you sent could not be delivered to one or more of its


recipients. This is a permanent error. The following address(es) failed:



pipe to |/home/username/www/forum/post_office.php


generated by [email="Xtreme2damax@xtemu.com"]Xtreme2damax@xtemu.com[/email]


local delivery failed



------ This is a copy of the message, including all the headers. ------



Return-path: <[email="xtreme2damax@gmail.com"]xtreme2damax@gmail.com[/email]>


Received: from [url="http://mail-bw0-f44.google.com/"]mail-bw0-f44.google.com[/url] ([209.85.214.44])


by [url="http://host.xtemu.com/"]host.xtemu.com[/url] with esmtp (Exim 4.69)


(envelope-from <[email="xtreme2damax@gmail.com"]xtreme2damax@gmail.com[/email]>)


id 1OFXFm-00022l-JY


for [email="Xtreme2damax@xtemu.com"]Xtreme2damax@xtemu.com[/email]; Fri, 21 May 2010 14:47:27 -0400


Received: by bwz12 with SMTP id 12so62028bwz.3


for <[email="Xtreme2damax@xtemu.com"]Xtreme2damax@xtemu.com[/email]>; Fri, 21 May 2010 11:47:24 -0700 (PDT)


DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;


d=[url="http://gmail.com/"]gmail.com[/url]; s=gamma;


h=domainkey-signature:mime-version:received:received:in-reply-to


:references:date:message-id:subject:from:to:content-type;


bh=rI7rkemUw5MpfaehgdPrEBCMtZKPzmffveJ0mdCoppo=;


b=o6wlrvt8N3MOtwVjMRaCbO5hNBTobJTJuMkAECDE/JmiiXLszEARvczSvgJRLAwjLj


fV30oBPCoAfOHc68GXD9jvd/RHYkaKQOyCroKGyf97tbs3rqHjPtuCOFwubMcYgDmjxo


QuKjZQPffaoFx/xvIIquyfAUlXfiphaDw+Jxo=


DomainKey-Signature: a=rsa-sha1; c=nofws;


d=[url="http://gmail.com/"]gmail.com[/url]; s=gamma;


h=mime-version:in-reply-to:references:date:message-id:subject:from:to


:content-type;


b=OB4oToJAEu7yckvZ5eYOyl4tcA2AL3HwthBANYXsU1ygSFMx6NtbPx2JrH2rtOnKP2


iWSzZsXcCSVzFog5k5aSpuU8g3xpbpPvD3Oc562YRAc4fz5oAaOcsppjYNjwxC0RNu/7


bmVj7vORgHaWhjQdl9Jr9zjZqqEyM8Jh4fN6E=


MIME-Version: 1.0


Received: by 10.204.138.79 with SMTP id z15mr49946bkt.59.1274467644304; Fri,


21 May 2010 11:47:24 -0700 (PDT)


Received: by 10.204.127.73 with HTTP; Fri, 21 May 2010 11:47:24 -0700 (PDT)


In-Reply-To: <[email="E1OFXEs-0001LT-3j@host.xtemu.com"]E1OFXEs-0001LT-3j@host.xtemu.com[/email]>


References: <[email="E1OFXEs-0001LT-3j@host.xtemu.com"]E1OFXEs-0001LT-3j@host.xtemu.com[/email]>


Date: Fri, 21 May 2010 14:47:24 -0400


Message-ID: <[email="AANLkTimwrhaL5SQ0_GbYOzSwU79Qz699OH-7Vy1gyEu8@mail.gmail.com"]AANLkTimwrhaL5SQ0_GbYOzSwU79Qz699OH-7Vy1gyEu8@mail.gmail.com[/email]>


Subject: Re: Hey


From: K I <[email="xtreme2damax@gmail.com"]xtreme2damax@gmail.com[/email]>


To: Xtreme2damax <[email="Xtreme2damax@xtemu.com"]Xtreme2damax@xtemu.com[/email]>


Content-Type: multipart/alternative; boundary=00151747bff2376ed404871f1fd5


X-Spam-Status: No, score=0.0


X-Spam-Score: 0


X-Spam-Bar: /


X-Spam-Flag: NO



--00151747bff2376ed404871f1fd5


Content-Type: text/plain; charset=ISO-8859-1



thanks



--00151747bff2376ed404871f1fd5


Content-Type: text/html; charset=ISO-8859-1



thanks<br>



--00151747bff2376ed404871f1fd5--



Sending mail out works, just can't receive mail with Bouncy Mail.
Posted

did you edit the pipe path in the error you just quoted, or does it actually contain /username/ in your path?

Local delivery failed could also mean you need CHMOD post_office.php (744 should be ok)

Posted

-snip-


I had one person on the To: line and one person on the Bcc: line. The addressee on the Bcc: line never received the email, the addressee on the To: line received the email twice


-snip-




ok so i just done a test,

i sent an email from Bouncy Mail with 1 address on the TO: field and one on the BCC

TO: ***@anthonykinson.co.uk
BCC: ***@hotmail.co.uk

image below shows i recieve the email onces to my anthonykinson.co.uk address in windows live messenger (TO:) and once in hotmail (BCC:) although the hotmail version recieved is addressed to the TO: recipient which is how it should be.

i cant seem to replicate it sending multiple times to the TO: recipient and none at all to the BCC: recipient.

%7Boption%7D
Posted

ok so i just done a test,



i sent an email from Bouncy Mail with 1 address on the TO: field and one on the BCC



TO: ***@anthonykinson.co.uk


BCC: ***@hotmail.co.uk



image below shows i recieve the email onces to my anthonykinson.co.uk address in windows live messenger (TO:) and once in hotmail (BCC:) although the hotmail version recieved is addressed to the TO: recipient which is how it should be.



i cant seem to replicate it sending multiple times to the TO: recipient and none at all to the BCC: recipient.



[img]

[/img]




In the example that I showed, all email accounts are/were created through Bouncy mail for my board, I would assume that outside the "box" emails should have no problem. But if you want to send an email to a number of users on say a mail list, the way Bcc works now, none of the users on "your" site that are placed into the Bcc: line, would receive the email (sheesh I sure hope that makes sense)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...