2011/5/18 Sahil Tandon <sa...@freebsd.org>:
> On Wed, 2011-05-18 at 19:05:11 -0300, Gonzalo Rodriguez wrote:
>
>> May 18 09:49:35 FOOBAR-0010 postfix/local[16584]: 8808D26125:
>> to=<gonza...@foobar.com.ar>, relay=local, delay=0.92,
>> delays=0.91/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
>
> Where is 'foobar.com.ar' listed in your configuration?  If you must
> obscure hostnames/IPs, please do so consistently.
>

yes, foobar.com.ar is a ofuscated domain, thats is not the real one. I
have this in my postconf

$ postconf -n
alias_database = hash:/etc/postfix/aliases
command_directory = /usr/local/sbin
config_directory = /etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/postfix
debug_peer_level = 2
disable_vrfy_command = yes
mail_owner = _postfix
mydomain = foobar.com.ar
myhostname = foobar.com.ar
mynetworks = 127.0.0.0/8 10.65.3.120
myorigin = $mydomain
parent_domain_matches_subdomains =
queue_directory = /var/spool/postfix
relay_domains = $mydestination
setgid_group = _postdrop
smtp_starttls_timeout = 300s
smtp_tls_cert_file = /etc/ssl/foobar.crt
smtp_tls_key_file = /etc/ssl/private/foobar.key
smtp_tls_loglevel = 1
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_timeout = 3600s
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP
smtpd_etrn_restrictions = reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,       reject_unauth_destination,
reject_invalid_hostname,        reject_non_fqdn_hostname,
reject_unknown_sender_domain,   reject_non_fqdn_sender,
reject_non_fqdn_recipient,      reject_rbl_client cbl.abuseat.org,
 reject_rbl_client bl.spamcop.net
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/foobar.crt
smtpd_tls_key_file = /etc/ssl/private/foobar.key
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
virtual_alias_maps = hash:/var/www/datos/correo/virtual/aliases/foobar.com.ar
virtual_gid_maps = static:5001
virtual_mailbox_base = /var/www/datos/correo
virtual_mailbox_domains = foobar.com.ar
virtual_mailbox_maps = hash:/var/www/datos/correo/virtual/mailbox/mailboxes
virtual_minimum_uid = 5000
virtual_transport = dovecot
virtual_uid_maps = static:5001


If I send a email from this account to 'gonza...@foobar.com.ar' I have
this in maillog:

May 19 09:31:26 FOOBAR-0010 postfix/smtpd[8866]: connect from
mail-bw0-f54.google.com[209.85.214.54]
May 19 09:31:27 FOOBAR-0010 postfix/smtpd[8866]: setting up TLS
connection from mail-bw0-f54.google.com[209.85.214.54]
May 19 09:31:27 FOOBAR-0010 postfix/smtpd[8866]: Anonymous TLS
connection established from mail-bw0-f54.google.com[209.85.214.54]:
TLSv1 with cipher RC4-SHA (128/128 bits)
May 19 09:31:28 FOOBAR-0010 postfix/trivial-rewrite[16650]: warning:
do not list domain foobar.com.ar in BOTH mydestination and
virtual_mailbox_domains
May 19 09:31:29 FOOBAR-0010 postfix/smtpd[8866]: 2E1E126131:
client=mail-bw0-f54.google.com[209.85.214.54]
May 19 09:31:29 FOOBAR-0010 postfix/cleanup[8321]: 2E1E126131:
message-id=<banlktintr+pwrbg-otrjwtukt_qpxks...@mail.gmail.com>
May 19 09:31:29 FOOBAR-0010 postfix/qmgr[3862]: 2E1E126131:
from=<gonz...@sepp0.com.ar>, size=809, nrcpt=1 (queue active)
May 19 09:31:29 FOOBAR-0010 postfix/trivial-rewrite[16650]: warning:
do not list domain foobar.com.ar in BOTH mydestination and
virtual_mailbox_domains
May 19 09:31:29 FOOBAR-0010 postfix/local[14175]: 2E1E126131:
to=<gonza...@foobar.com.ar>, relay=local, delay=1.5,
delays=1.5/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
May 19 09:31:29 FOOBAR-0010 postfix/qmgr[3862]: 2E1E126131: removed


The mail never arrive, and must be deliver by dovecot, but don't work.

any hint?

thanks for all response

> --
> Sahil Tandon <sa...@freebsd.org>
>

Reply via email to