<---- template headericclude ----->
Is it possible to receive mail with postfix through other port than 25?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Jul 2006
    Location
    Sao Paulo, SP - Brazil
    Age
    44
    Posts
    712
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to receive mail with postfix through other port than 25?

    Hello,

    I'm learning how to setup a postfix mail server. But I'm doing it at home.

    I'm almost sure my ISP blocks port 25.

    So I've followed this instructions to change the listening port to 5000.

    I was able to successfully send mail from my postfix server to various addresses like gmail, yahoo etc.

    But, when I try to send mail TO my postfix server, I get this message after some days:

    (my domain is marzanet.dyndns.org, which is a dynamic IP updated in dyndns)

    Hi. This is the qmail-send program at yahoo.com.
    I'm afraid I wasn't able to deliver your message to the following addresses.
    This is a permanent error; I've given up. Sorry it didn't work out.

    <duli@marzanet.dyndns.org>:
    Sorry, I wasn't able to establish an SMTP connection. (#4.4.1)
    I'm not going to try again; this message has been in the queue too long.
    So my question is:

    Is it possible to receive mail through other port than 25? How would the mail servers know which port on my server is the right one, if it's not the 25 one?!

    Here's information on my domain:

    Hostname: marzanet.dyndns.org
    Wildcard: *.marzanet.dyndns.org
    Current Service: Host (IP address)
    Current IP: 201.6.83.105
    TTL: 1 min.
    Has Redirect Settings: no
    MX Records: NONE (mailservers will try to deliver e-mail messages directly to marzanet.dyndns.org)
    Thanks a lot!
    Duli

  2. #2
    Join Date
    Sep 2006
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't quite figure how other than 25 port would work. when inbound email, remote hosts don't know your port, is there way they would get it?

  3. #3
    Join Date
    Jul 2006
    Location
    Sao Paulo, SP - Brazil
    Age
    44
    Posts
    712
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    gesho: Thatīs exactly what I was thinking.... So I guess it wouldnīt work..

  4. #4
    Join Date
    Nov 2004
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe there are some port redirecting services, but they cost money.

    There is no free way to tell mail servers to send mail to a different port other than 25.
    Lulz

  5. #5
    Join Date
    Jul 2006
    Location
    Sao Paulo, SP - Brazil
    Age
    44
    Posts
    712
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mooninite: Thanks a lot for the info! Now I can rest in peace and stop wondering!!!

  6. #6
    scottro's Avatar
    scottro is offline Retired Community Manager -- Banned from Texas by popular demand.
    Join Date
    Sep 2007
    Location
    NYC
    Posts
    8,120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wait a sec, isn't there mailhop, offered by dyndns for free? I don't have time to check now, but poke around the dyndns site, I think it used to be free, at least.

    The usual warning--if you violate your ISP's TOS, they might call you bad names.
    Regardless of what we all feel about it, many ISP's do specifically prohibit mail and web servers for standard home accounts. (My own ISP is rather nebulous about it--there's no specific prohibition, but they do reserve the right to take action if you're using excessive bandwidth.)

  7. #7
    Join Date
    Oct 2004
    Location
    Sweden
    Age
    49
    Posts
    179
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you should look into MailHop Relay at dyndns.
    Relay mail to any of the following ports: 24, 25, 587, 2525, 10025, 52525
    Check if your ISP got these ports open.
    MailHop Relay will cost you $39.95 per year

  8. #8
    Join Date
    Jul 2006
    Location
    Sao Paulo, SP - Brazil
    Age
    44
    Posts
    712
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello, guys! Thanks a lot for all the info!

    Indeed Dyndns offers mailhop relay, but as twn250 said, it will cost money:

    DynDNS MailHop Relay allows you to run your own mail server while DynDNS filters spam through heuristics and DNS-based blacklists and discards viruses. We hold and store your mail if your primary mail server goes down, and we can also deliver your mail to an alternate port.

    ...

    Relay mail to any of the following ports: 24, 25, 587, 2525, 10025, 52525

    ...

    MailHop Relay $39.95 Mail relaying service for one domain name.
    Well, anyway, at my office Iīve got a fixed IP with the 25 port open. I was doing it at home just for learning purposes.

    This thread was nice to clarify that itīs not possible to setup a mail server to RECEIVE mail through other port than 25.

    Thanks again!
    Duli

  9. #9
    Join Date
    Sep 2006
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    my ISP also had 25 closed, it took 2x1hour phone holding to get it unblocked.

    and if ATT can do it, everyone can do it.

    be prepared to talk to have-no-clue tech support. ask for "2nd level expert" straight.

  10. #10
    kitsune84 Guest

    Lightbulb EditDNS

    I feel like a walking advertisement right now, but if you don't have a problem switching to them, EditDNS.net is my dns server and they allow what they call "E-mail Re-route" and it's free, so if that would help you out, then that's great.

    You just put the address of your mail server and the port you want it to go to and they relay it off of their own servers to your mail server.

    Good luck!

  11. #11
    NibblerUK Guest
    If your ISP blocks port 25 then you accept mail on another port eg. 26 as well as 25. This avoids that problem entirely. You can add the port redirection at the firewall level on your own server.

  12. #12
    kitsune84 Guest
    I think the problem was that software is going to default to port 25 in most cases and if someone is trying to check their mail, it's not going to work unless they tell their software to check on port 26. It's not a large problem, but it's a pretty irritating inconvenience.

Similar Threads

  1. My postfix mailserver won't receive mail (FC6)
    By guywood13 in forum Servers & Networking
    Replies: 3
    Last Post: 9th March 2008, 04:24 PM
  2. COM1 Port can't receive any data
    By liqi in forum Hardware
    Replies: 0
    Last Post: 26th December 2006, 03:56 AM
  3. Can't get Postfix to send/receive emails
    By micko_escalade in forum Servers & Networking
    Replies: 10
    Last Post: 2nd February 2006, 07:08 AM
  4. Replies: 5
    Last Post: 3rd August 2005, 01:10 PM
  5. can't receive email(postfix)
    By strongzzj in forum Servers & Networking
    Replies: 0
    Last Post: 5th May 2005, 08:49 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]