What is $mailprog="/usr/sbin/sendmail";
Hello everyone, I am new here. I typed my query in the
search engine and found this website and glad I did.
Umm, I need to know how to find my e-mail path on my server,
so I can edit the following code,
"$mailprog="/usr/sbin/sendmail";
As I am installing a full autoresponder script to my website,
and haven't come across the above code before, in other
scripts I have installed on my website.
Any help would be appreciated!
regards,
gabbydeb
Greg K posted this at 01:26 — 28th January 2005.
He has: 2,145 posts
Joined: Nov 2003
if you have shell (telnet) acess, try the following:
locate sendmail (if you can't scroll back up the results, use locate sendmail | more to have it pause after each screenfull).
Usually it is towards the top of the list, under /usr/ then possibly under bin or sbin, sometimes after local
If you don't have shell access, the people who maintain the webserver should be able to quickly advise you on this.
-Greg
keith2045 posted this at 02:45 — 28th January 2005.
They have: 27 posts
Joined: Oct 2001
The default is sometimes right, you might want to try it and see if it works.
You might be able to find it on your hosting's web site, just look through the faq, it could also be in the email that they sent you with all of your information. If not just email them and ask them like Greg said.
Keith
andy206uk posted this at 09:24 — 28th January 2005.
He has: 1,758 posts
Joined: Jul 2002
It's pretty much always /usr/bin/sendmail or /usr/sbin/sendmail on unix boxes in my experience. The best person to ask would be your hosting provider or whoever manages your server for you.
Andy
vasilis posted this at 17:37 — 11th November 2005.
They have: 1 posts
Joined: Nov 2005
Where in Windows 2003 with IIs6 and exhange server 6 is /usr/sbin/sendmail ?
I am trying to create mail box script with Perl.
chrishirst posted this at 19:50 — 11th November 2005.
He has: 379 posts
Joined: Apr 2005
It isn't
is perl installed on the server ?
Greg K posted this at 16:31 — 13th November 2005.
He has: 2,145 posts
Joined: Nov 2003
the /usr/sbin/sendmail is for Linux/FreeBSD OS's.
I did a search, and found this for perl for windows: http://www.indigostar.com/sendmail.htm
Also more information may be found here:
http://my.execpc.com/~keithp/bdlognt.htm
-Greg
JeevesBond posted this at 22:59 — 13th November 2005.
He has: 3,956 posts
Joined: Jun 2002
Unfortunately most scripts (especially those whose origins are Linux) expect you to be using a *nix server.
The filesystem on *nix starts with "/" (root) and is structured from there, so /usr/sbin/sendmail is pointing to an executable called "sendmail" in "/usr/sbin"
As Windows uses drive names like "C:\" the Linux path means nothing to it. Naturally, I'd recommend you use Linux, but then I'm a zealot
Let us know how you get on with getting it working.
a Padded Cell our articles site!
timjpriebe posted this at 13:42 — 14th November 2005.
He has: 2,667 posts
Joined: Dec 2004
And by *nix, Jeeves (or Biggles, or Sweetie, depending on who you ask) is referring to mainly Unix and Linux, which common origins.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.