Páginas

quinta-feira, 22 de março de 2012

Sites

- Consulta DNS Reverso
http://mail.terra.com.br/postmaster/reverso.cgi

- Consulta DNS Reverso, Blacklist e DNS Report
http://www.ipok.com.br/

quarta-feira, 11 de janeiro de 2012

FreeBSD: Ports com Wget

Pra quem gosta do wget ou quer testar uma alternativa.

Passo 1 - Baixe o wget via ports cd /usr/port/shells/bash && make install clean

Passo 2 - Edite o arquivo make.conf

Passo 3 - Insira as linhas abaixo

FETCH_CMD=wget
FETCH_BEFORE_ARGS=-nc --progress=bar --read-timeout=60
DISABLE_SIZE=yes

-nc -> substituir todos os arquivos que baixou anteriormente, ao invés de sobrescreve-lo
--progress=bar -> indicar o processo de transferência
--read-timeout=60 -> tenta fazer o download apos 60 segundos após o link cair.

Faça o teste.

cd /usr/ports/www/squid && make install clean

FONTE: http://scratching.psybermonkey.net/2010/01/freebsd-how-to-setup-ports-using-wget.html

quarta-feira, 28 de dezembro de 2011

Apache: Senha diretorio

O servidor Web Apache ajuda com o arquivo .htaccess que direciona o controle de cada pasta lida no servidor.
Primeiramente você deve criar um arquivo que contém o login e senha. Para isso utilize o comando:

# cd /diretorio/protegido

# htpasswd -c .htpasswd USER

A senha será solicitada e então cria-se um arquivo com o nome .htpasswd

# vim .htaccess

Insira as linhas:

AuthUserFile /home/usuario/.htpasswd
AuthType Basic
AuthName "Restrito"
Require valid-user

sábado, 24 de dezembro de 2011

FreeBSD: Erro instalação iRedMail

postfix instalation fail

############################################################################
Try this:
* When you get this error, try to Install mail/postfix26/ manually:
# cd /usr/ports/mail/postfix26/
# make clean
# make install clean
* If postfix is installed with above step, edit iRedMail-0.6.1/.iRedMail.installation.status, append this line:
export status_install_port_mailpostfix26='DONE'
* Re-execute iRedMail.sh script:
# bash iRedMail.sh

FONTE: http://www.iredmail.org/forum/topic1171-installation-failing-in-freebsd80-with-iredmail061.html
############################################################################

I also ran into this issue while installing 0.7.0-beta2. This will require a fix before .7 is released. Here is what I did to fix it based on directions from link above.

cd /usr/ports/mail/postfix26
make deinstall reinstall clean

Once complete, edit iRedMail-0.7.0-beta2/.iRedMail.installation.status and add the following line:

export status_install_port_mailpostfix26='DONE'


No meu caso, utilizo postfix 2.7. Fica "mailpostfix27".

FONTE: http://code.google.com/p/iredmail/issues/detail?id=52