[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problemas con servidor de correo postfix+cyrus



Tienes creado el grupo lmtp........?

Puede ser que hayas seguido este tutorial.......?
http://www.linuxsilo.net/articles/postfix.html#main_cf

Saludos


El mié, 04-01-2006 a las 16:31 -0400, Myrle Suarez escribió:
> buenas tardes colisteros:
> 
> tengo configurado un servidor con debian sarge para der servicios :
> Web, dns y correo. En el caso del correo, el MTA es postfix y el
> servidor IMAP es Cyrus, con niveles de autenticacion (SASL) y
> squierrelmail para correo web. El caso es que realizo envios de
> correos desde cualquier direccion sin ningun problema, pero en el caso
> de recepción no funciona, ya que los buzones estan vacios. Sin
> embargo, el revisar el archivo /var/log/mail.log veo que los correos
> se estan encolando en el sistema, pero desconozco porque postfix no
> entrega via LMTP por el socket lmtpd al cyrus,  cosa que llegó a
> hacer por escasas horas, y luego no se que pudo pasar con  la
> configuración de mi servidor. el archivo imapd.conf esta como
> documento adjunto y el cyrus.conf es este: 
> 
> 
> 
> START {
>         recover         cmd="/usr/sbin/ctl_cyrusdb -r"
> 
> 
>         # 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"
> }
> 
> SERVICES {
>         imap            cmd="imapd -U 30" listen="localhost:imap"
> prefork=0 maxchild=100
>         imaps           cmd="imapd -s -U 30" listen="imaps" prefork=0
> maxchild=100
>         lmtpunix        cmd="lmtpd"
> listen="/var/run/cyrus/socket/lmtp" prefork=0 maxchild=20
>         sieve           cmd="timsieved" listen="localhost:sieve"
> prefork=0 maxchild=100
>         notify          cmd="notifyd"
> listen="/var/run/cyrus/socket/notify" proto="udp" prefork=1
> }
> 
> 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
> }
> 
> 
> asi mismo mi archivo /etc/postfix/main.cf es el siguiente:
> 
> setgid_group = postdrop
> 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
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> program_directory = /usr/lib/postfix
> myhostname = mimaquina.midominio 
> mydomain = midominio
> #alias_maps = hash:/etc/aliases
> alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
> alias_database = hash:/etc/aliases
> myorigin = $mydomain
> mydestination = $myhostname, localhost.localdomain, localhost,
> $mydomain,localhost.$mydomain
> mynetworks = 127.0.0.0/8
> #mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> recipient_delimiter = +
> #inet_interfaces = all
> local_recipient_maps =
> mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
> #SASL
> smtp_sasl_auth_enable = no
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = mimaquina
> smtpd_recipient_restrictions =
>         reject_invalid_hostname,
>         reject_non_fqdn_hostname,
>         reject_non_fqdn_sender,
>         reject_non_fqdn_recipient,
>         reject_unknown_sender_domain,
>         reject_unknown_recipient_domain,
>         permit_mynetworks,
>         permit_sasl_authenticated,
>         reject_unauth_destination,
>         check_recipient_access
> pcre:/etc/postfix/recipient_checks.pcre,
>         check_helo_access hash:/etc/postfix/helo_checks,
>         # check_helo_access pcre:/etc/postfix/helo_checks.pcre,
>         check_sender_access hash:/etc/postfix/sender_checks,
>         check_client_access hash:/etc/postfix/client_checks,
>         check_client_access pcre:/etc/postfix/client_checks.pcre,
>         reject_rbl_client relays.ordb.org,
>         # reject_rbl_client opm.blitzed.org,
>         # reject_rbl_client list.dsbl.org,
>         # reject_rbl_client sbl.spamhaus.org,
>         # reject_rbl_client cbl.abuseat.org,
>         # reject_rbl_client dul.dnsbl.sorbs.net,
>         permit
> 
> smtpd_data_restrictions =
>         reject_unauth_pipelining,
>         permit
> 
> smtpd_sasl_security_options = noanonymous
> ##CERTIFICADO
> smtpd_use_tls = yes
> smtpd_tls_auth_only = yes
> smtpd_tls_key_file = /etc/postfix/ssl/newreq.pem
> smtpd_tls_cert_file = /etc/postfix/ssl/newcert.pem
> smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
> smtpd_tls_loglevel = 3
> smtpd_tls_received_header = yes
> smtpd_tls_session_cache_timeout = 3600s
> tls_random_source = dev:/dev/urandom
> content_filter = smtp-amavis:[127.0.0.1]:10024
> ## ANTI-USE
> smtpd_helo_required = yes
> disable_vrfy_command = yes
> ## MAILMAN
> mailman_destination_recipient_limit = 1
> unknown_local_recipient_reject_code = 550
> owner_request_special = no
> relayhost =
> inet_interfaces = all
> soft_bounce = no
>                                
> 
> finalmente el archivo /etc/postfix/master.cf esta tambien adjunto a
> este mensaje   
> 
> 
> Mucho sabrias agradecerles una ayudita con este caso que para mi es
> inexplicable, Gracias anticipadas
>                  
> 
> 
> 
> 
> 
> 
-- 
"La Voluntad es el unico motor de nuestros logros"
<Mstaaravin />



Reply to: