View previous topic :: View next topic |
Author |
Message |
freemarklar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Nov 2007 Posts: 9
|
Posted: Fri Nov 02, 2007 3:33 am Post subject: [SOLVED] Simple Sendmail Binary for PHP |
|
|
Can anyone suggest a solution with the lowest overhead for offering PHP a working sendmail binary?
The only thing mail-related I will ever do on my server is send email with the PHP mail() function. So I don't want or need a mail daemon with a hundred package dependencies.
Thanks,
fm
Last edited by freemarklar on Mon Dec 10, 2007 6:31 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Guybrush Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_darth_vader.gif)
Joined: 06 Feb 2003 Posts: 99 Location: 48°27'N, 11°8'O
|
Posted: Fri Nov 02, 2007 8:04 am Post subject: |
|
|
Hi,
I suppose you try ssmtp. It's only purpose is to act as a local mailhub to your mailserver. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
freemarklar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Nov 2007 Posts: 9
|
Posted: Fri Nov 02, 2007 7:26 pm Post subject: |
|
|
Guybrush wrote: | Hi,
I suppose you try ssmtp. It's only purpose is to act as a local mailhub to your mailserver. |
That would require me to have my own mail server somewhere though right? Or I could use something like Gmail, but would that mean that all emails would have the Gmail address in the "From:" header rather than the address I specify in PHP mail()?
fm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tarpman Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/194464846347fed31505afc.jpg)
Joined: 04 Nov 2004 Posts: 1083 Location: Victoria, BC, Canada
|
Posted: Sat Nov 03, 2007 6:43 pm Post subject: |
|
|
Most ISPs allow you to (in fact, when you're using the default smtp port, many require you to) relay mail through their server, generally something like smtp.isp.com or mail.isp.com, provided you authenticate using your assigned username and password.
Gmail won't modify the From: header if your gmail account is configured to allow sending mail from that address; it will, however, add a Sender header containing your gmail address. _________________ Saving the world, one kilobyte at a time. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
freemarklar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Nov 2007 Posts: 9
|
Posted: Wed Nov 07, 2007 10:45 pm Post subject: |
|
|
tarpman wrote: | Most ISPs allow you to (in fact, when you're using the default smtp port, many require you to) relay mail through their server, generally something like smtp.isp.com or mail.isp.com, provided you authenticate using your assigned username and password.
Gmail won't modify the From: header if your gmail account is configured to allow sending mail from that address; it will, however, add a Sender header containing your gmail address. |
Thanks. I'll tryout ssmtp in the next week or two and look at the overhead.
I'll post my results here afterward.
--
fm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
freemarklar n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Nov 2007 Posts: 9
|
Posted: Mon Dec 10, 2007 6:29 pm Post subject: [SOLVED] Simple Sendmail Binary for PHP |
|
|
I've set this up on a couple servers now using gmail as the service provider. This appears to be an excellent way to avoid the overhead of running sendmail or postfix.
--
fm |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|