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.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • Switching WSUS server and Windows 8.1/Server2008/Server2012 clients won't connect, Windows 7/Server2003 is fine

    I need to split the load of my WSUS on to another site because the amount of computers is straining the internet connection in the amount of uploads performed.
    However I'm having an issue at the second WSUS where only Windows 7 and Server 2003 clients will update...
    Windows 8.1 and Server 2008 and Server2012 won't update giving the following error codes: 8024400A and 80072EE2
    The WSUS is a Server 2012 with Local Update Publisher 1.1 installed. It works fine locally at the site but not across our WAN. 
    The clients appear in the WSUS console but fail to check for updates.
    I've tried it with the firewall turned off...  
    Both WSUS servers are using Microsoft SCEP 2012.
    Has anyone out there experienced this? Or have any suggestions to fix?
    Cheers.

    Hi there,
    I spoke too soon, I think I got one Windows 8 client to update yesterday by fluke. Now today it won't. 
    There's not much different between the W7 and W8 systems they both use the same antivirus. Same software but updated on W8. 
    Here is the windows update.log:
    2014-06-05 10:44:14:561
    976 954
    Misc ===========  Logging initialized (build: 7.9.9600.17093, tz: +1000)  ===========
    2014-06-05 10:44:14:639
    976 954
    Misc  = Process: C:\Windows\system32\svchost.exe
    2014-06-05 10:44:14:639
    976 954
    Misc  = Module: c:\windows\system32\wuaueng.dll
    2014-06-05 10:44:14:561
    976 954
    Service *************
    2014-06-05 10:44:14:639
    976 954
    Service ** START **  Service: Service startup
    2014-06-05 10:44:14:639
    976 954
    Service *********
    2014-06-05 10:44:15:311
    976 954
    IdleTmr Non-AoAc machine.  Aoac operations will be ignored.
    2014-06-05 10:44:15:311
    976 954
    Agent  * WU client version 7.9.9600.17093
    2014-06-05 10:44:15:326
    976 954
    Agent WARNING: SleepStudyTracker: Machine is non-AOAC. Sleep study tracker disabled.
    2014-06-05 10:44:15:326
    976 954
    Agent  * Base directory: C:\Windows\SoftwareDistribution
    2014-06-05 10:44:15:326
    976 954
    Agent  * Access type: No proxy
    2014-06-05 10:44:15:326
    976 954
    Service UpdateNetworkState Ipv6, cNetworkInterfaces = 1.
    2014-06-05 10:44:15:326
    976 954
    Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2014-06-05 10:44:15:326
    976 954
    Agent  * Network state: Connected
    2014-06-05 10:44:15:326
    976 954
    Service UpdateNetworkState Ipv6, cNetworkInterfaces = 1.
    2014-06-05 10:44:15:326
    976 954
    Service UpdateNetworkState Ipv4, cNetworkInterfaces = 1.
    2014-06-05 10:44:16:123
    976 954
    Agent ***********  Agent: Initializing global settings cache  ***********
    2014-06-05 10:44:16:123
    976 954
    Agent  * Endpoint Provider: 00000000-0000-0000-0000-000000000000
    2014-06-05 10:44:16:123
    976 954
    Agent  * WSUS server: http://10.155.194.59:8530
    2014-06-05 10:44:16:123
    976 954
    Agent  * WSUS status server: http://10.155.194.59:8530
    2014-06-05 10:44:16:123
    976 954
    Agent  * Target group: Test Group
    2014-06-05 10:44:16:123
    976 954
    Agent  * Windows Update access disabled: No
    2014-06-05 10:44:16:170
    976 954
    WuTask WuTaskManager delay initialize completed successfully..
    2014-06-05 10:44:16:170
    976 954
    AU    Timer: 31DA7559-FE27-4810-8FF6-987195B1FD98, Expires 2014-06-05 00:24:13, not idle-only, not network-only
    2014-06-05 10:44:16:170
    976 954
    AU    Timer: CF1ABEC6-7887-4964-BB93-B2E21B31CEC1, Expires 2014-06-05 05:36:25, not idle-only, not network-only
    2014-06-05 10:44:16:170
    976 954
    AU    Timer: 29A863E7-8609-4D1E-B7CD-5668F857F1DB, Expires 2014-06-05 05:36:25, not idle-only, not network-only
    2014-06-05 10:44:16:170
    976 954
    Report CWERReporter::Init succeeded
    2014-06-05 10:44:16:170
    976 954
    Agent ***********  Agent: Initializing Windows Update Agent  ***********
    2014-06-05 10:44:16:170
    976 954
    DnldMgr Download manager restoring 0 downloads
    2014-06-05 10:44:16:170
    976 954
    AU ###########  AU: Initializing Automatic Updates  ###########
    2014-06-05 10:44:16:170
    976 954
    AU Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Scheduled} added to AU services list
    2014-06-05 10:44:16:170
    976 954
    AU AIR Mode is disabled
    2014-06-05 10:44:16:170
    976 954
    AU  # Policy Driven Provider: http://10.155.194.59:8530
    2014-06-05 10:44:16:170
    976 954
    AU  # Detection frequency: 22
    2014-06-05 10:44:16:170
    976 954
    AU  # Target group: Test Group
    2014-06-05 10:44:16:170
    976 954
    AU  # Approval type: Scheduled (Policy)
    2014-06-05 10:44:16:170
    976 954
    AU  # Auto-install minor updates: Yes (Policy)
    2014-06-05 10:44:16:170
    976 954
    AU  # ServiceTypeDefault: Service 117CAB2D-82B1-4B5A-A08C-4D62DBEE7782 Approval type: (Scheduled)
    2014-06-05 10:44:16:170
    976 954
    AU  # Will interact with non-admins (Non-admins are elevated (Policy))
    2014-06-05 10:44:16:186
    976 954
    AU WARNING: Failed to get Wu Exemption info from NLM, assuming not exempt, error = 0x80070032
    2014-06-05 10:44:16:186
    976 954
    AU AU finished delayed initialization
    2014-06-05 10:44:16:202
    976 954
    AU Adding timer: 
    2014-06-05 10:44:16:202
    976 954
    AU    Timer: 31DA7559-FE27-4810-8FF6-987195B1FD98, Expires 2014-06-05 03:47:12, not idle-only, not network-only
    2014-06-05 10:44:16:217
    976 99c
    DnldMgr Asking handlers to reconcile their sandboxes
    2014-06-05 10:45:17:562
    976 954
    AU ReAttemptDownloadsAsUserIfNecessary, No calls in download progress.
    2014-06-05 10:45:31:453
    976 778
    IdleTmr Incremented idle timer priority operation counter to 1
    2014-06-05 10:45:34:562
    976 778
    AU Triggering AU detection through DetectNow API
    2014-06-05 10:45:34:562
    976 778
    AU Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Scheduled} added to AU services list
    2014-06-05 10:45:34:562
    976 778
    AU Triggering Online detection (interactive)
    2014-06-05 10:45:34:562
    976 778
    AU Adding timer: 
    2014-06-05 10:45:34:562
    976 778
    AU    Timer: 31DA7559-FE27-4810-8FF6-987195B1FD98, Expires 2014-06-05 00:45:34, not idle-only, not network-only
    2014-06-05 10:45:34:609
    976 954
    AU #############
    2014-06-05 10:45:34:609
    976 954
    AU ## START ##  AU: Search for updates
    2014-06-05 10:45:34:609
    976 954
    AU #########
    2014-06-05 10:45:34:609
    976 954
    AU Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Scheduled} added to AU services list
    2014-06-05 10:45:34:609
    976 954
    IdleTmr WU operation (CSearchCall::Init ID 1) started; operation # 15; does use network; is not at background priority
    2014-06-05 10:45:34:609
    976 954
    IdleTmr Incremented idle timer priority operation counter to 2
    2014-06-05 10:45:34:797
    976 954
    Report ***********  Report: Initializing static reporting data  ***********
    2014-06-05 10:45:34:797
    976 954
    Report  * OS Version = 6.3.9600.0.0.65792
    2014-06-05 10:45:34:797
    976 954
    Report  * OS Product Type = 0x00000004
    2014-06-05 10:45:34:813
    976 954
    Report  * Computer Brand = Microsoft Corporation
    2014-06-05 10:45:34:813
    976 954
    Report  * Computer Model = Virtual Machine
    2014-06-05 10:45:34:813
    976 954
    Report  * Platform Role = 1
    2014-06-05 10:45:34:813
    976 954
    Report  * AlwaysOn/AlwaysConnected (AOAC) = 0
    2014-06-05 10:45:34:813
    976 954
    Report  * Bios Revision = 090004 
    2014-06-05 10:45:34:813
    976 954
    Report  * Bios Name = BIOS Date: 03/19/09 22:51:32  Ver: 09.00.04
    2014-06-05 10:45:34:813
    976 954
    Report  * Bios Release Date = 2009-03-19T00:00:00
    2014-06-05 10:45:34:813
    976 954
    Report  * Bios Sku Number unavailable.
    2014-06-05 10:45:34:813
    976 954
    Report  * Bios Vendor = American Megatrends Inc.
    2014-06-05 10:45:34:813
    976 954
    Report  * Bios Family unavailable.
    2014-06-05 10:45:34:828
    976 954
    Report  * Bios Major Release unavailable.
    2014-06-05 10:45:34:828
    976 954
    Report  * Bios Minor Release unavailable.
    2014-06-05 10:45:34:828
    976 954
    Report  * Locale ID = 3081
    2014-06-05 10:45:35:578
    976 954
    Agent *** START ***  Queueing Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
    2014-06-05 10:45:35:609
    976 954
    AU <<## SUBMITTED ## AU: Search for updates  [CallId = {CDA6DEA2-9874-4DB5-AAA7-9A05D933C012} ServiceId = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7}]
    2014-06-05 10:45:35:609
    976 fc4
    Agent ***  END  ***  Queueing Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
    2014-06-05 10:45:35:609
    976 fc4
    Agent *************
    2014-06-05 10:45:35:609
    976 fc4
    Agent ** START **  Agent: Finding updates [CallerId = AutomaticUpdatesWuApp  Id = 1]
    2014-06-05 10:45:35:609
    976 fc4
    Agent *********
    2014-06-05 10:45:35:609
    976 fc4
    Agent  * Online = Yes; Ignore download priority = No
    2014-06-05 10:45:35:609
    976 fc4
    Agent  * Criteria = "IsInstalled=0 and DeploymentAction='Installation' or IsPresent=1 and DeploymentAction='Uninstallation' or IsInstalled=1 and DeploymentAction='Installation' and RebootRequired=1 or IsInstalled=0
    and DeploymentAction='Uninstallation' and RebootRequired=1"
    2014-06-05 10:45:35:609
    976 fc4
    Agent  * ServiceID = {3DA21691-E39D-4DA6-8A4B-B43877BCB1B7} Managed
    2014-06-05 10:45:35:609
    976 fc4
    Agent  * Search Scope = {Machine & All Users}
    2014-06-05 10:45:35:609
    976 fc4
    Agent  * Caller SID for Applicability: S-1-5-21-1323361640-3159480285-1943353560-1532
    2014-06-05 10:45:35:609
    976 fc4
    Agent  * RegisterService is set
    2014-06-05 10:45:35:625
    976 fc4
    EP Got WSUS Client/Server URL: "http://10.155.194.59:8530/ClientWebService/client.asmx"
    2014-06-05 10:45:35:641
    976 fc4
    Setup Checking for agent SelfUpdate
    2014-06-05 10:45:35:641
    976 fc4
    Setup Client version: Core: 7.9.9600.17093  Aux: 7.9.9600.17093
    2014-06-05 10:45:35:641
    976 fc4
    EP Got WSUS SelfUpdate URL: "http://10.155.194.59:8530/selfupdate"
    2014-06-05 10:45:35:672
    976 fc4
    Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
    2014-06-05 10:45:35:734
    976 fc4
    Misc Microsoft signed: NA
    2014-06-05 10:45:35:734
    976 fc4
    Misc Infrastructure signed: Yes
    2014-06-05 10:45:35:734
    976 fc4
    Misc WARNING: Cab does not contain correct inner CAB file.
    2014-06-05 10:45:35:734
    976 fc4
    Misc Validating signature for C:\Windows\SoftwareDistribution\SelfUpdate\wuident.cab with dwProvFlags 0x00000080:
    2014-06-05 10:45:35:734
    976 fc4
    Misc Microsoft signed: NA
    2014-06-05 10:45:35:750
    976 fc4
    Misc Infrastructure signed: Yes
    2014-06-05 10:45:35:766
    976 fc4
    Setup Skipping SelfUpdate check based on the /SKIP directive in wuident
    2014-06-05 10:45:35:766
    976 fc4
    Setup SelfUpdate check completed.  SelfUpdate is NOT required.
    2014-06-05 10:45:35:907
    976 fc4
    PT +++++++++++  PT: Synchronizing server updates  +++++++++++
    --continued--

  • 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.)

  • BT Email server configuration

    As there is not yet an email forum I am posting this here in the hope it is relevant. I have also posted an email to the forum moderation team containing some of the non published details from the logs mentioned below.
    I have heard from a friend (non-BT customer), running mail systems on their websites, and who has sent me the following comments relating to log entries emanating from BT mail servers.
    A non-BT customer is concerned to see that so many BT IP addresses seem to have incorrectly set up mail systems with neither the host nor the HELO set up correctly. The log files show the following error message resulting in the mail not being delivered:-
    450 4.7.1 <btcentralplus.com>: Helo command rejected: Host not found; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<btcentralplus.com>
    Could the team have a look at this and comment publicly please, taking this post with the private email to the forum moderation team that was sent at the same time as this message was posted.
    Many thanks.
    Dorset Vinney - I speak up when I'm worried

    Dorset_Vinney wrote:
    Thanks for the reply. sorry this is a bit confusing.
    My friend has provided the following additional info. It relates to trying to work out the correct settings on a small self-managed business mail server to avoid mail from BT users being rejected. Here is what they say...
    I just set up some spam filtering of incoming emaills, one of the checks validates the FQDN and the other looks for valid HELO responses. It looks like all email from BT IP addresses which is not going through the BT-Yahoo mail servers is being rejected on these checks. My concern is that this will result in non-yahoo email from BT users being blocked. Of particular concern is any email which will be sent using a domain based email address as some clients on the mail server are B2B so it is important that these are not blocked by any filters.
    Some spam email does get through these checks and is then blocked on IP address by the spamhaus filters. Which suggests that there are valid settings for the FQDN and HELO for some BT users but that the majority are not correctly set up. If it is just the spam malware which is incorrectly set up then this is not a problem. However, as there has been press over the last few years about mail issues from BT IP addresses I do not want to just assume that everything is OK with the current set up and am wondering what whitelisting filters may need to be included to allow valid mail through.
    The first paragraph sounds like he expects to get a lot of email from people using their own mail servers on dynamic IP address ranges. This is usually not accepted and many using anti-spam systems will block this. People using "Domain based" systems should set up their mail servers correctly, or use their ISP smarthosts like I do (with the usual address verifcation system, or if business type use inform the mail server hosts to allow it).
    This has nothing to do with BT, it is the sender of the emails at fault - which the second paragraph implies, if they are using their own "invalid" mail servers. To me he can happily reject all of these.
    Not sure what the "press over the last few days" is supposed to indicate - can you get more detail in this ?
    To me it still looks like your friend is trying to accept all spam messages from BT IP addresses, which typically means that the spam is sent directly from a user using a spam created smtp engine. The headers of which will invariably be fake and full of gobble-le-duke.
    Not all systems use HELO, some use EHLO ....
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • When I try to send an email I get the message rejected by the server because it does not allow relaying.  I have sent mails for months with no problems. Can anyone help

    When I try to send an email I get the message rejected by the server because it does not allow relaying.  I have sent mails for months with no problems but has started to be recoccuring. Can anyone help please as its pointless having email on my phone otherwise :-(  as i have to wait till i log on at home to respond.
    thanks
    Alison

    https://discussions.apple.com/message/16832350#16832350  follow the link user was having same problem.  Solution was given.

  • I keep trying to send emails and it says its rejected by the server because it doesn't allow relaying... Any ideas how to fix?

    I keep trying to send emails and it says its rejected by the server because it doesn't allow relaying... Any ideas how to fix?

    There is something else that can cause this issue. Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • Since downloading new OS, cannot send email "server rejected"

    Since downloading new OS, cannot send email "server rejected"

    How do you know everything is correct? where did you get the instruction? Sometimes the default ports are different on different devices and thus you have to manually change the ports used.

  • HT1430 Can receive email, but get the message "rejected by the server because it does not allow relaying."  What's going on?

    iphone 4s.  Can receive email, but when trying to send email I get the message "rejected by the server because it does not allow relaying"  What does this mean and how can I fix?

    Go into Settings>Mail, Contacts, Calendars>your account>Outgoing mail ServerSMTP>Primary Server then turn Server ON and fill in both User Name +Password under Outgoing Mail Server.
    This came from: https://discussions.apple.com/thread/3925508?start=0&tstart=0
    You can also delete the account on the phone, and re-create it on the phone .

Maybe you are looking for

  • Follow up on FSB problem

    Well, I have read all of the sticky notes and troubleshooting guides and I am just lost at this point...  Being an A+ instructor, I just don't understand how this could be happening.... I am able to get the FSB of my MB to 120, anything above that an

  • Firefox crashing when opening Microsoft SharePoint

    Hello, Currently the organization I'm with recently transitioned to Microsoft SharePoint for several hosting needs, including a place to host a new "home page." We did extensive testing in a few browsers including Firefox. At the time, this was under

  • Best way to sort data from a file alphabetically

    If I have a file as such: FIRST_NAME|LAST_NAME I want to display the data in alphabetical order by last name and by first name. what is the best way to do this? I found java.util.Arrays but i thought that it might be best if i read the data into a li

  • TS4036 Gmail on my iPad & iPhone 5 password it incorrect and it is

    I keep getting an error message:  Cannot Get Mail, The user name and password for "Gmail" in incorrect. I changed my email 5 or 6 times, I deleted the account and re-added and still getting the error message on my iPad and iPhone 5

  • Illustrator CC crashes: 13 times this morning & counting ...

    Illustrator CC crashes constantly. I have a 27" iMac running OSX 10.8.5 with 12GB RAM. Illustrator ran beautifully up until about a week ago. Now it's a mess. Crashes seem to have unrelated causes. Just recently it has been crashing on start up, but