Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Mar 05, 2013 4:31 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
For my main domain email I have setup the MX Records to point to a Google Mail account and all works prefect.

I have NOT installed any other email software on my server except the standard Ubuntu image which I understand include simple Postfox. I have also NOT added or configured any email settings in any ini files.

I have a PHP script that uses simple PHP mail to send me notifications and this works great.

But what smtp server is it using to send the emails ?

Is it using my gmail account from the MX Records or something else ?

The reason for my questions is Im looking at upgrading my notifications to also notify others and this may create lots of emails and gmail limit the number of emails you can send per 24 hours. We will upgrade our code to use something else as we understand PHP Mail is not very efficient but for the initial tests its working fine.

Any feedback will be great.

_________________
Regards

Mark


Top
   
PostPosted: Tue Mar 05, 2013 5:33 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
If you've installed postfix then it's sending via that, gmail's quotas won't be a problem.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Tue Mar 05, 2013 5:38 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Thanks obs,

I have not installed Postfix, but assumed this was included as default in the Ubuntu image and used by PHP Mail(). Sorry, maybe my assumption is wrong. I have not installed any additional email software/modules.

_________________
Regards



Mark


Top
   
PostPosted: Tue Mar 05, 2013 6:10 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
You probably have some mail server running on there possibly sendmail run
Code:
dpkg -l | grep mail
and it'll list all pages with 'mail' in the name/description, you'll be looking for sendmail, postfix or exim.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Tue Mar 05, 2013 6:17 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Thanks again...

libmailtools-perl 2.05-1 Manipulate email in perl programs
mime-support 3.48-1ubuntu1 MIME files 'mime.types' & 'mailcap', and sup
postfix 2.7.0-1ubuntu0.2 High-performance mail transport agent

Postfix is added as standard and being used for email sending.

So does this means my Google account is not being used in any way to send email when PHP Mail is used ?

_________________
Regards



Mark


Top
   
PostPosted: Tue Mar 05, 2013 12:59 pm 
Offline
Junior Member

Joined: Mon Mar 04, 2013 8:51 pm
Posts: 24
That's correct.

On Unix-like systems, mail just calls the local "sendmail" binary or equivalent and passes the data to be mailed to it.

Only on Windows does it connect to an external server via SMTP to send out the mail.


Top
   
PostPosted: Tue Mar 05, 2013 3:53 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Heh that's new I wonder when postfix got snuck into the images by default.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Wed Mar 06, 2013 9:29 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Thanks for all the help.

No Gmail limitions is good.

_________________
Regards



Mark


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group