#1  
Old 12th June 2013, 10:26
m33ts4k0z m33ts4k0z is offline
Junior Member
 
Join Date: Jun 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about sending emails.

Hello,

I'm on Debian Wheezy and I've now managed to be able to receive emails and I'm also able to send emails using gmail as SMTP relay. However I'm not able to send emails directly through my debian machine. I know my ISP blocks the outgoing SMTP port but I wonder what do I need to do in order to be able to send emails from my domain?

I've read many guides here and on google about adding the submission port on postfix but following the perfect server debian wheezy with apache2, I already have the submission port entry inside master.cf. Infact that file is untouched apart from removing the comments as instructed in the guide. Am I supposed to add my domain with some port suffix somewhere as well?

I'm using postFix and dovecot.

My router also has all entries for allowing port 25,465 and 587 both in and out.

Here are the errors I get when I try to send an email without relayhost:

Code:
Jun 12 10:28:25 techcity postfix/smtp[13048]: connect to alt2.gmail-smtp-in.l.google.com[74.125.142.26]:25: No route to host
Jun 12 10:28:26 techcity postfix/smtp[13048]: connect to alt3.gmail-smtp-in.l.google.com[74.125.140.26]:25: No route to host
Jun 12 10:28:27 techcity postfix/smtp[13048]: connect to alt4.gmail-smtp-in.l.google.com[173.194.74.26]:25: No route to host
Any suggestions?

Thanks in advance.

Last edited by m33ts4k0z; 12th June 2013 at 10:37.
Reply With Quote
Sponsored Links
  #2  
Old 12th June 2013, 10:52
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
I know my ISP blocks the outgoing SMTP port but I wonder what do I need to do in order to be able to send emails from my domain?
You need a external relay server. This can either be the smtp server of your ISP, gmail or you rent a virtual server in a datacenter and setup postfix for mail relaying there which accepts outgoing emails from your internal server on the submission port.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 12th June 2013, 11:00
m33ts4k0z m33ts4k0z is offline
Junior Member
 
Join Date: Jun 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
You need a external relay server. This can either be the smtp server of your ISP, gmail or you rent a virtual server in a datacenter and setup postfix for mail relaying there which accepts outgoing emails from your internal server on the submission port.
Thanks for your answer,

I'm able to send emails using gmail as relayhost and works great. However I wonder if I am able somehow to change the email address that is showing on the recipient.

I suppose our domain name host is able to give me their SMTP server so I can use them as a relayhost. Is that the best (and only) way to do it?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 FCGID locking up the box? crypted General 6 12th April 2011 16:16
Stange mail problem The-Ghost Installation/Configuration 6 25th April 2010 19:59
Fedora 12 - Strage problem - Freezes K_meleonu Installation/Configuration 6 3rd March 2010 18:42
Apche hangs ever few minutes after an update rslinks Server Operation 2 12th December 2009 18:57
LB1 Not Taking Over Shared IP Using Heartbeat 2.1.3 On FC10 64Bit asyadiqin Installation/Configuration 5 11th February 2009 20:11


All times are GMT +2. The time now is 12:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.