The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Problems to setup emails
Author: piotrek 
Date:   01-10-09 14:28

I have a FreeBSD 7.2 server which I use only as HTTP server for my domain. The DNS is somewhere else and it is configured to route all email traffic for my domain to Google Apps.

The problem is that whenever I send an email to my own domain from the server itself (i.e. using php or "mail" command) it does not really send it to the google's server, but rather tries to send the email locally (to iself).

Can anyone please give me a hint what to change to always send emails outside, regardless of the address after "@"?


I also have another question which is sort of related. Some mail servers refuse to accept emails from my server's mail deamon since the SMTP port is not open.
Is it possible to send emails via some other SMTP server (i.e. smtp.gmail), instead of sending them directly to the destination address?

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Problems to setup emails   new
piotrek 01-10-09 14:28 
 Re: Problems to setup emails   new
Dan 01-10-09 22:00 
 Re: Problems to setup emails   new
piotrek 02-10-09 07:18 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org