[FUGSPBR] Qmail desconectando-se sozinho....

Norberto Rozas norberto em kw.com.br
Qua Set 18 14:03:26 BRT 2002


Para SMTP tenho só o Postfix, pois desabilitei esta função no Qmail:

#/etc/rc.conf:

qmail options
qmail_smtp_enable="NO"
qmail_pop_enable="YES"
qmail_enable="YES"



Mas não é por isso que o qmail fecha sozinho, pois antes de instalar 
qmailadmin, ezmlm, etc o qmail funcionava normalmente como POP server.

Agora, ele fecha sozinho...



mail# telnet 192.168.0.5 110
Trying 192.168.0.5...
Connected to mail.meudominioteste.net.
Escape character is '^]'.
Connection closed by foreign host.
mail#






 Deve ser alguma coisa muito básica, mas nao sei o que. Eis o 
/var/qmail/configure/config:

#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
./hostname | tr '[A-Z]' '[a-z]' | (
  if read host
  then
    echo Your hostname is "$host".
    ./dnsfq "$host" | tr '[A-Z]' '[a-z]' | (
      if read fqdn
      then
        echo Your host\'s fully qualified name in DNS is "$fqdn".
        echo Putting "$fqdn" into control/me...
        echo "$fqdn" > /var/qmail/control/me
        chmod 644 /var/qmail/control/me
        ( echo "$fqdn" | sed 's/^\([^\.]*\)\.\([^\.]*\)\./\2\./' | (
          read ddom
          echo Putting "$ddom" into control/defaultdomain...
          echo "$ddom" > /var/qmail/control/defaultdomain
          chmod 644 /var/qmail/control/defaultdomain
        ) )
        ( echo "$fqdn" | sed 's/^.*\.\([^\.]*\)\.\([^\.]*\)$/\1.\2/' | (
          read pdom
          echo Putting "$pdom" into control/plusdomain...
          echo "$pdom" > /var/qmail/control/plusdomain
          chmod 644 /var/qmail/control/plusdomain
        ) )
        echo ' '
        echo Checking local IP addresses:
        : > /var/qmail/control/locals
        chmod 644 /var/qmail/control/locals
        ( ./dnsip "$fqdn"
          ./ipmeprint ) | sort -u | \
        (
          while read localip
          do
            echo "$localip: " | tr -d '\012'
            ./dnsptr "$localip" 2>/dev/null | (
              if read local
              then
                echo Adding "$local" to control/locals...
                echo "$local" >> /var/qmail/control/locals
              else
                echo PTR lookup failed. I assume this address has no DNS 
name.
              fi
            )
          done
        )
        echo ' '
        echo If there are any other domain names that point to you,
        echo you will have to add them to /var/qmail/control/locals.
        echo You don\'t have to worry about aliases, i.e., domains with 
CNAME records.
        echo ' '
        echo Copying /var/qmail/control/locals to 
/var/qmail/control/rcpthosts...
        cp /var/qmail/control/locals /var/qmail/control/rcpthosts
        chmod 644 /var/qmail/control/rcpthosts
       echo 'Now qmail will refuse to accept SMTP messages except to 
those hosts.'
        echo 'Make sure to change rcpthosts if you add hosts to locals 
or virtualdomains!'
      else
        echo Sorry, I couldn\'t find your host\'s canonical name in DNS.
        echo You will have to set up control/me yourself.
      fi
    )
  else
    echo Sorry, I couldn\'t find your hostname.
    echo You will have to set up control/me yourself.
  fi
)











Ademar Rocha wrote:

>Impressão minha ou você tem 2 SMTP´s ?
>qmail+postfix ?
>
>
>Ademar Rocha
>----- Original Message -----
>From: "Norberto Rozas" <norberto em kw.com.br>
>To: "fugspbr" <fugspbr em fugspbr.org>
>Sent: Wednesday, September 18, 2002 10:29 AM
>Subject: [FUGSPBR] Qmail desconectando-se sozinho....
>
>
>>Agradeço a todos pelas sugestoes.
>>
>>Acabei usando QMAIL + VPOPMAIL + QMAILADMIN e,  para SMTP, o Postfix.
>>
>>
>>Só que fiz alguma barbeiragem. O qmail, que funcionava normalmente,
>>agora desconecta logo após se conectar:
>>
>>mail# telnet 192.168.0.5 110
>>Trying 192.168.0.5...
>>Connected to mail.meudominioteste.net.
>>Escape character is '^]'.
>>Connection closed by foreign host.
>>mail#
>>
>>
>>Por que?
>>
>>
>>Obrigado por qualquer ajuda....
>>
>>Norberto.
>>
>>_______________________________________________________________
>>Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
>>Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>>
>
>_______________________________________________________________
>Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
>Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
>
>

-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://www.fug.com.br/pipermail/freebsd/attachments/20020918/310a9379/attachment.html>


Mais detalhes sobre a lista de discussão freebsd