Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Path To SendMail (http://www.greenguysboard.com/board/showthread.php?t=27704)

DJilla 2006-01-06 07:22 PM

Path To SendMail
 
I've knowcked my head against the wall long enough now I'm asking for help.

New list script (cgi) supposed to send confirm email automatically. I installed the script as a sub domain temorarily while I work out the bugs. Everything is working well and I could have sworn originally that I had sent myself several test emails. The path is standard:

/usr/sbin/sendmail

Thing won't send an email for begging. I'm wondering if its because I have the list installed on an addon domain and it can't find the correct path to sendmail but I think it still should anyway as default. Any ideas? I'm about to put it on its own domain anyways but still it bugs me that this one aspect isn't working perfectly before I do.

Thanks!

Toby 2006-01-06 07:27 PM

When I entered the sendmail path for my TGP script I had to include a couple of parameters after the path to get it to work.
Code:

/usr/sbin/sendmail -f webmaster@my-domain.com

cd34 2006-01-06 07:52 PM

/usr/sbin/sendmail
/usr/lib/sendmail
/usr/bin/sendmail

are common paths for sendmail.

if you have shell access, try

which sendmail

DJilla 2006-01-07 09:39 AM

Quote:

Originally Posted by cd34
/usr/sbin/sendmail
/usr/lib/sendmail
/usr/bin/sendmail

are common paths for sendmail.

No the path is right /usr/sbin/sendmail. I was just trying to confirm that the path remains as it is even when one is working with addon domains. I think I figured it out though... it was in script my redirection.

Thanks

DJilla 2006-01-07 02:27 PM

FIXED

/usr/sbin/sendmail -t (t param did it!)


All times are GMT -4. The time now is 11:51 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc