This will probably sound weird - but...
Is there a _maps parameter, or other method, I can use to force an
address found in my virtual_mailbox_maps to be considered non-local/virtual?
You're scratching your head asking why...well, it's simple. I'm a
moron. I'm trying to setup a new mail server, and I'm doing some
creative relay things that don't seem to be working correctly. I'm
trying to debug the process. Since I have a valid hotmail account, I
was trying to send to that account - however the log shows:
Mar 3 15:46:57 mailserver postfix/qmgr[3692]: 506AA89:
from=<r...@mailserver.amfeslan.local>, size=361, nrcpt=1 (queue active)
Mar 3 15:47:27 mailserver postfix/smtp[3759]: connect to
mx4.hotmail.com[65.54.245.104]:25: Connection timed out
Mar 3 15:47:57 mailserver postfix/smtp[3759]: connect to
mx2.hotmail.com[65.54.245.40]:25: Connection timed out
Mar 3 15:48:27 mailserver postfix/smtp[3759]: connect to
mx1.hotmail.com[65.55.37.88]:25: Connection timed out
Mar 3 15:48:57 mailserver postfix/smtp[3759]: connect to
mx3.hotmail.com[65.54.245.72]:25: Connection timed out
Mar 3 15:49:28 mailserver postfix/smtp[3759]: connect to
mx2.hotmail.com[65.55.37.72]:25: Connection timed out
Mar 3 15:49:28 mailserver postfix/smtp[3759]: 506AA89:
to=<fireexp...@hotmail.com>, relay=none, delay=855,
delays=704/0.03/151/0, dsn=4.4.1, status=deferred (connect to
mx2.hotmail.com[65.55.37.72]:25: Connection timed out)
Those timeouts don't tell me anything specific about what's broken.
Since my other server talks to hotmail just fine, I'm sure it's not a
hotmail problem - I'm sure it's something stupid I've done (and as I
write this I can see the invalid address I'm sending from in the log).
So, I want to send to a server I control so I can watch the log on that
side. I'm using an LDAP lookup in the new server - the same one as my
production server since I'm looking to migrate over when I'm finished.
I was hoping that instead of writing some new maps to describe a limited
valid set of recipients, their was a way to override the LDAP virtual
lookup and tell Postfix to try to lookup the mailserver via DNS (which
still points to the old server) and send it that way.
Would I do this using the transport_maps? Something like:
myu...@otherdomain.com smtp:[192.168.0.72]:25
--
Daniel