Mailinglist Archive: opensuse (4633 mails)

< Previous Next >
[opensuse] Postfix Qwerkiness
  • From: "Brian Blater" <brb.lists@xxxxxxxxx>
  • Date: Mon, 22 Jan 2007 08:32:45 -0500
  • Message-id: <7743536a0701220532w51fc575et26c45e392b46c043@xxxxxxxxxxxxxx>
I have a 10.2 box running as a postfix mail gateway for a couple of
domains I have. This box is running spamassassin, maia mailguard and
clamav. Local mail is disabled on this machine. I've setup postfix so
that
myhostname = mail.domain.com
relay_domains = domain.com anotherdomain.com
mydomain = domain.com
relayhost = 1.2.3.4

The transport file has
domain.com smtp:[w.x.y.z]
anotherdomain.com smtp:[w.x.y.z]

The virtual file has
root me@xxxxxxxxxx
vscan me@xxxxxxxxxx
vscan@xxxxxxxxxxxxxxx me@xxxxxxxxxx

Here's the qwerky part that I can't figure out. When the maia script
runs in the vscan crontab it sends a mail message to
vscan@xxxxxxxxxxxxxxxx I see this in the log file:
Jan 21 19:00:11 mail postfix/pickup[22275]: D07832078F: uid=65 from=<vscan>
Jan 21 19:00:11 mail postfix/cleanup[22582]: D07832078F:
message-id=<20070122000011.D07832078F@xxxxxxxxxxxxxxx>
Jan 21 19:00:11 mail postfix/qmgr[5929]: D07832078F:
from=<vscan@xxxxxxxxxxxxxxx>, size=837, nrcpt=1 (queue active)
Jan 21 19:00:11 mail postfix/error[22584]: D07832078F:
to=<vscan@xxxxxxxxxxxxxxx>, orig_to=<vscan>, relay=none, delay=0.19,
delays=0.18/0/0/0.01, dsn=5.0.0, status=bounced (local mail delivery
is disabled)
Jan 21 19:00:11 mail postfix/bounce[22585]: D07832078F: sender
non-delivery notification: D4BE62078D
Jan 21 19:00:11 mail postfix/qmgr[5929]: D07832078F: removed

So, my first question is why is it trying to deliver it locally? It
should be sending it to the alias me@xxxxxxxxxx as defined in the
virtual file.

Second, in the log files I see the following:
Jan 21 19:00:11 mail postfix/cleanup[22582]: D4BE62078D:
message-id=<20070122000011.D4BE62078D@xxxxxxxxxxxxxxx>
Jan 21 19:00:11 mail postfix/bounce[22585]: D07832078F: sender
non-delivery notification: D4BE62078D
Jan 21 19:00:11 mail postfix/qmgr[5929]: D4BE62078D: from=<>,
size=2674, nrcpt=1 (queue active)
Jan 21 19:00:13 mail postfix/smtp[22586]: D4BE62078D:
to=<me@xxxxxxxxxx>, orig_to=<vscan@xxxxxxxxxxxxxxx>,
relay=1.2.3.4[1.2.3.4]:25, delay=1.2, delays=0.01/0/0.18/1, dsn=2.0.0,
status=sent (250 2.0.0 l0M00Cju028485 Message accepted for delivery)
Jan 21 19:00:13 mail postfix/qmgr[5929]: D4BE62078D: removed

Why is it trying to send this message to me@xxxxxxxxxx through the
relay server 1.2.3.4 when it knows (via transport file) that this
domain should be sent to w.x.y.z?

I've done this same setup on a 10.1 box previously and it is working
just fine. Any ideas what I'm missing? I'm just confused.

Thanks for any suggestions.

Brian
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups