postfix+squirrelmail

1. postfix+squirrelmail

Clovis Clerice
clovisclerice

(usa Debian)

Enviado em 21/04/2009 - 15:40h

ai galera instalei o postfix com mysql e squirrelmail faço os comandos telnet e da tudo certo tanto na pop3 quanto na smtp.
mais quando tento logar no squirelmail ele da o sguinte erro.

ERROR
Unknown user or password incorrect.
Go to the login page

e usuario esta no mysql e com permissao testei com usuraio do sistema e tb nao da nem como root e nem como outros usuraio nem com usuario do mysql.
acho que o squrrelmail não ta se conectando com mysql. se quizerem tenta a cessar o endereço e esse.
http://201.24.93.6:8080/squirrelmail/src/redirect.php
o logein e senha como ja disse
login:ricardo senha:ricardo


  


2. Humm

Thierry
thierryvdb

(usa Fedora)

Enviado em 21/04/2009 - 17:59h

Cara fica muito vago isso, pode ser monte de coisa. Libera o arquivo de conf dele e do postfix pra ver


3. arquivos

Clovis Clerice
clovisclerice

(usa Debian)

Enviado em 21/04/2009 - 18:13h

nao sei se e esses arquivos

eu estou com o debian 5

diretorio
/etc/squirrelmail arquivo apache.conf

Alias /squirrelmail /usr/share/squirrelmail

<Directory /usr/share/squirrelmail>
<IfModule mod_rewrite.c>
<IfModule mod_ssl.c>
<Location /squirrelmail>
RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
</Location>
</IfModule>
</IfModule>


# access to configtest is limited by default to prevent information leak
<Files configtest.php>
order deny,allow
deny from all
allow from 127.0.0.1
</Files>
</Directory>

# users will prefer a simple URL like http://webmail.example.com
#<VirtualHost 1.2.3.4>
# DocumentRoot /usr/share/squirrelmail
# ServerName webmail.example.com
#</VirtualHost>

# redirect to https when available (thanks omen@descolada.dartmouth.edu)
#
# Note: There are multiple ways to do this, and which one is suitable for
# your site's configuration depends. Consult the apache documentation if
# you're unsure, as this example might not work everywhere.
#
#<IfModule mod_rewrite.c>
# <IfModule mod_ssl.c>
# <Location /squirrelmail>
# RewriteEngine on
# RewriteCond %{HTTPS} !^on$ [NC]
# RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]
# </Location>
# </IfModule>
#</IfModule>


diretorio postfix
/etc/postfix arquivo main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = mail.ncinformatica.net
mydomain = ncinformatica.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = servidor.ncinformatica.net, localhost.ncinformatica.net, , localhost
relayhost =
#mynetworks = 127.0.0.0/8, 192.168.1.0/24, 201.34.170.32
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all



virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = mysql:/etc/postfix/virtual_redirecionamentos.cf mysql:/etc/postfix/virtual_mail2mail.cf
virtual_mailbox_domains = mysql:/etc/postfix/virtual_dominios.cf
virtual_mailbox_maps = mysql:/etc/postfix/virtual_mailboxes.cf
virtual_mailbox_base = /home/gmail
virtual_uid_maps = static:8500
virtual_gid_maps = static:8500
inet_protocols = ipv4











Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts