|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
wrongly attempts delivery to old hostname
From: Adrian Simmons (adrian
perlucida.com)
Date: Mon Jan 16 2006 - 16:03:32 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello,
Been battling this for most of the day - I'm finally crumbling and
asking for help.
I run postfix on my desktop as part of a chain to filter spam/virii,
so mail is collected from remote accounts with fetchmail and goes
fetchmail > postfix > procmail (clamav, spamassassin) > maildir.
Pretty standard, and it's been working fine. Until I decided to make
some changes and use Dynamic DNS to give my local box a real domain
name. I also have DNS on my local box. Previously I was using a fake
tld, so my mail server was mail.nepenthes.dev, now it is
mail.perlucida.org.uk. I have only standard unix users (OS X) that
mail is delivered too, so this message below should have been
delivered to adrian
mail.perlucida.org.uk, but instead postfix tries
to deliver it to adrian
nepenthes.dev - the old hostname I was using
- and as a result then bounces the message because nepenthes.dev no
longer exists.
Jan 16 21:23:26 perlucida fetchmail[2741]: starting fetchmail 6.2.5
daemon \n
Jan 16 21:23:30 perlucida fetchmail[2741]: 1 message for
server
perlucida.co.uk at mail.perlucida.co.uk (1064 octets).\n
Jan 16 21:23:30 perlucida fetchmail[2741]: reading message
server
perlucida.co.uk
mail.perlucida.co.uk:1 of 1 (1064 octets)
Jan 16 21:23:31 perlucida postfix/smtpd[2754]: connect from localhost
[127.0.0.1]
Jan 16 21:23:31 perlucida postfix/smtpd[2754]: 61BC61BCC989:
client=localhost[127.0.0.1]
Jan 16 21:23:31 perlucida postfix/cleanup[2757]: 61BC61BCC989:
message-id=<E91E07B7-7DA1-47B5-AFC4-65EC530A31CB
perlucida.com>
Jan 16 21:23:31 perlucida postfix/qmgr[2169]: 61BC61BCC989:
from=<adrian
perlucida.com>, size=1384, nrcpt=1 (queue active)
Jan 16 21:23:31 perlucida fetchmail[2741]: flushed\n
Jan 16 21:23:31 perlucida postfix/smtp[2758]: 61BC61BCC989:
to=<adrian
nepenthes.dev>, relay=none, delay=0, status=SOFTBOUNCE
(Host or domain name not found. Name service error for
name=nepenthes.dev type=A: Host not found)
Jan 16 21:23:35 perlucida postfix/smtpd[2754]: disconnect from
localhost[127.0.0.1]
I've scoured my system for config files that might still mention
nepenthes.dev and can't find anything, I swear I've updated
everything that I need to, and yet obviously I'm missing something.
It may be fetchmail rather than postfix that is the root cause of the
problem since mail sent for the localhost cron is delivered fine:
Jan 16 21:14:27 perlucida postfix/pickup[2168]: C3D961BCC949: uid=0
from=<root>
Jan 16 21:14:27 perlucida postfix/cleanup[2545]: C3D961BCC949:
message-id=<20060116211427.C3D961BCC949
mail.perlucida.org.uk>
Jan 16 21:14:27 perlucida postfix/qmgr[2169]: C3D961BCC949:
from=<root
mail.perlucida.org.uk>, size=808, nrcpt=1 (queue active)
Jan 16 21:14:45 perlucida postfix/local[2547]: C3D961BCC949:
to=<adrian
mail.perlucida.org.uk>, orig_to=<root>, relay=local,
delay=18, status=sent (delivered to command: /usr/bin/procmail -f)
Jan 16 21:14:45 perlucida postfix/qmgr[2169]: C3D961BCC949: removed
So is this something that Fetchmail is passing to postfix? That the
message should be delivered to adrian
nepenthes.dev instead of
adrian
mail.perlucida.org.uk? If not where does postfix get the local
delivery address it uses?
Postfix 2.1.5 running on OS X 10.4.4
Output of postconf -n :
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
html_directory = no
inet_interfaces = all
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mailbox_command = /usr/bin/procmail -f
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = perlucida.org.uk
mydomain_fallback = localhost
myhostname = mail.perlucida.org.uk
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_tls_key_file =
soft_bounce = yes
unknown_local_recipient_reject_code = 450
Adrian
e-mail <mailto:adrian
perlucida.com>
AOL or Yahoo Messenger ID: perlucida
Microsoft messenger ID: adrian
perlucida.com
Gizmo or Skype: perlucida
Web Site <http://perlucida.com>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]