501 Syntactically invalid HELO argument(s)
Hi all,
When setting up Mail I got as far as getting the mail off the pop server (port 110). Sending is still not working (same server as for receiving but - port 25 - no authentication). Connection doctor shows the following message - *501 Syntactically invalid HELO argument(s)*.
It looks like that in polling the server it adds a _2 to my name ie NAME_2 - my research has shown that SMTP servers do not like _ text, and that this is the most likely cause.
Any logic why this may happen - and if it can be fixed?
Thanks!
Thanks for that link.
I had actually looked at it earlier, and next to the 'mail.smtp.localhost' property it reads:
Local host name. Defaults to InetAddress.getLocalHost().getHostName(). Should not normally need to be set if your JDK and your name service are configured properly.
Which begs the question: how should my JDK and/or my name service be configured?
I am sorry to say that I have no idea what JDK configurations to consider, and I do not think a name service is used in my simple test application.
Regards
Harry Mantheakis
London, UK
Similar Messages
-
550 Access denied - Invalid HELO name
Can someone tell me if this error message is my problem or the recipients? 99% of our email goes through fine, but we now have 3 customers we get this error from. The email was sent from Snow Leopard Server 10.6.5. I did an MX check and MXToolbox reported back my ISP's IP address and not the static IP address of our server.
Return-Path: <MAILER-DAEMON>
Delivered-To: [email protected]
Received: by mail (Postfix)
id CBBB646C13E; Thu, 30 Dec 2010 11:26:53 -0600 (CST)
Date: Thu, 30 Dec 2010 11:26:53 -0600 (CST)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [email protected]
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="4B5E246C13C.1293730013/mail"
Content-Transfer-Encoding: 7bit
Message-Id: <20101230172653.CBBB646C13E@mail>
This is a MIME-encapsulated message.
--4B5E246C13C.1293730013/mail
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host mail.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<[email protected]>: host THEIRSERVER.com[66.117.3.196] said: 550 Access denied -
Invalid HELO name (See RFC2821 4.1.1.1) (in reply to MAIL FROM command)
--4B5E246C13C.1293730013/mail
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; mail
X-Postfix-Queue-ID: 4B5E246C13C
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Thu, 30 Dec 2010 11:26:51 -0600 (CST)
Final-Recipient: rfc822; [email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.0.0
Remote-MTA: dns; THEIRSERVER.com
Diagnostic-Code: smtp; 550 Access denied - Invalid HELO name (See RFC2821
4.1.1.1)
--4B5E246C13C.1293730013/mail
Content-Description: Undelivered Message
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from localhost (localhost [127.0.0.1])
by mail (Postfix) with ESMTP id 4B5E246C13C
for <[email protected]>; Thu, 30 Dec 2010 11:26:51 -0600 (CST)
X-Virus-Scanned: amavisd-new at MYSERVER.com
Received: from mail ([127.0.0.1])
by localhost (MYSERVER.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id XlYy8X32jZDY for <[email protected]>;
Thu, 30 Dec 2010 11:26:51 -0600 (CST)
Received: from [192.168.88.11] (mail.MYSERVER.com [96.226.0.23])
by mail (Postfix) with ESMTPSA id 3512046C135
for <[email protected]>; Thu, 30 Dec 2010 11:26:51 -0600 (CST)
From: Brian Jagielski <[email protected]>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Subject: Test
Date: Thu, 30 Dec 2010 11:26:51 -0600
Message-Id: <[email protected]>
To: [email protected]
Mime-Version: 1.0 (Apple Message framework v1082)
X-Mailer: Apple Mail (2.1082)
--4B5E246C13C.1293730013/mail--Sorry. Was trying to be safe, but if it doesn't matter here it is
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 = 20971520
mydestination = $myhostname, localhost.$mydomain, mail.youngamericagroup.com, youngamericagroup.com, $mydomain
mydomain = youngamericagroup.com
mydomain_fallback = localhost
myhostname = mail
mynetworks = 127.0.0.0/8
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 = permitsaslauthenticated permit_mynetworks rejectinvalid_helohostname rejectnon_fqdn_helohostname
smtpdpw_server_securityoptions = cram-md5,gssapi,login,plain
smtpdrecipientrestrictions = permitsaslauthenticated permit_mynetworks rejectunauthdestination permit
smtpdsasl_authenable = yes
smtpdtlsCAfile = /etc/certificates/youngamericagroup.com.EAC01934DECC18B36C5A42CBFED35A0C2C93C0E 5.chain.pem
smtpdtls_certfile = /etc/certificates/youngamericagroup.com.EAC01934DECC18B36C5A42CBFED35A0C2C93C0E 5.cert.pem
smtpdtls_excludeciphers = SSLv2, aNULL, ADH, eNULL
smtpdtls_keyfile = /etc/certificates/youngamericagroup.com.EAC01934DECC18B36C5A42CBFED35A0C2C93C0E 5.key.pem
smtpdtlsloglevel = 0
smtpduse_pwserver = yes
smtpdusetls = yes
tlsrandomsource = dev:/dev/urandom
unknownlocal_recipient_rejectcode = 550
virtualaliasdomains = $virtualaliasmaps
virtualaliasmaps =
youngamericagroup:~ administrator$
Return-Path: <MAILER-DAEMON>
Delivered-To: [email protected]
Received: by mail (Postfix)
id CBBB646C13E; Thu, 30 Dec 2010 11:26:53 -0600 (CST)
Date: Thu, 30 Dec 2010 11:26:53 -0600 (CST)
From: [email protected] (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: [email protected]
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="4B5E246C13C.1293730013/mail"
Content-Transfer-Encoding: 7bit
Message-Id: <20101230172653.CBBB646C13E@mail>
This is a MIME-encapsulated message.
--4B5E246C13C.1293730013/mail
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host mail.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<[email protected]>: host plaztex.com[66.117.3.196] said: 550 Access denied -
Invalid HELO name (See RFC2821 4.1.1.1) (in reply to MAIL FROM command)
--4B5E246C13C.1293730013/mail
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; mail
X-Postfix-Queue-ID: 4B5E246C13C
X-Postfix-Sender: rfc822; [email protected]
Arrival-Date: Thu, 30 Dec 2010 11:26:51 -0600 (CST)
Final-Recipient: rfc822; [email protected]
Original-Recipient: rfc822;[email protected]
Action: failed
Status: 5.0.0
Remote-MTA: dns; plaztex.com
Diagnostic-Code: smtp; 550 Access denied - Invalid HELO name (See RFC2821
4.1.1.1)
--4B5E246C13C.1293730013/mail
Content-Description: Undelivered Message
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Received: from localhost (localhost [127.0.0.1])
by mail (Postfix) with ESMTP id 4B5E246C13C
for <[email protected]>; Thu, 30 Dec 2010 11:26:51 -0600 (CST)
X-Virus-Scanned: amavisd-new at youngamericagroup.com
Received: from mail ([127.0.0.1])
by localhost (youngamericagroup.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id XlYy8X32jZDY for <[email protected]>;
Thu, 30 Dec 2010 11:26:51 -0600 (CST)
Received: from [192.168.88.11] (mail.youngamericagroup.com [96.226.0.23])
by mail (Postfix) with ESMTPSA id 3512046C135
for <[email protected]>; Thu, 30 Dec 2010 11:26:51 -0600 (CST)
From: Brian Jagielski <[email protected]>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Subject: Test
Date: Thu, 30 Dec 2010 11:26:51 -0600
Message-Id: <[email protected]>
To: [email protected]
Mime-Version: 1.0 (Apple Message framework v1082)
X-Mailer: Apple Mail (2.1082)
--4B5E246C13C.1293730013/mail-- -
550 Access denied-invalid HELO name (See RFC2821 4.1.1.1.1)
Hello All
I am facing some problem while sending mail which is as:
I have developed a form for sending mail with attachment for this i am using smtp mail server. For this i get some help from OTN. It work well on XP Operating System but when it deployee on Window professional 2003 SP2 (server) then it give message as
Oracle.forms.demos.javamail.SendMessageException:
SendMessage: 550 Access denied-invalid HELO name (See RFC2821 4.1.1.1.1)
Please help me.
Thanks in Advance.Most likely the name service isn't properly configured on your Windows machine
and it can't get the correct host name for your machine. You can try working
around the problem by setting the mail.smtp.localhost property; see the javadocs
for the com.sun.mail.smtp package. -
Argument data type varchar is invalid for argument 1 of formatmessage function
So, I have a need to parameterize my templates so I can dynamically compile and execute them as needed. I have read on some blogs that it is possible to use FORMATMESSAGE for user string formatting but I can't seem to get that working on my end and
would appreciate help getting this running.
I continually run into the following error message
Msg 8116, Level 16, State 1, Line 9
Argument data type varchar is invalid for argument 1 of formatmessage function.
when I try to execute either of the queries below
1)
SELECT FORMATMESSAGE ( CAST('%s' AS VARCHAR(10)), 'name' );
2)
-- printf formatting %[[flag][width][.precision]]typeDECLARE @Format CHAR(1) = '' -- '',+,-,0,#,' ' , @Width INT = 6 -- display field size , @Precision INT = 3 -- characters to display , @Type CHAR(1) = 'X' -- s, d, i, u, o, x, X , @Binary VARBINARY(128) = 0x1239 , @Int INT = 11 , @String NVARCHAR(128) = N'test'; DECLARE @$QL NVARCHAR(256) = ( SELECT FORMATMESSAGE( N'SELECT FORMATMESSAGE(''%%s -->%%%s*.*%s<--'', @$QL, %i, %i, %s)' , s.Flag , f.Type , @Width , @Precision , CASE WHEN @Type = 's' THEN FORMATMESSAGE('''%s''', @String) WHEN @Type = 'd' THEN FORMATMESSAGE('%d', @Int) WHEN @Type = 'i' THEN FORMATMESSAGE('%i', @Int) WHEN @Type = 'u' THEN FORMATMESSAGE('%u', @Int) WHEN @Type = 'o' THEN FORMATMESSAGE('%o', @Int) WHEN @Type = 'x' THEN FORMATMESSAGE('%x', @Binary) WHEN @Type = 'X' THEN FORMATMESSAGE('%X', @Binary) END ) FROM (SELECT ('') AS Flag UNION ALL SELECT ('+') UNION ALL SELECT ('-') UNION ALL SELECT ('0') UNION ALL SELECT ('#') UNION ALL SELECT (' ') ) AS s CROSS JOIN (SELECT ('s') AS Type UNION ALL SELECT ('d') UNION ALL SELECT ('i') UNION ALL SELECT ('u') UNION ALL SELECT ('o') UNION ALL SELECT (LOWER('x')) UNION ALL SELECT (UPPER('X')) ) as f WHERE CHARINDEX(@Format,s.Flag) > 0 AND ASCII(f.Type) = ASCII(@Type) );EXEC sp_executesql @$QL, N'@$QL NVARCHAR(256)', @$QL;
[email protected]Hi Databyter,
Based on my testing, the first query runs fine in a SQL Server 2012 while I got the same error in your post when trying to run it in a SQL Server 2008R2.
After going through the BOL of the FORMATMESSAGE for both versions, something came into my sight. The note below was removed in the 2012 BOL.
FORMATMESSAGE works only with messages created using
sp_addmessage.
BOL:FORMATMESSAGE(2008)
BOL:FORMATMESSAGE(2012)
The messages created using sp_addmessage can be viewed by using the sys.messages. Thus in SQL Server 2008, you have to follow the example to use the function or you get the error in your post.
SELECT * FROM sys.messages WHERE message_id = 20009 AND language_id = 1033;
DECLARE @var1 VARCHAR(200);
SELECT @var1 = FORMATMESSAGE(20009, 'First Variable', 'Second Variable');
SELECT @var1;
For some reason the limitation is removed in SQL Server 2012, that's why your first query runs fine.
If you have any feedback on our support, you can click
here.
Eric Zhang
TechNet Community Support -
Hello,
Really i need help
can't send mail to some server like yahoo,hotmail ... , always get this error:
Your message cannot be delivered to the following recipients:
Recipient address: ***********@alcatel-lucent.fr
Reason: SMTP transmission failure has occurred
Diagnostic code: smtp;554 5.7.1 This message has been blocked because the HELO/EHLO domain is invalid.
Remote system: dns;mail.****.com (TCP|194.176.**.2|54121|212.59.**.188|25) (ice.****.lt ESMTP Sendmail 8.12.11/8.12.6; Mon, 23 Jan 2006 21:54:38 +0100 [CET])
Which fault is it: my webmail's server or receiver's mail server?
Pastel.thank for your reply jay
But i did some changes but it's still the same problem
so i did this: beside you will find the configuration of different file of my server.
# more /etc/hosts
# Internet host table
127.0.0.1 localhost
217.77.71.70 agondje.gabontelecom.ga agondje loghost
217.77.71.71 gtloghost komo komo.inet.ga loghost
# more /etc/nsswitch.conf
# /etc/nsswitch.files:
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
passwd: files
group: files
hosts: dns files
ipnodes: files
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files
aliases: files
services: files
sendmailvars: files
printers: user files
auth_attr: files
prof_attr: files
project: files
# more /mail/server5/msg-agondje/imta/config/imta.cnf
! VERSION=1.2
! Modified by IMS administration server on: Wed Nov 13 11:03:08 GMT-01:00 2002
! IMTA configuration file
! part I : rewrite rules
! DNS canonicalization rules. Uncomment this line to enable DNS
! address canonicalization.
! Please refer to the IMS documentation for details
!<IMTA_TABLE:dns_canonical.rules
! Domain Rewrite Rules.
! Uncomment this line to use domain rewrite rules
! from the configuration file instead of the domain database.
! Please refer to the SIMS documentation for details.
!<IMTA_TABLE:domains.rules
! Modification step 1
$* $E$F$U%[email protected]
agondje.gabontelecom.ga $U%[email protected]
gabontelecom.ga $U%[email protected]
! end of modifications
! comment on lines
! Rules to select local users
!agondje.gabontelecom.ga $U%[email protected]
!gabontelecom.ga $U%[email protected]
! end of modifications
! changes by [email protected] Dec 29th.
! route all aol.com, yahoo.com and other domainswhich are queueing a lot in tcp_local to thier respective channels.
aol.com $U%$D@tcp_aol-daemon
.aol.com $U%$H$D@tcp_aol-daemon
yahoo.com $U%@D@tcp_yahoo-daemon
.yahoo.com $U%$H$D@tcp_yahoo-daemon
hotmail.com $U%$D@tcp_hotmail-daemon
.hotmail.com $U%$H$D@tcp_hotmail-daemon
kx100.net $U%$D@tcp_kxnet-daemon
.kx100.net $U%$H$D@tcp_kxnet-daemon
! ims-ms
.ims-ms-daemon $U%$H.ims-ms-daemon@ims-ms-daemon
! native
.native-daemon $U%$H.native-daemon@native-daemon
! pipe
.pipe-daemon $U%$H.pipe-daemon@pipe-daemon
! tcp_local
! Rules for top level internet domains
<IMTA_TABLE:internet.rules
. $U%$H@tcp-daemon
! tcp_intranet
! Do mapping lookup for internal IP addresses
[] $E$R${INTERNAL_IP,$L}$U%[$L]@tcp_intranet-daemon
.gabontelecom.ga $U%$H.gabontelecom.ga@tcp_intranet-daemon
* $U%$&0.gabontelecom.ga
! reprocess
reprocess $U%reprocess.agondje.gabontelecom.ga@reprocess-daemon
reprocess.agondje.gabontelecom.ga $U%reprocess.agondje.gabontelecom.ga@reprocess-daemon
! process
process $U%process.agondje.gabontelecom.ga@process-daemon
process.agondje.gabontelecom.ga $U%process.agondje.gabontelecom.ga@process-daemon
! defragment
defragment $U%defragment.agondje.gabontelecom.ga@defragment-daemon
defragment.agondje.gabontelecom.ga $U%defragment.agondje.gabontelecom.ga@defragment-daemon
! conversion
conversion $U%conversion.agondje.gabontelecom.ga@conversion-daemon
conversion.agondje.gabontelecom.ga $U%conversion.agondje.gabontelecom.ga@conversion-daemon
! bitbucket
bitbucket $U%bitbucket.agondje.gabontelecom.ga@bitbucket-daemon
bitbucket.agondje.gabontelecom.ga $U%bitbucket.agondje.gabontelecom.ga@bitbucket-daemon
! deleted
deleted-daemon $U%$H@deleted-daemon
.deleted-daemon $U%$H@deleted-daemon
! inactive
inactive-daemon $U%$H@inactive-daemon
.inactive-daemon $U%$H@inactive-daemon
! hold
hold-daemon $U%$H@hold-daemon
.hold-daemon $U%$H@hold-daemon
! part II : channel blocks
defaults logging notices 1 2 4 7 copywarnpost copysendpost postheadonly noswitchchannel immnonurgent maxjobs 7 defaulthost gabontelecom.
ga gabontelecom.ga
! delivery channel to local /var/mail store
l subdirs 20 viaaliasrequired maxjobs 7 pool LOCAL_POOL
agondje.gabontelecom.ga
! modifications step 2
! ims-ms
ims-ms defragment subdirs 20 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 1 pool IMS_POOL fileinto $U+$S@$D
ims-ms-daemon
! end of modifications step 2
! native
native defragment subdirs 20 maxjobs 1
native-daemon
! pipe
pipe single defragment subdirs 20
pipe-daemon
[email protected] Dec 29:
! added mailfromdnsverify and changed subdirs from 20 to 100 and maxjobs from 7 to 15
! tcp_local
tcp_local smtp mailfromdnsverify interfaceaddress 217.77.71.70 mx single_sys remotehost inner switchchannel identnonelimited subdirs 100
maxjobs 15
pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth
tcp-daemon
! new channels to separate known traffic from tcp_local
! tcp_aol
tcp_aol smtp interfaceaddress 217.77.71.70 mx single_sys remotehost inner switchchannel identnonelimited subdirs 20 maxjobs 7 pool BIGVOL
UME_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth
tcp_aol-daemon
! tcp_yahoo
tcp_yahoo smtp interfaceaddress 217.77.71.70 mx single_sys remotehost inner switchchannel identnonelimited subdirs 20 maxjobs 7 pool BIGV
OLUME_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth
tcp_yahoo-daemon
! tcp_kxnet
tcp_kxnet smtp interfaceaddress 217.77.71.70 mx single_sys remotehost inner switchchannel identnonelimited subdirs 20 maxjobs 7 pool BIGV
OLUME_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth
tcp_kxnet-daemon
! tcp_hotmail
tcp_hotmail smtp interfaceaddress 217.77.71.70 mx single_sys remotehost inner switchchannel identnonelimited subdirs 20 maxjobs 7 pool BI
GVOLUME_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth
tcp_hotmail-daemon
! tcp_bigvolume
tcp_bigvolume smtp interfaceaddress 217.77.71.70 mx single_sys remotehost inner switchchannel identnonelimited subdirs 20 maxjobs 7 pool
BIGVOLUME_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth
tcp_bigvolume-daemon
! tcp_intranet
tcp_intranet mailfromdnsverify smtp mx single_sys subdirs 20 noreverse maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitc
hchannel tcp_auth
tcp_intranet-daemon
! tcp_submit
tcp_submit submit smtp mx single_sys mustsaslserver maytlsserver
tcp_submit-daemon
! tcp_auth
tcp_auth mailfromdnsverify smtp mx single_sys mustsaslserver
tcp_auth-daemon
! tcp_tas
tcp_tas smtp mx single_sys allowswitchchannel mustsaslserver maytlsserver deliveryflags 2
tcp_tas-daemon
! reprocess
reprocess
reprocess-daemon
! process
process
process-daemon
! defragment
defragment maxjobs 1
defragment-daemon
! conversion
conversion
conversion-daemon
! bitbucket
bitbucket
bitbucket-daemon
! deleted
deleted
deleted-daemon
! inactive
inactive
inactive-daemon
! hold
hold slave
hold-daemon
! autoreply
autoreply defragment subdirs 20
autoreply-daemon
Really thanks for your help jay
Pastel. -
Netboot error: Invalid kernel argument
I'm trying to install Arch using the Netboot Live System, following these steps:
Installed Syslinux on a SD card according to its wiki.
Copy the iPXE kernel image to the SD card root.
Created an syslinux.cfg file with this content:
LABEL archnetboot
MENU LABEL Arch Linux Netboot Environment
KERNEL /ipxe.lkrn
But when the notebook starts it says:
SYSLINUX 6.02 EDD Copyright (C) 1994-2013 H. Peter Anvin et al
Loading /ipxe.lkrn... ok
Booting kernel failed: Invalid argument
boot:
So it seem like I need to pass some network kernel parameters or something like that, because I tried the image with Qemu and it works fine.
The notebook is connected to the net by its Ethernet port, and I enabled the Network Boot in the BIOS although as far I know it is irrelevant when you try to boot from iPXE.
Any ideas? Thanks beforehand.I have the same problem. Could anyone please come by and correct this? I had a workaround for this booting the ipxe image from the "boot:" prompt that you get with syslinux but can't find it atm.
-
550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1)
i m trying to send the emails to some of the domains and i am getting the reply like this.................
Hi md,
Please refer to see RFC2821 4.1.1.1:
These commands are used to identify the SMTP client to the SMTP server. The argument field contains the fully-qualified domain name of the
SMTP client if one is available. In situations in which the SMTP client system does not have a meaningful domain name (e.g., when its address is dynamically allocated and no reverse mapping record is available), the client SHOULD send an address literal, optionally
followed by information that will help to identify the client system.
This issue may be caused by the FQDN on your send connector, you can change it to the proper name.
You can know more information from this document:
RTC 2821 Simple Mail Transfer Protocol
http://tools.ietf.org/html/rfc2821#section-4.1.1.1
Thanks,
Evan
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Setting 'mail.smtp.localhost' to make things work
Hello
I was getting this error with my initial attempts to send myself an email using JavaMail:
javax.mail.MessagingException: 501 Syntactically invalid HELO argument(s)
After hunting around for a while I came across references to doing this:
props.put( "mail.smtp.localhost", "localhost" )
So I tried it, and it works!
I'm happy about that, but I would like to find out why? I just cannot seem to find an answer anywhere.
I run Windows XP, and my hosts file has not been changed - localhost is still there, as shipped. When I call this:
InetAddress.getLocalHost().getHostName()
I get the $COMPUTERNAME value for my PC which happenes to be "HARRY_PC".
My real concern is what will happen when I deploy my application to other machines - is this little 'hack' likely to break things?
Hmm...
Many thanks!
Harry Mantheakis
London, UKThanks for that link.
I had actually looked at it earlier, and next to the 'mail.smtp.localhost' property it reads:
Local host name. Defaults to InetAddress.getLocalHost().getHostName(). Should not normally need to be set if your JDK and your name service are configured properly.
Which begs the question: how should my JDK and/or my name service be configured?
I am sorry to say that I have no idea what JDK configurations to consider, and I do not think a name service is used in my simple test application.
Regards
Harry Mantheakis
London, UK -
My MacBook Pro has suddenly stopped sending email on a number of my accounts using Mac Mail. I'm not aware of any changes to account for this, I just started it up at the beginning of the working day and it would not send. Receiving emails from the affected accounts is perfectly OK.
Using the connection doctor I find these error messages.
HELO unknown-e0:f8:47:42:13:fe.home
then
501 Syntactically invalid HELO argument(s)
Has anyone any suggestions of a cause/resolution?
ThanksYou are absolutely correct, In Mac Mail.
I have been using computers for over 20 years and have used a total of 5 email clients in those 20 years. Mostly Outlook Express, Outlook, Windows Live Mail, Mac Mail and now on all computers, Mac and PC, Thunderbird. With 4 of them I never had any problem sending and receiving mail, and I never had a problem with Mac mail but I used it for a total of maybe 2 or 3 days before I switched over to Thunderbird on OS X and then got rid of Windows Live Mail on PCs and installed Tbird of those computers. I have never had to Delete an account and recreate it in any of those other programs. Once it was set up and working it continued to work for Years.
Like I said in my post above if you do a search someone someplace is always having problems with Mac Mail sending or receiving Email. Without those users making any changes to the mail program, their email account settings or their system. It just stops.
sanjampet wrote:
Deleting and recreating the accounts can also work sometimes. -
OSX 10.6 Mail SMTP fail (fine on Entourage, iPad and iPhone)
Weird one here.
My SMTP server is failing to verify from Mail 4.6 (1085) running under OSx 10.6.8 on a MacBook Pro 1,1 2.16ghz 2gb ram.
Installed on the same computer is Entourage (12.0.0) which works fine, as does my iPhone and iPad. All connected to the same router via wifi.
Obviously I've gone over the settings with a toothcomb, and they are identical. Just for reference here they are:
server: smtp.123-reg.co.uk
authentication: password
user name: <email address>
pw: secret!
port: 465 (have tried 25 and 587 as well)
ssl: on (tried off with all above ports)
Anybody got any bright ideas as to why Mail doesn't want to play ball? Anything else I should be checking?
Thanks,
DomI hadn't tried connection doctor, but it's led me to some more info about my problem, sent me to some more websites and forums and ultimately a solution...
Connection doctor was not giving me much info (1 line saying it was trying to connect), so I plumbed all the email settings into Mail 6.5 (1508) running under 10.8.4 on another Mac, I get the same issue (and the same positive result with Outlook 14.3.5), but at least connection doctor there gave me a lot more info.
The clue was this from connection doctor:
WROTE Aug 24 11:54:51.854 [kCFStreamSocketSecurityLevelNone] -- host:smtp.123-reg.co.uk -- port:25 -- socket:0x7fe58fb2af10 -- thread:0x7fe58b127840
EHLO unknown-e4:ce:8f:50:34:ba.home
READ Aug 24 11:54:51.901 [kCFStreamSocketSecurityLevelNone] -- host:smtp.123-reg.co.uk -- port:25 -- socket:0x7fe58fb2af10 -- thread:0x7fe58b127840
501 Syntactically invalid EHLO argument(s)
A lot of reading of forums (http://business.forums.bt.com/t5/Email/email-on-Mac-problem-sending/td-p/46630/p age/2) led me to realise this was my BT Home Hub 3, Mail and the 123-reg smtp server having an incompatibility.
I changed the name of my computer in sharing prefs to a simple name with no spaces and punctuation, made sure the new name was updated in the hub, restarted both and bingo we're working.
The hub was suffixing to wifi mac id of the Mac with .home and this was failing the EHLO/HELO authentication.
Anyway, problem solved. Thank god!! -
Does OSX 10.9 Mail download all mail from yahoo servers and store locally?
I recently found 11GB worth of email messages on my hard drive that had been downloaded from the Yahoo server. I can't find a setting in mail preferences to keep all of my stored e-mails on the Yahoo server from downloading and being stored locally on my internal hard drive. Suggestions?
I hadn't tried connection doctor, but it's led me to some more info about my problem, sent me to some more websites and forums and ultimately a solution...
Connection doctor was not giving me much info (1 line saying it was trying to connect), so I plumbed all the email settings into Mail 6.5 (1508) running under 10.8.4 on another Mac, I get the same issue (and the same positive result with Outlook 14.3.5), but at least connection doctor there gave me a lot more info.
The clue was this from connection doctor:
WROTE Aug 24 11:54:51.854 [kCFStreamSocketSecurityLevelNone] -- host:smtp.123-reg.co.uk -- port:25 -- socket:0x7fe58fb2af10 -- thread:0x7fe58b127840
EHLO unknown-e4:ce:8f:50:34:ba.home
READ Aug 24 11:54:51.901 [kCFStreamSocketSecurityLevelNone] -- host:smtp.123-reg.co.uk -- port:25 -- socket:0x7fe58fb2af10 -- thread:0x7fe58b127840
501 Syntactically invalid EHLO argument(s)
A lot of reading of forums (http://business.forums.bt.com/t5/Email/email-on-Mac-problem-sending/td-p/46630/p age/2) led me to realise this was my BT Home Hub 3, Mail and the 123-reg smtp server having an incompatibility.
I changed the name of my computer in sharing prefs to a simple name with no spaces and punctuation, made sure the new name was updated in the hub, restarted both and bingo we're working.
The hub was suffixing to wifi mac id of the Mac with .home and this was failing the EHLO/HELO authentication.
Anyway, problem solved. Thank god!! -
Hello all,
I'm trying to set up an account on my Thunderbird and I'm having a weird problem. I can receive emails on it fine but I cannot send any emails. Whenever I try to send any emails I get the error message "Syntactically invalid EHLO argument(s)".
This email address that I'm trying to add as an account on Thunderbird works perfectly fine in my Gmail Android app on my phone. The difference in the Outgoing SMTP settings are that on my (working) gmail app the Security Type = NONE and the "Require signin" box is CHECKED, whereas in Thunderbird I can set my Outgoing SMTP Security Type setting to = NONE but I do not have the option to "Require signin". All of the options that are available do not work.
Is there any solution?
Thank you!
Best, NickHi Toad-Hall, thanks for offering to help. Here's the text below. Please let me know if you think this could be a Thunderbird issue, or more likely with my host...
Best,
Nick
Application Basics
Name: Thunderbird
Version: 31.6.0
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
Profile Folder: Show in Finder
Application Build ID: 20150330093429
Enabled Plugins: about:plugins
Build Configuration: about:buildconfig
Memory Use: about:memory
Mail and News Accounts
account1:
INCOMING: account1, , (imap) hnht-6bph.accessdomain.com:143, plain, passwordCleartext
OUTGOING: hnht-6bph.accessdomain.com:587, plain, passwordCleartext, true
account2:
INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
account3:
INCOMING: account3, , (imap) hp87.hostpapa.com:993, SSL, passwordCleartext
OUTGOING: hp87.hostpapa.com:465, SSL, passwordCleartext, true
account5:
INCOMING: account5, , (imap) imap.googlemail.com:993, SSL, passwordCleartext
OUTGOING: smtp.googlemail.com:465, SSL, passwordCleartext, true
account6:
INCOMING: account6, , (im) prpl-gtalk, plain, 0
Crash Reports
Extensions
gContactSync, 2.0.4, true, [email protected]
Lightning, 3.3.3, true, {e2fda1a4-762b-4020-b5ad-a41df1933103}
Manually sort folders, 1.1, true, [email protected]
Provider for Google Calendar, 1.0.4, true, {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
S3.Google Translator, 4.02, true, s3google@translator
Mark Read On Reply and Reply-All, 2.1, false, [email protected]
Important Modified Preferences
Name: Value
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.capacity: 358400
browser.cache.disk.smart_size_cached_value: 358400
browser.cache.disk.smart_size.first_run: false
browser.cache.disk.smart_size.use_old_max: false
extensions.lastAppVersion: 31.6.0
font.internaluseonly.changed: true
font.name.monospace.el: Consolas
font.name.monospace.tr: Consolas
font.name.monospace.x-baltic: Consolas
font.name.monospace.x-central-euro: Consolas
font.name.monospace.x-cyrillic: Consolas
font.name.monospace.x-unicode: Consolas
font.name.monospace.x-western: Consolas
font.name.sans-serif.el: Calibri
font.name.sans-serif.tr: Calibri
font.name.sans-serif.x-baltic: Calibri
font.name.sans-serif.x-central-euro: Calibri
font.name.sans-serif.x-cyrillic: Calibri
font.name.sans-serif.x-unicode: Calibri
font.name.sans-serif.x-western: Calibri
font.name.serif.el: Cambria
font.name.serif.tr: Cambria
font.name.serif.x-baltic: Cambria
font.name.serif.x-central-euro: Cambria
font.name.serif.x-cyrillic: Cambria
font.name.serif.x-unicode: Cambria
font.name.serif.x-western: Cambria
font.size.fixed.el: 14
font.size.fixed.tr: 14
font.size.fixed.x-baltic: 14
font.size.fixed.x-central-euro: 14
font.size.fixed.x-cyrillic: 14
font.size.fixed.x-unicode: 14
font.size.fixed.x-western: 14
font.size.variable.el: 17
font.size.variable.tr: 17
font.size.variable.x-baltic: 17
font.size.variable.x-central-euro: 17
font.size.variable.x-cyrillic: 17
font.size.variable.x-unicode: 17
font.size.variable.x-western: 17
gfx.direct3d.last_used_feature_level_idx: 1
mail.openMessageBehavior.version: 1
mail.spotlight.firstRunDone: true
mail.winsearch.firstRunDone: true
mailnews.database.global.datastore.id: ecc20ba1-ea64-2846-9e03-19fcbea83da
mailnews.database.global.views.conversation.columns: {"threadCol":{"visible":true,"ordinal":"1"},"flaggedCol":{"visible":true,"ordinal":"3"},"attachmentCol":{"visible":false…
mailnews.database.global.views.global.columns: {"threadCol":{"visible":true,"ordinal":"1"},"flaggedCol":{"visible":true,"ordinal":"3"},"attachmentCol":{"visible":false…
network.cookie.prefsMigrated: true
places.database.lastMaintenance: 1429703534
places.history.expiration.transient_current_max_pages: 104858
plugin.importedState: true
Graphics
Vendor ID: 0x10de
Device ID: 0x 863
WebGL Renderer: false
GPU Accelerated Windows: 2/2 OpenGL
AzureCanvasBackend: quartz
AzureSkiaAccelerated: 0
AzureFallbackCanvasBackend: none
AzureContentBackend: quartz
JavaScript
Incremental GC: 1
Accessibility
Activated: 0
Prevent Accessibility: 0
Library Versions
Expected minimum version
Version in use
NSPR
4.10.6
4.10.6
NSS
3.16.2.3 Basic ECC
3.16.2.3 Basic ECC
NSS Util
3.16.2.3
3.16.2.3
NSS SSL
3.16.2.3 Basic ECC
3.16.2.3 Basic ECC
NSS S/MIME
3.16.2.3 Basic ECC
3.16.2.3 Basic ECC -
501 5.1.3 Invalid address
an internal application server relays mail mail via our 3 HTS. In Application logs of the app server I notice this app servers fails to connec to mail servers. I look at the 3 HT servers logs and on 2 of the HT server Smtp
receive Logs I notice this....
HT Server \Internal Relay,08D22E6F6002FF0B,ip of HTserver:25,IP of App server50677,>,250 2.1.0 Sender OK,
HT Server \Internal Relay,08D22E6F6002FF0B,ip of HTserver:25,IP of APP Server :50677,<,RCPT TO:USERNAME,
HT Server \Internal Relay,08D22E6F6002FF0B,ip of HTserver:25,IP of APP Server,:50677,>,501 5.1.3 Invalid address
Any idea I came across this article but just wanted a second opinion ...
http://msexchangetips.blogspot.ca/2010/10/exchange-2007-501-513-invalid-address.html
The default domain value is empty when I run the following on my HTServers:
Get-ReceiveConnector -identity <Internal Relay> |fl
thank u
PS: It could also be possible that the application server does not have the complete recipient information or not have nothing at all????? i will look into dat aswell.Hi WidPacket,
Thank you for your question.
If message flow is well for other users, we could make sure we have configured receive connector for application server, then we could make sure email address of application server was configured with correct format. If the application server has cache,
we could delete cache to check if the issue persist.
If the issue persist, we could contact third application server.
If there are any questions regarding this issue, please be free to let me know.
Best Regard,
Jim
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Jim Xu
TechNet Community Support -
Error in File ~tmp81c59e23760a10.rpt: Invalid argument for database
When trying to run the report via Crystal Reports Server, we get the following error:
Error in File ~tmp81c59e23760a10.rpt: Invalid argument for database.
Opening the report in Crystal Reports 2008 and running a verify database, confirms that everything is working. Yet when we run it through Crystal Reports Server it errors every time.
We are using a Progress ODBC driver which works fine when running reports via Crystal Reports 2008
Can you please shed some light on this.
I have already checked to see if there was a service pack or any other hot fixes available.Hi Brett,
I believe I have the same error. ie
Invalid Argument provided.
Error in File xxxxx {C8F4D455-6B45-4859-B1B0-3E77619E5AD0}.rpt:
Invalid argument for database."
Have you managed to resolve the issue yet?
We're running Crystal Reports 2008 Basic on MS SQL Server 2005.
The Crystal Report works fine, when run on the server (and/or in terminal server session), but if it is run from a desktop client, which connects to the server, it gives the error above.
So in my case, it must permissions or component related (ie something not loaded, that should be).
I found the following on the internet:
u201DIDataReader supports only one table by default
When you view a report that has tables with the data source set to
IDataReader for each one, and many of the tables are linked together, you
may see the following error message: "Invalid database argument." Calls
made to SetDataSource() from an IDataReader are supported only for
reports that contain one table.
Workaround
To use an IDataReader with multiple tables, create a report with one
command table that selects the necessary fields.u201C
From researching in SAP BOBJ Notes I found somethings to try, or look at, but can't quite tackle them yet. I'll let you know how it goes.
Best Regards,
George -
Every time I foreword an address or web page etc. using the "File" E-Mail Link the following happens. The e-mail is sent but there are five old error messages shown below. The e-mail goes trough but I have to hit the [close] box to clear the sent message. I can't figure out how to remove the old rejected e-mail addresses.
Here is a copy of the message.
The message could not be sent. The authentication setting might not be correct for your outgoing e-mail [SMTP] server. For help solving this problem, go to Help, search for "Troubleshoot Windows Mail", and read the "I'm having problems sending e-mail" section. If you need help determining the proper server settings, please contact your e-mail service provider.
The rejected e-mail address was '*****@picturetrail.comAccount:2051017:return'. Subject 'Account:2051017:return', Account: 'Dave's Mail', Server: 'smtp.att.yahoo.com', Protocol: SMTP, Server Response: '501 Syntax error in arguments', Port: 465, Secure(SSL): Yes, Server Error: 501, Error Number: 0x800CCC79This has nothing to do with Firefox. Mail is being rejected as you have set up your mail in a wrong way with incorrect ports etc.. Please contact the appropriate people for this issue and not here.
Maybe you are looking for
-
After updating from Windows XP t0 Windows 7, and re-installing my Acrobat 9 Pro update, the prior version of Pro cannot be found. I haven't located older software as 9 Pro was purchased in Sept 2008. How should I proceed?
-
My itunes wont update to the 10.7, it keeps failing, can anybody help?
My itunes starts updating but fails after a few minutes and suggests downloading manually but the option under tools is not highlighted for me to pick. Can anybody help?
-
How could I Write data into a field in Oracle whose data type is VARCHAR2
The target data I want to write into Oracle is in http://tw.yahoo.com/info/utos.html. Now, these data is stored in Mysql database and the field which stores these data uses "Text" as its data type. I want to derive these data from mysql database and
-
Vista SP1 update problems with itunes after
Hello, After installing the SP1 Vista update, i cant play music anymore with itunes. the play button doesnt work anymore. After installing (repairing) itunes again? it still doesnt work.
-
JDeveloper link to MS SQL Server database MDS errors
The database connection to the SQL server can be successfully created and used (after putting the sqljdbc4.jar file into the project's path). Then when I try to use that db connection for a SOA-MDS connection, the "Messages" tab in JDev displays the