|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Paul Dulaba (screwgie
gmail.com)
Date: Tue Feb 12 2008 - 17:28:34 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When doing a telnet test, postfix accepts the rcpt address, and appears to
map it correctly based on virtual_alias_maps, but then bounces the message.
So it initially finds it, then doesn't find it. A postmap query is
successful.
#postmap -q "john.doe
just.gov.ab.ca" virtual
john.doe
csadm.just.gov.ab.ca
Contents of /etc/postfix/virtual
csadm.just.gov.ab.ca DOMAIN
john.doe
just.gov.ab.ca
john.doe
csadm.just.gov.ab.ca
john.doe
csadm.just.gov.ab.ca
john.doe
csadm.just.gov.ab.ca
Results of postfinger
postfinger - postfix configuration on Tue Feb 12 16:26:51 MST 2008
version: 1.30
--System Parameters--
mail_version = 2.2.9
hostname = elx-dev1
uname = Linux elx-dev1 2.6.16.21-0.8-default #1 Mon Jul 3 18:25:39 UTC 2006
i686 i686 i386 GNU/Linux
--Packaging information--
looks like this postfix comes from RPM package: postfix-2.2.9-10.2
--main.cf non-default parameters--
alias_maps = hash:/etc/aliases
biff = no
daemon_directory = /usr/lib/postfix
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/packages/postfix/html
inet_protocols = all
local_transport = error:local mail delivery is disabled
mailbox_size_limit = 0
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, envelope_recipient, header_sender,
header_recipient
masquerade_domains = just.gov.ab.ca
masquerade_exceptions = root
message_size_limit = 30480000
minimal_backoff_time = 600
mydestination = $mydomain
mydomain = just.gov.ab.ca
myhostname = maildev.just.gov.ab.ca
mynetworks = 127.0.0.1, 192.168.133.0/24
myorigin = $mydomain
queue_run_delay = 600
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relayhost = [199.213.200.47]
sample_directory = /usr/share/doc/packages/postfix/samples
setgid_group = maildrop
smtpd_helo_required = yes
smtpd_recipient_limit = 1500
transport_maps = hash:/etc/postfix/transport
virtual_alias_domains = hash:/etc/postfix/virtual
virtual_alias_maps = hash:/etc/postfix/virtual
--master.cf--
smtp inet n - n - 300 smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
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
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
-- end of postfinger output --
Contents of /var/log/mail
Feb 12 16:20:57 elx-dev1 postfix/smtpd[25262]: connect from unknown[
10.169.130.7]
Feb 12 16:21:15 elx-dev1 postfix/smtpd[25262]: B49DCC34A: client=unknown[
10.169.130.7]
Feb 12 16:21:18 elx-dev1 postfix/cleanup[25265]: B49DCC34A: message-id=<
20080212232115.B49DCC34A
maildev.just.gov.ab.ca>
Feb 12 16:21:18 elx-dev1 postfix/qmgr[25258]: B49DCC34A: from=<
apples
shaw.ca>, size=349, nrcpt=1 (queue active)
Feb 12 16:21:18 elx-dev1 postfix/trivial-rewrite[25264]: warning: do not
list domain csadm.just.gov.ab.ca in BOTH virtual_alias_domains and
relay_domains
Feb 12 16:21:18 elx-dev1 postfix/error[25266]: B49DCC34A: to=<
john.doe
csadm.just.gov.ab.ca>, orig_to=<john.doe
just.gov.ab.ca>,
relay=none, delay=13, status=bounced (User unknown in virtual alias table)
Feb 12 16:21:18 elx-dev1 postfix/cleanup[25265]: 8F1BCF76F: message-id=<
20080212232118.8F1BCF76F
maildev.just.gov.ab.ca>
Feb 12 16:21:18 elx-dev1 postfix/qmgr[25258]: 8F1BCF76F: from=<>, size=2162,
nrcpt=1 (queue active)
Feb 12 16:21:18 elx-dev1 postfix/qmgr[25258]: B49DCC34A: removed
Feb 12 16:21:18 elx-dev1 postfix/smtp[25269]: 8F1BCF76F: to=<apples
shaw.ca>,
relay=199.213.200.47[199.213.200.47], delay=0, status=sent (250 Ok: queued
as F031C1804DF)
Feb 12 16:21:18 elx-dev1 postfix/qmgr[25258]: 8F1BCF76F: removed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]