[Linux] Postfix help

Chris 'Chipper' Chiapusio linux@flux.org
Tue, 15 May 2007 15:15:43 -0400


On Tue, May 15, 2007 at 01:48:00PM -0400, Nicholas Saraniti wrote:
>try encapsulating the hostname in brackets in the config file... I
>believe this will force postfix to use this address and NOT lookup an MX
>record for the domain... i.e. [smtp.comcast.net] and see if that works...
>
>David Williams wrote:
>> Mike,
>>
>> Yes, the postfix box is on the Comcast network.
>>
>> How can I try and do this manually.  I know I need to telnet to port 25, but what do I do after that?
>>
>> Regards,
>> ____________________________________________
>> David Williams
>>  
>>

Nicholas is correct, from the postfix main.cf config file comments:

# In the case of SMTP, specify a domain, host, host:port, [host]:port,
# [address] or [address]:port; the form [host] turns off MX lookups.

if you look at the log which David ver smartly included you will see:

>>>>> suspended: Host or domain name not found. Name service error for
>>>>> name=smtp.comcast.net type=MX: Host not found, try again)

so, change:
relayhost = smtp.comcast.net
to:
relayhost = [smtp.comcast.net]

Chipper


(Props to Nicholas)


-- 
------
				**** Warning ****
This e-mail message, without warrant or warning, and despite US law as set
forth in the Foreign Intelligence Surveillance Act of 1978, may be subject
to monitoring by the United States National Security Agency and/or the
Department of Defense. Information contained in this message may be used
against any senders or recipients, now or in the future, in a public trial
or secret tribunal.
                      Please encrypt anything important.
   PGP Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x6CFA486D