pop e smtp autenticados, mas não entrega emails [RESOLVIDO]

1. pop e smtp autenticados, mas não entrega emails [RESOLVIDO]

Venancio guedes
gino-ch

(usa Ubuntu)

Enviado em 07/08/2014 - 13:36h

Olá pessoal, boa tarde.
estou usando Debian 7.5, postfix, dovecot autenticado com mysql.
consigo autenticar tranquilo com pops e smtps, porem quando utilizo o outlook para enviar a mensagem
a seguinte saida aparece no log /var/log/mail.log

A mensagem não chega té o outro usuário. tipo envia mas o outro não recebe, e vise versa. Agradeço a todos!

Meu /var/log/mail.log
Aug 7 12:30:05 debian postfix/smtpd[5166]: connect from unknown[172.16.90.123]
Aug 7 12:30:05 debian postfix/trivial-rewrite[5148]: warning: do not list domain serveemail.local in BOTH mydestination and virtual_alias_domains
Aug 7 12:30:05 debian postfix/trivial-rewrite[5148]: warning: do not list domain serveemail.local in BOTH mydestination and virtual_mailbox_domains
Aug 7 12:30:05 debian postfix/smtpd[5166]: 0A3B55A2: client=unknown[172.16.90.123]
Aug 7 12:30:05 debian postfix/cleanup[5170]: 0A3B55A2: message-id=<001201cfb254$7b59bf70$720d3e50$@serveemail.local>
Aug 7 12:30:05 debian postfix/qmgr[5144]: 0A3B55A2: from=<camila@serveemail.local>, size=3828, nrcpt=1 (queue active)
Aug 7 12:30:05 debian postfix/trivial-rewrite[5148]: warning: do not list domain serveemail.local in BOTH mydestination and virtual_alias_domains
Aug 7 12:30:05 debian postfix/trivial-rewrite[5148]: warning: do not list domain serveemail.local in BOTH mydestination and virtual_mailbox_domains
Aug 7 12:30:05 debian postfix/local[5157]: 0A3B55A2: to=<gino@serveemail.local>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 7 12:30:05 debian postfix/qmgr[5144]: 0A3B55A2: removed
Aug 7 12:30:07 debian postfix/smtpd[5166]: disconnect from unknown[172.16.90.123]

Meu /etc/postfix/main.cf

smtpd_banner = $myhostname
biff = no
append_dot_mydomain = no
readme_directory = no

# TLS parameters
smtpd_tls_cert_file=/etc/dovecot/dovecot.pem
smtpd_tls_key_file=/etc/dovecot/private/dovecot.pem
smtpd_use_tls=yes
smtpd_tls_auth_only = yes

#Enabling SMTP for authenticated users, and handing off authentication to Dovecot
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes

smtpd_recipient_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination

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

myhostname = debian
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = example.com, hostname.example.com, localhost.example.com, localhost
mydestination = serveemail, debian, localhost
relayhost =
mynetworks = 127.0.0.0/8, 172.16.0.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

#Handing off local delivery to Dovecot's LMTP, and telling it where to store mail
virtual_transport = lmtp:unix:private/dovecot-lmtp

#Virtual domains, users, and aliases
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf

Meu /etc/postfix/master.cf

#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
submission inet n - n - - smtpd
smtps inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o smtp_fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache






  


2. Resolvi.

Venancio guedes
gino-ch

(usa Ubuntu)

Enviado em 09/08/2014 - 10:56h

Apenas estava faltando o User@dominio na minha tabela alias no mysql.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts