OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Telnet problem

From: Alaor B. de Carvalho Neto (alaorfdc.br)
Date: Fri Aug 19 2005 - 17:00:04 CDT


Magnus Bäck wrote:

>On Friday, August 19, 2005 at 23:38 CEST,
> "Alaor B. de Carvalho Neto" <alaorfdc.br> wrote:
>
>
>
>>I've installed postfix 2.2.5 from the source on Debian Sarge, but I
>>have one problem with telnet. When I type:
>>
>>telnet localhost 25
>>
>>It connect, but don't show any info about Postfix, only that I'm
>>connected and that the escape char is '^]', and everything that I type
>>after is ignored, like if postfix really don't is listening the 25
>>port, like if it is a "ghost port"... Even quit or the escape don't
>>work, is something like this:
>>
>>
>
>You most probably have a configuration error, or possibly a busted DNS.
>As always, the answer is in your logs.
>
>[...]
>
>
>
I've already tested any kind of configurations, including the default
main.cf file (only have added the "mydomain" directive).

My main.cf file:

----------------------------------------------------------------
mydomain = domain.com

smtpd_restriction_classes =
    spam_default

spam_default =
    reject_invalid_hostname
    reject_non_fqdn_hostname
    reject_unknown_sender_domain
    reject_rbl_client badconf.rhsbl.sorbs.net blackholes.mail-abuse.org
blacklist.spambag.org block.dnsbl.sorbs.net dialups.mail-abuse.org
list.dsbl.org dul.dnsbl.sorbs.net spam.dnsbl.sorbs.net
virbl.dnsbl.bit.nl xbl.spamhaus.org

smtpd_helo_required = yes

smtpd_sasl_auth_enable = yes

broken_sasl_auth_clients = yes

smtpd_sender_login_maps = hash:/etc/postfix/sasl_senders

smtpd_client_restrictions =
    check_client_access hash:/etc/postfix/client_access

smtpd_helo_restrictions =
    reject_invalid_hostname

check_helo_access = hash:/etc/postfix/helo_access

smtpd_sender_restrictions =
    reject_non_fqdn_sender
    reject_unknown_sender_domain
    check_sender_access hash:/etc/postfix/sender_access

smtpd_recipient_restrictions =
    permit_sasl_authenticated
    reject_unauth_destination
    reject_non_fqdn_recipient
    reject_unknown_recipient_domain

smtpd_data_restrictions =
    reject_unauth_pipelining

header_checks = /etc/postfix/header_checks

body_checks = /etc/postfix/body_checks
----------------------------------------------------------------

My mailserver isn't in the DNS records, but it really could be making
this telnet problem? Even in localhost?

I'll look the logs, Thank you very much for the reply.

Cya, []'s Reggards

Alaor Neto