From: "Khawaja M. Jawad" on
Hi,



I am using postfix + MailScanner + Mailwatch, Everything is working fine.
postfix is relaying emails for all of my clients/domain, but I am unable to
telnet localhost 25. Although I have allowed 127.0.0.0/8 range, listening on
all interfaces, and is sending emails for all customer as per defined range.





inet_interfaces = all

mynetworks = 10.0.0.0/8, 127.0.0.0/8, 172.29.3.0/24, 172.29.7.0/24

smtpd_recipient_restrictions = reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client cbl.abuseat.org, reject_unknown_sender_domain,
reject_unverified_sender, reject_non_fqdn_recipient, check_policy_service
inet:127.0.0.1:10031, permit_mynetworks, reject_unauth_destination





Can anyone let me know any clue ? Why I am unable to "telnet localhost 25"





--

Regards

Jawad







From: "J. Roeleveld" on
On Tuesday 08 June 2010 13:09:02 Khawaja M. Jawad wrote:
> Hi,
>
> I am using postfix + MailScanner + Mailwatch, Everything is working fine.
> postfix is relaying emails for all of my clients/domain, but I am unable to
> telnet localhost 25. Although I have allowed 127.0.0.0/8 range, listening
> on all interfaces, and is sending emails for all customer as per defined
> range.
>
> inet_interfaces = all
>
> mynetworks = 10.0.0.0/8, 127.0.0.0/8, 172.29.3.0/24, 172.29.7.0/24
>
> smtpd_recipient_restrictions = reject_rbl_client sbl-xbl.spamhaus.org,
> reject_rbl_client cbl.abuseat.org, reject_unknown_sender_domain,
> reject_unverified_sender, reject_non_fqdn_recipient, check_policy_service
> inet:127.0.0.1:10031, permit_mynetworks, reject_unauth_destination
>
> Can anyone let me know any clue ? Why I am unable to "telnet localhost 25"
>
> --
>
> Regards
>
> Jawad
>

Silly question, but I have seen it before, does it work if you substitute
"localhost" for "127.0.0.1" ?
"localhost" needs to be resolved properly before this will work.

What is the actual message you see?

Does it work from a different machine?

Do you have a firewall running?

Does "netstat -an | grep 25" show port 25 as "LISTENING"?

--
Joost

From: Jeroen Geilman on
>
>
> Hi,
>
> I am using postfix + MailScanner + Mailwatch, Everything is working
> fine... postfix is relaying emails for all of my clients/domain, but I
> am unable to telnet localhost 25. Although I have allowed 127.0.0.0/8
> range, listening on all interfaces, and is sending emails for all
> customer as per defined range...
>
> inet_interfaces = all
>
> mynetworks = 10.0.0.0/8, 127.0.0.0/8, 172.29.3.0/24, 172.29.7.0/24
>
> smtpd_recipient_restrictions = reject_rbl_client sbl-xbl.spamhaus.org,
> reject_rbl_client cbl.abuseat.org, reject_unknown_sender_domain,
> reject_unverified_sender, reject_non_fqdn_recipient,
> check_policy_service inet:127.0.0.1:10031, permit_mynetworks,
> reject_unauth_destination
>
> Can anyone let me know any clue ? Why I am unable to "telnet localhost 25"
>

Did you restart postfix after making this change ?
A reload won't pick up network binds.

J.

From: "Khawaja M. Jawad" on
Thanks for the answer over a silly question J.Roeleveld.



It was a firewall issue, I added rule for localhost to connect at port 25.
Issue is resolved.











--

Jawad



-----Original Message-----
From: owner-postfix-users(a)postfix.org
[mailto:owner-postfix-users(a)postfix.org] On Behalf Of J. Roeleveld
Sent: Tuesday, June 08, 2010 4:32 PM
To: postfix-users(a)postfix.org
Subject: Re: unable to telnet localhost 25



On Tuesday 08 June 2010 13:09:02 Khawaja M. Jawad wrote:

> Hi,

>

> I am using postfix + MailScanner + Mailwatch, Everything is working fine.

> postfix is relaying emails for all of my clients/domain, but I am unable
to

> telnet localhost 25. Although I have allowed 127.0.0.0/8 range, listening

> on all interfaces, and is sending emails for all customer as per defined

> range.

>

> inet_interfaces = all

>

> mynetworks = 10.0.0.0/8, 127.0.0.0/8, 172.29.3.0/24, 172.29.7.0/24

>

> smtpd_recipient_restrictions = reject_rbl_client sbl-xbl.spamhaus.org,

> reject_rbl_client cbl.abuseat.org, reject_unknown_sender_domain,

> reject_unverified_sender, reject_non_fqdn_recipient, check_policy_service

> inet:127.0.0.1:10031, permit_mynetworks, reject_unauth_destination

>

> Can anyone let me know any clue ? Why I am unable to "telnet localhost 25"

>

> --

>

> Regards

>

> Jawad

>



From: "J. Roeleveld" on
On Wednesday 09 June 2010 06:39:16 Khawaja M. Jawad wrote:
> Thanks for the answer over a silly question J.Roeleveld.

There are no silly/stupid questions, only silly/stupid answers :)

> It was a firewall issue, I added rule for localhost to connect at port 25.
> Issue is resolved.

Even though I have considered it myself as well once, I am curious as to why
someone would put a firewall on localhost?

--
Joost Roeleveld