|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Okay this is driving me nuts. My health is suffering, my boss is PISSED.
I made this slick little mailing list manager in PHP and I was all excited about it! It takes an email message from standard in and based on criteria in the subject (ex. [my_fav_users] my subject here) it queries the DB and sends out the emails. Handles both HTML and plain text in multipart emails. the process is something like: 1. User sends email to mailinglist@mydomain.com 2. in the aliases file there is an alias: mailinglist: "|/home/myuser/do_mailing.php" I thought it was a well oiled machine until the first live run. After 6 hours of debugging trying to find what was creating the error, I realized it was the length of the email. If it's over 1670 charachters or so, my script doesn't even receive it. I log the activity comming into do_mailing.php so I know that these longer mails are not getting through. THey aren't even getting to the script, it's a problem with relaying it. But this is how mailman does it, what is the problem? THANK YOU!!!!!! Jacob |
|
#2
|
||||
|
||||
|
What MTA (or mail server) are you using?
__________________
Alex (http://www.alex-greg.com) |
|
#3
|
|||
|
|||
|
sendmail
|
|
#4
|
||||
|
||||
|
Last edited by alexgreg : February 12th, 2004 at 04:41 PM. |
|
#5
|
|||
|
|||
|
I can't justify an upgrade just for othe mentioned benefits, sendmail works fine, it's a busy server and I don't want to screw around really. If I knew that it was indeed impossible with sendmail (which I'm pretty sure it's not because mailman uses a simular procedure) I would consider upgrading.
I could post the script, but i'm sure it's not the problem because I have the following 2 lines at the top of the script: PHP Code:
So I know if the script runs or not. It is seriously the difference of one char too much in the mail. Weird, huh? [/PHP] |
![]() |
| Viewing: Dev Shed Forums > System Administration > Mail Server Help > maximum char in pipe?, Can't get long strings to go through |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|