|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
"loops back to myself" virtual problem
From: scott.list (scott.list
mlec.net)
Date: Thu Aug 25 2005 - 11:19:12 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi guys:
I am continuing to get my new postfix server working. I have a domain
I accept mail for and I have it set up via a virtual domain. When I
send mail, from the outside, to a valid virtualhost user, the mail is
delivered properly to the defined local user account. If I send mail
to an invalid user, the message is bounced (good of course), but the
error is
status=bounced (mail for virt-one.com.com loops back to myself)
I was expecting something more along the lines of an "invalid
recipient" error. I'm expecting I have something configured wrong,
but I've been unable to figure out what. I will be very grateful for
some help getting it straightened out.
I have pasted the postfinger output, the contents of my related
virtual user/domain files, and a log entry of one of the rejects:
=======================
postfinger - postfix configuration on Thu Aug 25 10:25:26 CDT 2005
version: 1.30
Warning: postfinger output may show private configuration information,
such as ip addresses and/or domain names which you do not want to show
to the public. If this is the case it is your responsibility to
modify
the output to hide this private information. [Remove this warning
with
the --nowarn option.]
--System Parameters--
mail_version = 2.1.5
hostname = tn1.example1.com
uname = Linux tn1.example1.com 2.6.9-11.EL #1 Wed Jun 8 16:59:52 CDT
2005 i686 i686 i386 GNU/Linux
--Packaging information--
looks like this postfix comes from RPM package:
postfix-2.1.5-4.2.RHEL4
--main.cf non-default parameters--
alias_maps = hash:/etc/aliases
disable_vrfy_command = yes
inet_interfaces = $myhostname, localhost
mailbox_size_limit = 104857600
mailq_path = /usr/bin/mailq.postfix
mail_spool_directory = /var/spool/mail
manpage_directory = /usr/share/man
message_size_limit = 20971520
mydestination = $myhostname, localhost.$mydomain, localhost,
example2.com, $mydomain
mynetworks = localhost,$localdomain, xx.xx.xx.134/32, xx.xx.xx.5/32
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
parent_domain_matches_subdomains = smtpd_access_maps
readme_directory = /usr/share/doc/postfix-2.1.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.1.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
smtpd_data_restrictions = reject_unauth_pipelining, permit
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_invalid_hostname,
reject_non_fqdn_hostname, reject_non_fqdn_sender,
reject_non_fqdn_recipient, reject_unknown_sender_domain,
check_sender_mx_access hash:/etc/postfix/mx_access,
reject_unknown_recipient_domain, check_recipient_mx_access
hash:/etc/postfix/mx_access, permit_mynetworks,
reject_unauth_destination, check_recipient_access
pcre:/etc/postfix/recipient_checks.pcre, check_helo_access
hash:/etc/postfix/helo_checks, 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
virtual_alias_maps = hash:/etc/postfix/virtual_users
--master.cf--
smtp inet n - n - - smtpd
submission inet n - n - - 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
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m
${extension} ${user}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m
${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop
($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
-- end of postfinger output --
===============================
#cat /etc/virtual_domains:
virt-one.com 20050819
#cat /etc/virtual_users
shorton
virt-one.com shorton
example1.com
=====================
Aug 25 10:23:02 tn1 postfix/smtpd[15979]: D876F7D02:
client=mls5.source.net[xx.xx.xx.5]
Aug 25 10:23:03 tn1 postfix/cleanup[15982]: D876F7D02:
message-id=<01a201c5a988$7b8690b0$2250543f
cpu761>
Aug 25 10:23:03 tn1 postfix/qmgr[15678]: D876F7D02:
from=<shorton
sourcename.org>, size=775, nrcpt=1 (queue active)
Aug 25 10:23:03 tn1 postfix/smtp[15983]: D876F7D02:
to=<inv
virt-one.com.com>, relay=none, delay=1, status=bounced (mail
for virt-one.com.com loops back to myself)
Aug 25 10:23:03 tn1 postfix/cleanup[15982]: 1250F7D12:
message-id=<20050825152303.1250F7D12
tn1.example1.com>
Aug 25 10:23:03 tn1 postfix/smtpd[15979]: disconnect from
mls5.source.net[xx.xx.xx.5]
Aug 25 10:23:03 tn1 postfix/qmgr[15678]: 1250F7D12: from=<>,
size=2505, nrcpt=1 (queue active)
Aug 25 10:23:03 tn1 postfix/qmgr[15678]: D876F7D02: removed
Aug 25 10:23:03 tn1 postfix/smtp[15983]: 1250F7D12:
to=<shorton
sourcename.org>, relay=mls5.source.net[xx.xx.xx.5],
delay=0, status=sent (250 2.0.0 j7PFN6924642 Message accepted for
delivery)
Aug 25 10:23:03 tn1 postfix/qmgr[15678]: 1250F7D12: removed
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]