[Postfix-es] Postfix y sasl
FERNANDO VILLARROEL
fvillarroel en yahoo.com
Lun Ago 13 20:32:30 CEST 2007
Hola es mi primer mensaje a la lista y mi primera
experiencia instalando Postfix.
El tema es que he seguido el siguiente How To:
http://linuxsilo.net/articles/postfix.html
El asunto es que cuando lo pruebo me encuentro con los
siguientes Logs:
Aug 13 14:22:56 mail postfix/qmgr[3357]: 72A3A87816:
from=<test en banannablue.com>, size=1354, nrcpt=1 (queue
active)
Aug 13 14:22:56 mail postfix/smtpd[3428]: disconnect
from unknown[192.168.0.6]
Aug 13 14:22:56 mail postfix/qmgr[3357]: 72A3A87816:
to=<fernando.villarroel en vtr.net>, relay=none,
delay=0.14, delays=0.1/0.03/0/0, dsn=4.3.0,
status=deferred (mail transport unavailable)
Aug 13 14:23:08 mail postfix/qmgr[3357]: warning:
connect to transport smtp: Connection refused
Aug 13 14:24:08 mail postfix/qmgr[3357]: warning:
connect to transport smtp: Connection refused
He seguido el How To hasta el 5.2; les adjunto los
archivos de configuracion:
Puedo recibir correos desde el exterior, pero no logro
enviar al exterior.
cyrus.conf
===================
# Debian defaults for Cyrus IMAP server/cluster
implementation
# see cyrus.conf(5) for more information
#
# All the tcp services are tcpd-wrapped. see
hosts_access(5)
# $Id: cyrus.conf,v 1.17 2006-09-18 23:47:37 hmh Exp $
START {
# do not delete this entry!
recover cmd="/usr/sbin/ctl_cyrusdb -r"
# this is only necessary if using idled for
IMAP IDLE
# this is NOT to be enabled right now in
Debian builds
#idled cmd="idled"
# this is useful on backend nodes of a Murder
cluster
# it causes the backend to syncronize its
mailbox list with
# the mupdate master upon startup
#mupdatepush cmd="/usr/sbin/ctl_mboxlist -m"
# this is recommended if using duplicate
delivery suppression
delprune cmd="/usr/sbin/ctl_deliver -E
3"
# this is recommended if caching TLS sessions
tlsprune cmd="/usr/sbin/tls_prune"
}
# UNIX sockets start with a slash and are absolute
paths
# you can use a maxchild=# to limit the maximum number
of forks of a service
# you can use babysit=true and maxforkrate=# to keep
tight tabs on the service
# most services also accept -U (limit number of
reuses) and -T (timeout)
SERVICES {
# --- Normal cyrus spool, or Murder backends
---
# add or remove based on preferences
imap cmd="imapd -U 30"
listen="imap" prefork=0 maxchild=100
#imaps cmd="imapd -s -U 30"
listen="imaps" prefork=0 maxchild=100
#pop3 cmd="pop3d -U 30"
listen="pop3" prefork=0 maxchild=50
#pop3s cmd="pop3d -s -U 30"
listen="pop3s" prefork=0 maxchild=50
# At least one form of LMTP is required for
delivery
# (you must keep the Unix socket name in sync
with imap.conf)
lmtp cmd="lmtpd"
listen="localhost:lmtp" prefork=0 maxchild=20
lmtpunix cmd="lmtpd"
listen="/var/run/cyrus/socket/lmtp" prefork=0
maxchild=20 sieve cmd="timsieved"
listen="localhost:sieve" prefork=0 maxchild=100
# this one is needed for the notification
services
notify cmd="notifyd"
listen="/var/run/cyrus/socket/notify" proto="udp"
prefork=1
# --- Murder frontends
-------------------------
# enable these and disable the matching
services above,
# except for sieve (which deals automatically
with Murder)
# mupdate database service - must prefork at
least 1
# (mupdate slaves)
#mupdate cmd="mupdate" listen=3905
prefork=1
# (mupdate master, only one in the entire
cluster)
#mupdate cmd="mupdate -m" listen=3905
prefork=1
# proxies that will connect to the backends
#imap cmd="proxyd" listen="imap"
prefork=0 maxchild=100
#imaps cmd="proxyd -s" listen="imaps"
prefork=0 maxchild=100
#pop3 cmd="pop3proxyd" listen="pop3"
prefork=0 maxchild=50
#pop3s cmd="pop3proxyd -s"
listen="pop3s" prefork=0 maxchild=50
#lmtp cmd="lmtpproxyd" listen="lmtp"
prefork=1 maxchild=20
#
----------------------------------------------
}
EVENTS {
# this is required
checkpoint cmd="/usr/sbin/ctl_cyrusdb -c"
period=30
# this is only necessary if using duplicate
delivery suppression
delprune cmd="/usr/sbin/ctl_deliver -E
3" at=0401
# this is only necessary if caching TLS
sessions
tlsprune cmd="/usr/sbin/tls_prune"
at=0401
## indexing of mailboxs for server side
fulltext searches
# reindex changed mailboxes (fulltext)
approximately every other hour
imapd.conf
==================
configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
lmtp_downcase_rcpt: yes
admins: cyrus
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 027
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_mech_list: PLAIN
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_auxprop_plugin: sasldb
sasl_auto_transition: no
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list:
TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
main.cf
==================
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
(Debian/GNU)
biff = no
append_dot_mydomain = no
delay_warning_time = 4h
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
myhostname = webmail.XXX.com
mydomain = XXX.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
#mailbox_transport = lmtp
#transport_maps = hash:/etc/postfix/transport
mydestination = $myhostname, $mydomain,
mail.$mydomain, localhost.$mydomain, localhost
myorigin = $mydomain
mynetworks = 127.0.0.0/8, 192.168.0.0/16
mailbox_size_limit = 0
recipient_delimiter = +
local_recipient_maps =
mailbox_transport =
lmtp:unix:/var/run/cyrus/socket/lmtp
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = mail.XXX.com
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination
smtpd_sasl_security_options = noanonymous
Por lo que he podido averiguar es un problema del
medio de transporte
mail_box_transport, pero no estoy seguro.
Espero que alguien me pueda ayudar con este problema o
donde puedo leer como solucionarlo.
Esperando sus comentarios o ayuda, les saluda:
Fernando Villarroel Noriel
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/
Más información sobre la lista de distribución Postfix-es