Re: [LIH] Trouble in opening outgoing ports on a mail server selectively

Ajitabh Pandey <[email protected]>
Newsgroups gmane.user-groups.linux.india.help
Message-ID <[email protected]>
2009/12/7 Arun Khan <knura-/[email protected]>:
> On Monday 07 Dec 2009, Ajitabh Pandey wrote:
>
>> # Following two ports are required for exim.
>>
>> -A OUTPUT -m state --state NEW -p udp -m udp --dport 25 -j
>> LOG-AND-ACCEPT -A OUTPUT -m state --state NEW -p udp -m udp --dport
>> 587 -j
>> LOG-AND-ACCEPT
>>
>
> IMO, the protocol shoud be tcp and not udp for SMTP connections.
> Perhaps that is what is blocking exim on outgoing connections.

Ha Ha, thanks a lot for pointing out that copy/paste error. To save
some typing effort I must have copied the previous line meant for port
53 queries and didn't change them completely.

Yeah I can confirm it is working now.

Regards.
-- 
Ajitabh Pandey
http://ajitabhpandey.info/ | http://unixclinic.net/ |
http://buddingthoughts.info
ICQ - 150615062
Registered Linux User - 240748

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.