Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-01-2009, 01:09 PM
|
#1
|
LQ Newbie
Registered: Jan 2008
Posts: 16
Rep:
|
outgoing email blocked ?
Hi,
I've set up postfix as mail server. and am able to receive mail from both i-net and locally.
But all my outgoing mail is not being delivered! Locally it works, I have not changed any port in postfix config-files.
I then read about my ISP maybe blocking outgoing smtp ports. I'm able to send mail to my ISP- smtp servers(my ISP mail account). It says that port 334 is open instead!
How to check the theory of blocked outgoing smtp ports? Is there a way to bypass the firewall by changing the outgoing ports locally?
Any config files would be posted at request.
Any help would be appreciated.
Last edited by Grub3r; 03-02-2009 at 04:38 AM.
Reason: errors
|
|
|
03-02-2009, 04:00 AM
|
#2
|
Member
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep:
|
Hi,
why Port 334? Mail is delivered via Port 25 or 465(SSL).
Where do you deliver mail to? directly to the recipients SMTP server?
Mostly SMTP servers will not accept mail from machines with dynamic ip addresses or from machine having no reverse lookup in DNS.
Could give a clear statement what error messages appears in your maillog?
|
|
|
03-02-2009, 04:49 AM
|
#3
|
LQ Newbie
Registered: Jan 2008
Posts: 16
Original Poster
Rep:
|
Quote:
Originally Posted by mesiol
Hi,
why Port 334? Mail is delivered via Port 25 or 465(SSL).
Where do you deliver mail to? directly to the recipients SMTP server?
Mostly SMTP servers will not accept mail from machines with dynamic ip addresses or from machine having no reverse lookup in DNS.
Could give a clear statement what error messages appears in your maillog?
|
What I ment to say is that isp has blocked outgoing port 25 and opened say 334 instead!
the mail is sent to anyone on i-net, the only mail is coming to it's destination is one sent to ISPs smtp server. my e-mail account which I got from my ISP.
maillog says "no route to host" when i send to @yahoo.com and "sent ok" when i sent to my e-mail account at my ISPs smtp server.
My question remains, if my ISP has outgoing port 25 blocked(which it has) is there any solution on how to bypass this issue?
using fedora 10 and latest postfix from repo.
|
|
|
03-02-2009, 04:50 AM
|
#4
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Why don't you relay through your ISPs smtp server, just as you would if your were using an email client like thunderbird?
look at Postfix's relayhost parameter in main.cf
|
|
|
03-02-2009, 04:56 AM
|
#5
|
LQ Newbie
Registered: Feb 2009
Distribution: CentOS,Mandriva,Ubuntu
Posts: 12
Rep:
|
Quote:
Originally Posted by Grub3r
Hi,
I've set up postfix as mail server. and am able to receive mail from both i-net and locally.
But all my outgoing mail is not being delivered! Locally it works, I have not changed any port in postfix config-files.
I then read about my ISP maybe blocking outgoing smtp ports. I'm able to send mail to my ISP- smtp servers(my ISP mail account). It says that port 334 is open instead!
How to check the theory of blocked outgoing smtp ports? Is there a way to bypass the firewall by changing the outgoing ports locally?
Any config files would be posted at request.
Any help would be appreciated.
|
Because i don`t see that is a problem of port because as you said you can send locally.
Do you have a dynamic IP or a static IP ? because can be that your emails are bloked by hotmail , yahoo ..... if you have a dynamic IP.
|
|
|
03-02-2009, 06:42 AM
|
#6
|
LQ Newbie
Registered: Jan 2008
Posts: 16
Original Poster
Rep:
|
Quote:
Originally Posted by billymayday
Why don't you relay through your ISPs smtp server, just as you would if your were using an email client like thunderbird?
look at Postfix's relayhost parameter in main.cf
|
Hi, I did implement this after I started this thread. It does work, but will it aslo work with ssl? I'm plannig on implementing ssl, that all my e-mail is encrypted as it goes out!
thanks.
|
|
|
03-02-2009, 06:45 AM
|
#7
|
LQ Newbie
Registered: Jan 2008
Posts: 16
Original Poster
Rep:
|
Quote:
Originally Posted by zinovsky
Because i don`t see that is a problem of port because as you said you can send locally.
Do you have a dynamic IP or a static IP ? because can be that your emails are bloked by hotmail , yahoo ..... if you have a dynamic IP.
|
Hi and thanks for the reply!
by locally i mean local network.
And i mean that my ISP is blocking 25 to the i-net, that has nothing to do with my local network...
I use dynamic dns to resolve dynamic ip issue.
As above answer says it's possible to use relayhost.
but will it work with encryption?
Last edited by Grub3r; 03-02-2009 at 06:49 AM.
|
|
|
03-02-2009, 06:50 AM
|
#8
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
Hi, I did implement this after I started this thread. It does work, but will it aslo work with ssl? I'm plannig on implementing ssl, that all my e-mail is encrypted as it goes out!
|
Check with your provider if they support ssl
However, ssl will only be used to encrypt your password, not the mail itself.
If you want to encrypt mail, take a look at PGP
Last edited by repo; 03-02-2009 at 06:53 AM.
|
|
|
All times are GMT -5. The time now is 08:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|