[Postfix-es] Error conexión IMAP con courier, postfix mysql
Lobete Feroz
lobeteferoz en gmail.com
Mie Jun 7 02:31:52 CEST 2006
Hola
No puedo conectarme a IMAP, pero si recibo tanto correo interno como
externo.
Al hacer
#telnet localhost imap
1 login jur jur
1 NO Login failed
Por lo tanto no me funciona un cliente web como el squirrelmail (por cierto,
¿me recomendais otro?)
Pero si miro en el log de mysql, la consulta es correcta:
SELECT id, crypt, "", uid, gid, home, maildir , "", name, "" FROM passwd
WHERE id = "jur en legido.mine.nu"
he probado y el resultado es:
id crypt uid gid home maildir
name
jur en legido.mine.nu BqxxA7yzvtxiM 1001 8 /
/var/spool/mail/jur/Maildir/ jur
en mail.log me da el error:
localhost imaplogin: Connection, ip=[::ffff:127.0.0.1]
localhost imaplogin: LOGIN FAILED, ip=[::ffff:127.0.0.1]
localhost imaplogin: LOGOUT, ip=[::ffff:127.0.0.1]
tengo bien creadas las carpetas Maildir y si me llegan los correos en
/var/mail/jur/Maildir/new
Version postfix: 2.2.4, instalado con apt-get y courier-imap,mysql.
Os pongo el postconf -n
alias_maps = $alias_database
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
default_destination_concurrency_limit = 10
disable_vrfy_command = yes
home_mailbox = Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps =
local_transport = virtual
mail_owner = postfix
mail_spool_directory = /var/spool/mail/
mailbox_size_limit = 0
maximal_queue_lifetime = 5d
message_size_limit = 10485760
mydestination = legido.mine.nu, localhost, localhost.localdomain
myhostname = legido.mine.nu
mynetworks = 192.168.1.0/24
myorigin = $myhostname
notify_classes = resource, software, policy
queue_directory = /var/spool/postfix
relay_domains = $mydestination
smtpd_banner = $myhostname ESMTP server
smtpd_helo_required = yes
virtual_gid_maps = mysql:/etc/postfix/gids.cf
virtual_mailbox_base = /
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virt.cf
virtual_uid_maps = mysql:/etc/postfix/ids.cf
y la salida de postfinger (hay información repetida pero es lo que pone se
pide para la lista):
--System Parameters--
mail_version = 2.2.4
hostname = linus
uname = Linux linus 2.6.12-10-386 #1 Fri Apr 28 13:13:44 UTC 2006 i686
GNU/Linux
--Packaging information--
looks like this postfix comes from deb package: postfix-2.2.4-1ubuntu2
--main.cf non-default parameters--
alias_maps = $alias_database
default_destination_concurrency_limit = 10
disable_vrfy_command = yes
home_mailbox = Maildir/
local_recipient_maps =
local_transport = virtual
mailbox_size_limit = 0
mail_spool_directory = /var/spool/mail/
message_size_limit = 10485760
mydestination = legido.mine.nu, localhost, localhost.localdomain
myhostname = legido.mine.nu
mynetworks = 192.168.1.0/24
notify_classes = resource, software, policy
smtpd_banner = $myhostname ESMTP server
smtpd_helo_required = yes
virtual_gid_maps = mysql:/etc/postfix/gids.cf
virtual_mailbox_base = /
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virt.cf
virtual_uid_maps = mysql:/etc/postfix/ids.cf
--master.cf--
smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
-o fallback_relay=
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender
$recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}
mailman unix - - n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
Muchas gracias
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.wl0.org/pipermail/postfix-es/attachments/20060607/02e9b909/attachment-0001.html
Más información sobre la lista de distribución Postfix-es