Welcome, Guest. Please Login or Register.
May 13, 2025, 08:50:38 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  sendmail Mod « previous next »
Pages: [1] Reply Ignore Print
Author Topic: sendmail Mod  (Read 504 times)
Beverly
Noobie
*
Posts: 37


Never Stop Learning

WWW
sendmail Mod
« on: April 20, 2003, 08:12:39 PM »
Reply with quote

My server administrator has contacted me and requested that I re-specify the path to my sendmail to attempt to eliminate the bounces HE receives from the forum, to get them to come to MY email he wants me to chage the sendmail path to "/usr/sbin/sendmail -f [email protected]"

Chris Cromer tells me I will need a MOD for this.
http://www.yabbse.org/community/index.php?board=133;action=display;threadid=21726&start=0

Can anyone help me with this?


« Last Edit: April 20, 2003, 08:13:49 PM by Beverly » Logged
sparkiegeek
Noobie
*
Posts: 29


Re:sendmail Mod
« Reply #1 on: April 20, 2003, 10:43:50 PM »
Reply with quote

I could make this into a mod, but we'll try a quick search and replace (yell if you get stuck or don't understand):

Download your Subs.php file (found in the Sources directory), and do a search for this line:

Quote$mail_result = mail($to, $subject, $message, $headers);
I make it line number 443 on a clean (unmodded) 1.5.1 board

and replace it with this:

Quote$mail_result = mail($to, $subject, $message, $headers, "-f [email protected]");


and upload it, overwriting the old version

:)
« Last Edit: April 20, 2003, 10:47:30 PM by sparkiegeek » Logged
Beverly
Noobie
*
Posts: 37


Never Stop Learning

WWW
Re:sendmail Mod
« Reply #2 on: April 22, 2003, 12:23:27 PM »
Reply with quote

Thanks so much, I made the change, now to wait for a "bouce" to see if it worked!

Any tips on how/where to REMOVE members by searching for their email address? As that is all I have on the bounces to identify them?

Beverly
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  sendmail Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.048 seconds with 21 queries.