Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, VM - ubuntu1010 server 64bit host - ubuntu1104 desktop 64bit Orcle VirtualBox On router Port 25 pointing VM Ip(local) Just finished building a mail server $ telnet localhost ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,763

    Postfix unable to send mail


    Hi all,

    VM - ubuntu1010 server 64bit
    host - ubuntu1104 desktop 64bit
    Orcle VirtualBox

    On router
    Port 25 pointing VM Ip(local)

    Just finished building a mail server

    $ telnet localhost smtp
    Trying ::1...
    Connected to localhost.
    Escape character is '^]'.
    220 server1.domain.com ESMTP Postfix (Ubuntu)

    ehlo server1.domain.com
    250-server1.domain.comm
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN

    mail from:<user@server1.domain.com>
    250 2.1.0 Ok

    rcpt to:<someone@yahoo.com>
    554 5.7.1 <someone@yahoo.com>: Relay access denied

    I have been googling a while unable to find a solution. Please help. TIA

    B.R.
    satimis

  2. #2
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    Quote Originally Posted by satimis
    Just finished building a mail server
    Hihi, one could argue you haven't finished... yet

    I use Sendmail myself, so I don't know about Postfix specifics. But in my experience, this error can come from several sources. The first one to tackle is spam prevention techniques used by many big email providers such as Yahoo, gmail, hotmail, etc...

    They simply don't accept email from unknown mailservers. You need to relay your mail via a mailserver that does accept your mail. Simply put, the first thing to try is the mailserver from your ISP.

    Now it depends a great deal on your ISP, their policies and their setup. But a good startingpoint would be to configure your server not to send mail but to relay mail to the outgoing mailserver from your ISP. Something like smtp.yourisp.com is a starting point.


    This may or may not work though. My previous ISP relayed my email blindly, my current one needs authentication. And then still, sometimes my mail is rejected. But I found out hotmail only accepts x number of emails per minute from the mailserver of my ISP. If that quota is reached, all further mail (not just mine) gets rejected and I have no control over that.

    What I'm trying to say is, that it's not just you and your mail server settings to take into account, but also specifics of your ISP and the domains you are sending to. Oh, and please double check you are certain you don't relay mail yourself.

    Good luck!
    Can't tell an OS by it's GUI

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •