Does phpBB include its own MTA?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
User avatar
RigNalScIn
Registered User
Posts: 98
Joined: Sat Feb 21, 2004 6:52 pm

Does phpBB include its own MTA?

Post by RigNalScIn »

To the best of my knowledge, my server does not have any MTA installed to it, yet phpBB is able to send mail.

So..... - Where is the magic stored?

Thanx!
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: Does phpBB include its own MTA?

Post by Erik Frèrejean »

PHP has some mailing functions build in which are utilised by phpBB
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
User avatar
RigNalScIn
Registered User
Posts: 98
Joined: Sat Feb 21, 2004 6:52 pm

Re: Does phpBB include its own MTA?

Post by RigNalScIn »

Zend?
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Does phpBB include its own MTA?

Post by stevemaury »

Sendmail
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
RigNalScIn
Registered User
Posts: 98
Joined: Sat Feb 21, 2004 6:52 pm

Re: Does phpBB include its own MTA?

Post by RigNalScIn »

Sendmail is what I would've figured too except this is on a vanilla Ubuntu (Dapper server) install with no MTA (including sendmail, pear or postfix) added.

Is sendmail somehow bundled into PHP with a different name perhaps?

Sitting at the root prompt in /, issuing find -name 'sendmail' returns no results..

Sorry, this is more a curiosity to me than an actual support issue, phpBB is purring like the sleek, sexy kitten is is. I just have an (external) dev that is pushing me to install an MTA (sendmail) so she can mail form results and I'm telling her to get bent because the phpBB install I put on is sending mail just fine. :P

She's figured out I need to edit php.ini to point it to sendmail but... sendmail 'aint on the server and with it being Dapper (and out of the loop on repository updates) I'm definitely not adding anything more to it.

I'd love to be able to tell her how to code her script. Or at least point the way for her but.. well, I'm a little perplexed too since I haven't been able figure out how phpBB is doing it either. At least, not yet.

Doesn't help that I haven't really had my hands in this box since putting it out there 5 yrs ago or so but phpinfo does tell me that it has Zend extensions installed.

So...... - I'm guessing thats what phpBB is using since no other MTA is installed?
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53398
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Does phpBB include its own MTA?

Post by Brf »

phpBB does not have any sort of mail agent. It uses the simple SMTP mail function built into PHP.

http://us2.php.net/manual/en/function.mail.php
User avatar
RigNalScIn
Registered User
Posts: 98
Joined: Sat Feb 21, 2004 6:52 pm

Re: Does phpBB include its own MTA?

Post by RigNalScIn »

Got it.. - Thanks guys! :D
User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: Does phpBB include its own MTA?

Post by soumik »

Maybe an MTA was installed as a dependency for some package. Export a list of all packages installed and see if you have sendmail/postfix/exim4 installed.

Code: Select all

dpkg --get-selections | egrep 'sendmail|postfix|exim'
Powered by chocolate
User avatar
RigNalScIn
Registered User
Posts: 98
Joined: Sat Feb 21, 2004 6:52 pm

Re: Does phpBB include its own MTA?

Post by RigNalScIn »

soumik wrote:Maybe an MTA was installed as a dependency for some package. Export a list of all packages installed and see if you have sendmail/postfix/exim4 installed.

Code: Select all

dpkg --get-selections | egrep 'sendmail|postfix|exim'
Yep, still nada. I kept that puppy just as lean as possible, being a one man band and with management wanting to move away from Novell to Microsoft.... <sigh>

I set the internal SMTP in my php.ini - Going to guess my dev will have no issues at this point. From Brf's link, I see that those ini settings can be passed at the command so I'm guessing thats what phpBB has been doing, just that I wasn't patient enough to rout them out of the .php files before asking here.

Again, thanks for saving me time and sleep, guys. - Knowing I won't have to add any extra packages to the new machine and still keep the dev happy (and from trying to do an end-around on me w/ management) is a great comfort! :mrgreen:
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Does phpBB include its own MTA?

Post by Lumpy Burgertushie »

(and from trying to do an end-around on me w/ management) is a great comfort! :mrgreen:
ah, the silly childishness of corporate life. don't miss it a bit.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Locked

Return to “[3.0.x] Support Forum”