LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-28-2007, 03:33 AM   #1
carlainz
LQ Newbie
 
Registered: Nov 2005
Posts: 26

Rep: Reputation: 15
change smtp in postfix


hello all,


I have installed postfix + dovecot but My ISP block the outgoing port 25.
The only way to get smtp mails delivered is by using the ISP's smtp server .
where i can change this in postfix ?

thanks
 
Old 04-28-2007, 04:35 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why not use your ISPs mail server? If you change the port postfix tries to connect on, every server on the other end will still be listening on 25
 
Old 04-28-2007, 11:54 AM   #3
carlainz
LQ Newbie
 
Registered: Nov 2005
Posts: 26

Original Poster
Rep: Reputation: 15
hello,

yes i want set my ISP smtp , but i don't know where i can change this .....
 
Old 04-28-2007, 03:55 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
in main.cf

relayhost = your.isps.mail.server
 
Old 04-29-2007, 03:21 AM   #5
carlainz
LQ Newbie
 
Registered: Nov 2005
Posts: 26

Original Poster
Rep: Reputation: 15
hello , thanks for the answer
i have change relayhost with my ISP smtp (smtp.wanadoo.nl) but not yet works.
in var/log/maillog i have this error

Apr 29 10:15:36 softhelp dovecot: IMAP(cab): Disconnected: Logged out
Apr 29 10:16:03 softhelp postfix/smtp[23511]: connect to smtp.wanadoo.nl[193.252.22.234]: Connection timed out (port 25)
Apr 29 10:16:33 softhelp postfix/smtp[23511]: connect to smtp.wanadoo.nl[193.252.22.245]: Connection timed out (port 25)

what happen ?
thanks
 
Old 04-29-2007, 04:19 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Is your firewall open on port 25?
 
Old 04-30-2007, 04:24 AM   #7
carlainz
LQ Newbie
 
Registered: Nov 2005
Posts: 26

Original Poster
Rep: Reputation: 15
hallo , yes the port 25 is open tcp and udp ...
i have try to telnet smtp.wanadoo.nl 25 , but i don't have connection ....
i have try also do disable firewaal and selinux nothing change ....
 
Old 04-30-2007, 06:06 AM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you connect directly to this server with a mail client (Evolution or similar). Perhaps it requires some form of authorisation. Does their website say anything about connecting to their mailserver?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMTP with POSTFIX shipon_97 Linux - Newbie 2 05-02-2006 03:33 PM
postfix smtp bas_vdl Linux - Networking 0 10-19-2003 04:24 PM
Postfix change smtp problem kelper Linux - Software 0 08-02-2003 03:51 AM
Postfix - Only SMTP? Thinkgeekness Linux - Software 12 03-11-2003 03:39 PM
Help with Postfix and SMTP????? graystarr Linux - Software 1 03-10-2003 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration