On Mon, March 9, 2015 14:49, Viktor Dukhovni wrote: > On Mon, Mar 09, 2015 at 02:10:16PM -0400, James B. Byrne wrote: > >> <x...@cuttingedgegrowersupply.com>: host mx01.1and1.com[74.208.5.21] >> refused to talk to me: 501 Syntax error in parameters or arguments > > Perhaps they don't like your EHLO name. > > report the output of: > > $ printf "---%s---\n" "$(postconf -h myhostname)" > $ printf "---%s---\n" "$(postconf -h smtp_helo_name)" > > Make that "-hx" instead of "-h" if your Postfix is recent enough. >
[root@inet08 ~]# printf "---%s---\n" "$(postconf -h myhostname)" -bash: printf: --: invalid option printf: usage: printf [-v var] format [arguments] [root@inet08 ~]# echo $(postconf -h myhostname) inet08.hamilton.harte-lyne.ca [root@inet08 ~]# echo $(postconf -h smtp_helo_name) $myhostname [root@inet08 ~]# echo $(postconf -hx smtp_helo_name) inet08.hamilton.harte-lyne.ca -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:byrn...@harte-lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3