On 11/17/13 02:01, DJ Lucas wrote:

My apologies if this comes through more than once, but I've been unable to send to the list...getting admin bounces..hopefully just a poor subject line.
I cannot see what is probably an obvious error, but I've reduced the
config to as simple as I can get it and no joy on virtual delivery (and
I've been staring and poking at that for a couple of hours now).
Fortunately, this is new and just for testing (at least for now), so I'm
not down or anything, but would anybody care to assist in my eventual
facepalm?

Here is the relevant info (btw, this is not accessible from outside, it
is completely isolated in a test environment):


[root@server1 named]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 mail.lucasit.com ESMTP Postfix
helo mail.lucasit.com250 mail.lucasit.com

mail from: administra...@lucasit.com
250 2.1.0 Ok
rcpt to: administra...@lucasit.com
250 2.1.5 Ok
data354 End data with <CR><LF>.<CR><LF>

Test 8
.
250 2.0.0 Ok: queued as 9DAC618A592
quit
221 2.0.0 Bye
Connection closed by foreign host.

[root@server1 named]# cat /var/log/mail.log

Nov 17 00:37:28 server1 postfix/smtpd[14048]: connect from
localhost.localdomain[::1]
Nov 17 00:37:54 server1 postfix/smtpd[14048]: 9DAC618A592:
client=localhost.localdomain[::1]
Nov 17 00:38:00 server1 postfix/cleanup[14059]: 9DAC618A592:
message-id=<20131117063754.9dac618a...@mail.lucasit.com>
Nov 17 00:38:00 server1 postfix/qmgr[14045]: 9DAC618A592:
from=<administra...@lucasit.com>, size=345, nrcpt=1 (queue active)
Nov 17 00:38:00 server1 postfix/smtp[14060]: 9DAC618A592:
to=<administra...@mail.lucasit.com>,
orig_to=<administra...@lucasit.com>, relay=none, delay=17,
delays=17/0.01/0/0, dsn=5.4.6, status=bounced (mail for mail.lucasit.com
loops back to myself)
Nov 17 00:38:00 server1 postfix/cleanup[14059]: 94F9018A5E7:
message-id=<20131117063800.94f9018a...@mail.lucasit.com>
Nov 17 00:38:00 server1 postfix/qmgr[14045]: 94F9018A5E7: from=<>,
size=2268, nrcpt=1 (queue active)
Nov 17 00:38:00 server1 postfix/bounce[14061]: 9DAC618A592: sender
non-delivery notification: 94F9018A5E7
Nov 17 00:38:00 server1 postfix/qmgr[14045]: 9DAC618A592: removed
Nov 17 00:38:00 server1 postfix/smtp[14060]: 94F9018A5E7:
to=<administra...@mail.lucasit.com>,
orig_to=<administra...@lucasit.com>, relay=none, delay=0,
delays=0/0/0/0, dsn=5.4.6, status=bounced (mail for mail.lucasit.com
loops back to myself)
Nov 17 00:38:00 server1 postfix/qmgr[14045]: 94F9018A5E7: removed
Nov 17 00:38:02 server1 postfix/smtpd[14048]: disconnect from
localhost.localdomain[::1]

[root@server1 named]# postconf -n
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/bin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd
$daemon_directory/$process_name $process_id & sleep 5
html_directory = no
inet_protocols = ipv4 ipv6
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = localhost
myhostname = mail.domain.com
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /etc/postfix/sample
sendmail_path = /usr/bin/sendmail
setgid_group = postdrop
smtpd_tls_cert_file = /etc/postfix/ssl/mail.lucasit.com.pem
smtpd_tls_key_file = /etc/postfix/ssl/mail.lucasit.com.key
unknown_local_recipient_reject_code = 550
virtual_alias_maps = ldap:/etc/postfix/alias-lucasit.com.cf,
ldap:/etc/postfix/alias-internal.lucasit.com.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /srv/vmail
virtual_mailbox_domains = lucasit.com, internal.lucasit.com
virtual_mailbox_maps = ldap:/etc/postfix/mailbox-lucasit.com.cf,
ldap:/etc/postfix/mailbox-internal.lucasit.com.cf
virtual_minimum_uid = 5000
virtual_uid_maps = static:5000

[root@server1 named]# postmap -q administra...@lucasit.com
ldap:/etc/postfix/alias-lucasit.com.cf
Administrator

[root@server1 named]# postmap -q administra...@lucasit.com
ldap:/etc/postfix/mailbox-lucasit.com.cf
Administrator/Maildir

Thanks.

--DJ



--
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

Reply via email to