Server error: '504 5.5.2 LITBSL2 : Helo command rejected: need fully-qualified hostname'

Clearly I've messed up my DNS.
Non of my Windows clients using Outlook can send mail, though they can all receive mail.
what am i missing?
tks,

I am so sorry, found great answer from Apple.
May be someone will be interested.
http://support.apple.com/kb/TS3023

Similar Messages

  • 504 5.5.2 windows : Helo command rejected: need fully-qualified hostname

    Hello2all!
    Just try to send e-mail from PC client running Outlook 2003 clien, and can't, the returning message is *504 5.5.2 <windows>: Helo command rejected: need fully-qualified hostname*
    From other e-mail client e-mail's sending and recieving very well, but Outlook 2003 return this message.
    Anybody has idea?

    I am so sorry, found great answer from Apple.
    May be someone will be interested.
    http://support.apple.com/kb/TS3023

  • Error: Helo command rejected: need fully-qualified hostname

    Im trying to setup a SL Server as mail server for internal and external use (company.lan and company.net).
    When I try to send to the internal (company.lan) I get the following error:
    Helo command rejected: need fully-qualified hostname.
    Here is my postconf -n output
    I guess the error is in the line with the bold letters. How can I change it and should I?
    Thanks
    Kostas
    Last login: Mon Nov 16 23:42:18 on console
    server:~ admin$ postconf -n
    biff = no
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    header_checks = pcre:/etc/postfix/customheaderchecks
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    mail_owner = _postfix
    mailboxsizelimit = 0
    mailbox_transport = dovecot
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    messagesizelimit = 10485760
    mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
    mydomain = COMPANY.lan
    mydomain_fallback = localhost
    myhostname = server.COMPANY.lan
    mynetworks = 127.0.0.0/8,192.168.16.0
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpdclientrestrictions = permit_mynetworks permitsaslauthenticated permit
    smtpdenforcetls = no
    smtpdhelorequired = yes
    *smtpdhelorestrictions = rejectinvalid_helohostname rejectnon_fqdn_helohostname*
    smtpdpw_server_securityoptions = cram-md5
    smtpdrecipientrestrictions = permitsaslauthenticated permit_mynetworks rejectunauthdestination checkpolicyservice unix:private/policy permit
    smtpdsasl_authenable = yes
    smtpdtlsCAfile = /etc/certificates/server.COMPANY.lan.57680B96FCEC7F50F59A01D8F7DC4E841B2DB453.c hain.pem
    smtpdtls_certfile = /etc/certificates/server.COMPANY.lan.57680B96FCEC7F50F59A01D8F7DC4E841B2DB453.c ert.pem
    smtpdtls_excludeciphers = SSLv2, aNULL, ADH, eNULL
    smtpdtls_keyfile = /etc/certificates/server.COMPANY.lan.57680B96FCEC7F50F59A01D8F7DC4E841B2DB453.k ey.pem
    smtpduse_pwserver = yes
    smtpdusetls = yes
    unknownlocal_recipient_rejectcode = 550
    virtualaliasdomains = $virtualaliasmaps hash:/etc/postfix/virtual_domains
    virtualaliasmaps = hash:/etc/postfix/virtual_users
    server:~ admin$

    Παρακαλώ (you are welcome) Kostas,
    If mail is for internal use only, you can keep the .lan address as long as you authenticate to send.
    If you need to send to external addresses, then make sure you use a valid e-mail address or your mails will be rejected by other mail servers.
    HTH,
    Alex

  • Helo command rejected: need fully-qualified hostname

    Hi,
    I am using iPlanet messaging server 5.2. My email is rejected by some mail servers with following reason:
    Helo command rejected: need fully-qualified hostname
    Could you please give me some sujjestions to fix this problem?
    Thanks in advance!
    Francis

    Without knowing what os you're on, I'll assume solaris . .
    You can address your helo/ehlo greeting two ways:
    1. Fix your /etc/hosts so that the fqdn comes before your nickname
    xx.xx.xx.xx hostname.domain hostname
    or
    2. Add the fqdn to the daemon line in the imta.cnf file:
    ! tcp_local
    tcp_local smtp mx single_sys remotehost inner \ switchchannel identnonelimited subdirs 20\
    maxjobs 20 pool SMTP_POOL maytlsserver\ maysaslserver saslswitchchannel tcp_auth\
    threaddepth 64 dequeue_removeroute
    tcp-daemon HOSTNAME.YOUR_DOMAIN

  • Powershell send-mailmessage error - helo command rejected: need fully-qualified

    did you try the From and To email addresses in the format of
    "User01 "
    "User02 "
    Like the examples here?
    https://technet.microsoft.com/en-us/library/hh849925.aspx

    Hello,I need help with sending e-mails via Powershell using SMTP authentication. I've described the problem here on StackOverflow already:
    http://stackoverflow.com/questions/31542444/powershell-send-mailmessage-error-helo-command-rejected-...Re-pasting here: """I've read many sources regarding this issue, but no luck :/I am trying to use Powershell 4.0 (Windows server 2012 R2) to send e-mails via the Send-MailMessage commandlet in this way:PHP$From = "[email protected]"$To = "[email protected]"$Subject = "e-mail odeslany z powershellu :)"$Body = "..."$SMTPServer = "smtp.mydomain.cz"$SMTPPort = "587"$credentials = new-object Management.Automation.PSCredential “[email protected]”, (“xxxpasswordxxx” | ConvertTo-SecureString -AsPlainText -Force)Send-MailMessage -From $From -to $To -Subject $Subject -Body $Body -SmtpServer...
    This topic first appeared in the Spiceworks Community

  • "need fully-qualified hostname" error

    Can someone please help me with a basic problem with setting up the mail server, I can't seem to get to first base. The following is a Terminal session using telnet to do some basic testing (with personal info substituted for generic names) -
    ==============================
    mbp-5:~ Tony$ telnet mailserver.mydomain 25
    Trying 82.7.140.46...
    Connected to mailserver.mydomain.
    Escape character is '^]'.
    220 mailserver.mydomain ESMTP Postfix
    helo me
    250 mailserver.mydomain
    Mail from:myaddress@somedomain
    250 2.1.0 Ok
    Rcpt to:[email protected]
    504 5.5.2 <me>: Helo command rejected: need fully-qualified hostname
    =============================================
    In my Server Admin/Mail/General settings I have the host name set to mailserver.mydomain
    Can anyone give me a pointer please

    Thanks for that info.
    However, is the FQDN mailserver.example.com or example.com ?
    Hey guys - old thread, but was poking about and came across this.  I'll assume you've fix this, but the reason for the behavior (in case others find this) is that Postfix's default configuration requires a FQHN at HELO.  This helps with spam and reverse DNS.  If you want to turn this behavior off, then change this line in main.cf from:
    [smtpd_helo_restrictions = reject_non_fqdn_helo_hostname reject_invalid_helo_hostname]
    To:
    [smtpd_helo_restrictions = reject_invalid_helo_hostname]
    Personally, I do NOT like changing this.  However, mail clients on Windows (Outlook, OE and maybe others) pull the hostname off the TCP/IP stack.  So if your machine is named FOO, even if you have a domain suffix of "bar.com" which is forced, or if you force it in the "Computer Name" tab with the "More" button, Win7 will only send FOO to Outlook or OE which is sloppy.  RFC1123 states you MUST send FQHN, but MSFT doesn't allways care about RFC.  And actually, it is a lack of communication between OS and Apps.
    Many people have asked how to force Outlook to send the FQHN.  This is a misnomer as it is the OS that sends it.  Regardless, once can force the hostname by editing the registry.  Note this regards the TCP/IP parameters only.  These two values can be changed:
    In [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet\services\Tcpip\Parameters]
    For the [Hostname] value, you would change [FOO] to [foo.bar.com]
    Likewise for the [NV Hostname] value, you would change [FOO] to [foo.bar.com]
    If you have many systems, you could always write a .reg file to do it for you.
    In this way, you can leave your server more secure and provide functionality to your Windows clients.
    Hope this helps.
    t

  • 10.6 Email-Server/Postfix Helo command rejected - local SMTP clients won't use FQDN

    Hi,
    I set up a 10.6 server as mail-server which works (more or less) fine. I can send and receive internal and external Emails from various Macs with mail.app and Windows-Boxes with Thunderbird. However, some clients will be rejected due to wrong Helo strings
    e.g. a Windows-Box using Outlook express
    server postfix/smtpd[73194]: NOQUEUE: reject: RCPT from winbox.intranet.example.com[192.168.2.21]: 504 5.5.2 <winbox>: Helo command rejected: need fully-qualified hostname; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<winbox>
    similar happens with my router sending status-Emails (replace "winbox" with "router")
    finally my stand-alone-fax-machine uses it's ip-address as helo-string (helo=<192.168.2.10>, similar error)
    For now I've commented out
    smtpd_helo_restrictions = reject_invalid_helo_hostname
    #reject_non_fqdn_helo_hostname
    which makes things work. But that's not the right way, I guess, moreover since this entry is "fixed" by Server-Admin ever now and then.
    Does this problem arise from misconfigured boxes or a misconfigured OSX-Server? Hope the latter since there're no options to change this in my router nor my fax-machine...
    Thanks

    Try this.
         Symptoms   Users who use Microsoft Outlook as their email client and whoconnect to an email server running on Mac OS X Server v10.6 may not beable to send mail. The following (or similar) alert is returned toOutlook clients:    The message could not be sent becauseone of the recipients was rejected by the server. The rejected emailaddress was "[email protected]" is subject "example", account:"mail.example.com" , server "mail.example.com", protocol: SMTP, serverresponse: "504 5.5.2 < hostname > : Helo command rejected: needfully qualified host name", port: 25, secure (SSL): no, server error:504, error number: 0x800CCC79.      Products Affected   Mac OS X Server 10.6        Resolution    In Mac OS X Server v10.6, Postfix is configuredto require a fully qualified hostname from SMTP clients. This settingis configurable and the restriction can be removed, however anymodification of a security-related setting should be evaluated prior tomaking the change.   Once you have evaluated the change, you can use the following steps to implement it:   Note: Before proceeding, back up the /etc/postfix/main.cf file as a precaution.  
    In /etc/postfix/main.cf, locate the smtpd_helo_restrictions setting
    Remove "reject_non_fqdn_helo_hostname" from the list of settings.
    Restart the Mail service.

  • Spamfiltering and Helo command rejected

    Hi,
    We are having issue with our Apple Mavericks server with Spamfiltering turned on. Due to the facts that our e-mail cannot be sent to the outside world without a fully qualified domain hostname, we commented out the 'smtp_helo_restrictions' in the postfix main.cf file. We use SSL for pop3, imap, and smtp. If this is turned off (commented out), then we are receiving a lot spams coming through (spamfiltering turned off). If spamfiltering is turned on then we lose the ability to send and bounced back with the following message:
    Server error:  '504 5.5.2 <computer.:  Helo command rejected:  need fully-qualified hostname'.
    Any thoughts are solution for this?
    hugh

    Without knowing what os you're on, I'll assume solaris . .
    You can address your helo/ehlo greeting two ways:
    1. Fix your /etc/hosts so that the fqdn comes before your nickname
    xx.xx.xx.xx hostname.domain hostname
    or
    2. Add the fqdn to the daemon line in the imta.cnf file:
    ! tcp_local
    tcp_local smtp mx single_sys remotehost inner \ switchchannel identnonelimited subdirs 20\
    maxjobs 20 pool SMTP_POOL maytlsserver\ maysaslserver saslswitchchannel tcp_auth\
    threaddepth 64 dequeue_removeroute
    tcp-daemon HOSTNAME.YOUR_DOMAIN

  • I get a server error 504 message coming up from ical

    hi  every now and again, but more increasingly a message pops up saying server error 504.  What does this mean I wonder?  I'm given two choices Stay offline or Go Online.  Any clues

    Here's what I did:  I clicked on the the calendar.  The ICal tool bar comes up.  Under iCal, I clicked on Prefereneces.   A box came up; I clicked the Accounts tab.  In my case the "Enable this account" box was checked.  I unchecked it, and the problem went away.
    Hopes this helps 

  • 10.6.8 -- 10.9 Upgrade = 451 4.3.5 Helo command rejected: Server configuration error

    Full backup and upgraded my properly working Xserver 10.6.8 to Mavericks 10.9.1.
    Web service running fine, File Service running fine.
    Mail service: I can't send mail through my Mavericks Server.
    (i think my mail.lukedesign.com is "offline")
    What am I missing ?  I can no longer send mail after the upgrade !
    Helo command rejected: Server configuration
       error (in reply to RCPT TO command)
    Reporting-MTA: dns
    X-Outbound-Mail-Relay-Queue-ID: 930307000008E
    X-Outbound-Mail-Relay-Sender: rfc822;
    Arrival-Date: Sat, 28 Dec 2013 17:48:36 -0500 (EST)
    Action: failed
    Status: 4.3.5
    Remote-MTA: dns
    Diagnostic-Code: smtp; 451 4.3.5 >: Helo command rejected:
       Server configuration error
              bh=LIrD+hJmwz+5MZLs4vaxCpbJMUJarfXJSIlQFwtzPV4=;
              h=From:To:Subject:Message-Id:Date:MIME-Version:Content-Type;
              b=aqJBFaESW7MinKgXTlokj6WU0UxrmNYjYsXhcedpJr1io9uJ82XuN+FjKF0SLtebQ
              DhEIuYEEVU6sKsyh/y9+jKUtK2GCHexaXhWouA++9+FvT2NdqczDTdMEd/Q8kHdUOO
              Vre27uIG4VlMMlFW9CScIt9ZL3qsH+xR3oKlT7JM=
    x-aol-sid: 3039ac1af95452bf554450bb
    <Email Edited by Host>

    Postfix Debugging Howto

  • Defining Hostname to be used in Helo command

    Hi,
    First of all I would like to say that I am not a Java developer or am too familar with JRE's, JDK's etc so please can all responses be in plain english!
    We use an application supplied by HP called Quality Center. It is a Test Management/Repository tool and one of the functions it offers is auto email generation to keep users updated. QC is install on a Win 2003 server and it utilises JBoss.
    Our company has recently changed our SMTP gateway so that any request that does not contain a fully qualifed domain name in the HELO command will be rejected. This is causing us a problem as the emails from the QC application is not using a FQDN. Below is the error we are seeing(I have replaced the server name below with locahost+):
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
         class javax.mail.SendFailedException: 504 5.5.2 <+localhost+>: Helo command rejected: need fully-qualified hostname
    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:926)at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:389)at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:334)     wrapped in com.mercury.optane.core.CTdException: Invalid Addresses;
    nested exception is:
         class javax.mail.SendFailedException: 504 5.5.2 <+localhost+>: Helo command rejected: need fully-qualified hostname
    at com.mercury.optane.core.mail.CMailService.sendMail(CMailService.java:342)at com.mercury.td.saserver.api.logics.CAdminLogic.testSendMail(CAdminLogic.java:711)     wrapped in com.mercury.optane.core.CTdException: Failed to send mail. Please make sure that the server 'smtpgate.xxxx.com of type smtp is configured correctlyat com.mercury.td.saserver.api.logics.CAdminLogic.testSendMail(CAdminLogic.java:724)at com.mercury.td.saserver.web.CTdSiteAdminServlet.redirectTestSendMail(CTdSiteAdminServlet.java:742)
    My question is simple - is there a Java or JBoss configuration parameter to set the FQDN? If not, where is the hostname being retrieved from?
    The server has a fully qualified computername set, using DNS suffix, and we are not using Netbios over TCP. The hosts file has been updated to include the static IP address of ther server and the FQDN - does the 127.0.0.1 localhost line need to be removed?
    HP are saying that the QC application does not store the FQDN anywhere in the application so I can only assume that the javax.mail class is using a default hostname value which is the localhost and not the FQDN.
    Many thanks,
    Steve
    Edited by: SteveJR on Jul 30, 2008 5:31 AM

    Are there any Java programs around that can retrieve the host name as this would be a good test.I guess it's so trivial I have to write it for you...
    public class test {
        public static void main(String[] argv) throws Exception {
            System.out.println(java.net.InetAddress.getLocalHost().getHostName());
    }If you can configure your system so that returns the expected value, your application should work.
    "You can override what the SMTP provider uses by setting the session property mail.smtp.localhost" and "perhaps by setting it as a System property" - where would I find/do this? Is this a JDK setting or within the jboss config?It's a JavaMail setting. Without knowing how the application creates the JavaMail session,
    I can't tell you where to set this, or if it's even possible to set it so that it will be seen by
    the application. You could try setting it as a System property and see if that works. (And no,
    I don't know how to do that with JBoss.)

  • 500 Internal server error while logging in to Webshop URL

    Hi All,
    I am very new to Java CRM programming and ISA architecture.I am getting an 500 Internal Server error when I am trying to login in to webshop URL http://hostname:50000/xxxb2b/b2b/init.do?xcm.scenario=JCO_NCACLNT708
    Could anyone please let me know what went wrong???
    Error Log:
    500   Internal Server Error
      ISA Framework: java.lang.NoClassDefFoundError: com/dow/docbase/ejb/DocbaseCoARetrieve java.lang.Class.forName0(Native Method) java.lang.Class.forName(Class.java:141) com.dow.isa.businessobject.Z_BusinessObjectManager.class$(Z_BusinessObjectManager.java:43) com.dow.isa.businessobject.Z_BusinessObjectManager.getQuery(Z_BusinessObjectManager.java:52) com.dow.isa.util.BOUtils.getQuery(BOUtils.java:137) com.dow.isa.isacore.action.Z_ShopShowListAction.isaPerform(Z_ShopShowListAction.java:90) com.sap.isa.isacore.action.IsaCoreBaseAction.isaPerform(IsaCoreBaseAction.java:378) com.sap.isa.isacore.action.IsaCoreBaseAction.isaPerform(IsaCoreBaseAction.java:418) com.sap.isa.isacore.action.IsaCoreBaseAction.ecomPerform(IsaCoreBaseAction.java:344)
    Details:   No details available
    Regards,
    Raj

    Hi Easwar ,
    Though I am not connected to this error, but interested in the last parameter of xcm.scenario on this URL
    http://hostname:50000/xxxb2b/b2b+/init.do?xcm.scenario=JCO_NCACLNT708+*
    Is it possible to pass dynamic JCO client name to the xcm.scenario parameter through a SAP portal entry?
    And if so, what exactly is required to do this ? I saw a SAP note(SAP Note 1021959 - Portal settings for ISA iViews)
    to set parameters and values like xcm.scenario, portal, callbackurl etc in the Portal System Landscape Directory to Key  called ISA_B2B = "/init.do?scenario.xcm=<YOUR_XCM_SCENARIO>&portal=yes&autoentry=yes&shop=<YOUR_SHOP>&
    callbackurl=<THE_CALLBACKURL_BELOW>"
    I have a Portal WDP appln that maintains the values of <YOUR_XCM_SCENARIO> and <YOUR_SHOP>, the challenge is to pass these 2 values to the Portal System Landscape Directory Key( ISA_B2B).  I am understanding there could be a .par application that will need to be integrated with the WDP application to update the Key attribute when a user performs some action/event on the WDP Screen ?
    Your thoughts and direction will  of be big help and much appreciated.
    Sincerely,
    Portal Developer(Newbie)
    Edited by: Portal Developer on Aug 24, 2010 5:30 PM
    Edited by: Portal Developer on Aug 24, 2010 5:38 PM

  • 500 - Internal Server Error with webgate.dll on IIS6

    I have an instance of OAM setup on IIS6. All the security policies are working fine. However, when a user get's an authorization failure, instead of displaying that Oracle Access Manager Denied page, i get a HTTP 500 Internal Server Error. The url in the browser window is pointing to http://hostname/access/oblix/apps/webgate/bin/webgate.dll.
    However, when i refresh the page, i get:
    "Bad Oracle Access Manager Request
    The URL = NULL is reserved for use by Oracle Access Manager and has been used with incorrect parameters."
    Any ideas as to why this is happening?
    Thanks,
    Raj

    Are you still facing the issue.?
    If so please make sure if you have defined any authorization failure URL in the policy Domain.
    If not please define a authorization failure URL and verify the issue. If you have already defined authorization failure URL then please ignore this update.
    Regards
    Prabash

  • Problems logging in (Internal Server Error) / How to create workspaces

    Hi,
    I created a new group yesterday at Beehive Online and the provisioning was said to take up to 24 hours. My group's users already got the group confirmation mail yesterday but neither they or me (the sponsor) can log in to Beehive Online - we all get the Internal Server Error when trying to access workspaces. Do I need to create the workspaces somewhere else before the link on the front page works?
    Also, when I use the User Admin tool, the page says "Getting Your Groups" and "Initialising..." after which nothing happens - no groups or users appear. Have tried the latest Firefox, Google Chrome and IE7.
    Am I missing a step here?
    Regards,
    Joonas

    Joonas,
    OK, spotted the issue - the system uses a linux shell script to provision the users/ groups etc. and the "/" in the name is confusing the system into thinking it is a directroy marker.
    I will adjust the name to remove the / and you will be good to go. I will also adjust the provisioning system to remove this type of character from the group names.
    Phil

  • Oracle 9i Application server installation problem(MSG:Fully qualified domain name)

    I have installed Oracle 9i database.Now downloaded application server 9iAs,when i am installing I have got this error message(J2ee and web cache)
    Message begin
    Installation has detected that a fully qualified hostname has not been specified for this host.Oracle 9i application server requires a default domain name to be specified for each host where it is installed .Please consult your OS instructions for details on assigning a default domain name If u are not using DNS server then the file d:\windows\system32\drivers\etc hostsmust also include a line of a form
    <IP_ADDRESS><FULLY_QUALIFIED_HOST_NAME><ALIESES>
    Message End
    Could some one suggest the procedure to follow.
    Pl ,mailme to [email protected]
    I appriciate your help
    Tahnq
    Ravi

    Search this forum for answers and discussions.
    Basically, your machine will need a "fully qualified hostname" e.g. myhostname.mydomain.com, only myhostname is not enough.
    Also, AS does not allow the IP to change after install e.g. no DHCP (dynamically allocated IP) allowed!
    Hth,
    Fredrik

Maybe you are looking for