From: Kurt Buff (no email)
Date: Thu Sep 25 2008 - 12:47:43 EDT
I know I'm missing something simple, but I'm going blind trying to
find it. Any help much appreciated.
I've got a new freebsd box set up. I want the [daily|weekly|monthly]
periodic reports to be delivered to my central mail server, not
locally. This machine does not otherwise in any way handle mail - it's
a dedicated network monitoring machine. I've got this kind of
configuration working on several boxes, but this one is fighting me.
I'm getting messages in /var/log/maillog about "mail looping back to
myself", and the mail is discarded.
Relevant logs and settings below.
Thanks,
Kurt
/var/log/maillog:
Sep 25 03:01:20 loki postfix/smtpd[24861]: connect from localhost[127.0.0.1]
Sep 25 03:01:20 loki postfix/smtpd[24861]: 889881A4C67:
client=localhost[127.0.0.1]
Sep 25 03:01:20 loki postfix/cleanup[24875]: 889881A4C67:
message-id=<>
Sep 25 03:01:20 loki sendmail[24858]: m8PA1KYe024858: to=root,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30919, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok:
queued as 889881A4C67)
Sep 25 03:01:20 loki postfix/qmgr[58371]: 889881A4C67:
from=<>, size=1466, nrcpt=1 (queue active)
Sep 25 03:01:20 loki postfix/smtpd[24861]: disconnect from localhost[127.0.0.1]
Sep 25 03:01:20 loki postfix/smtp[24894]: 889881A4C67:
to=<>, relay=none, delay=0.17,
delays=0.15/0.02/0/0, dsn=5.4.6, status=bounced (mail for
loki.example.com loops back to myself)
Sep 25 03:01:20 loki postfix/cleanup[24875]: AB4781A4CEC:
message-id=<>
Sep 25 03:01:20 loki postfix/bounce[24895]: 889881A4C67: sender
non-delivery notification: AB4781A4CEC
Sep 25 03:01:20 loki postfix/qmgr[58371]: AB4781A4CEC: from=<>,
size=3246, nrcpt=1 (queue active)
Sep 25 03:01:20 loki postfix/qmgr[58371]: 889881A4C67: removed
Sep 25 03:01:20 loki postfix/smtp[24894]: AB4781A4CEC:
to=<>, relay=none, delay=0.01, delays=0.01/0/0/0,
dsn=5.4.6, status=bounced (mail for loki.example.com loops back to
myself)
Sep 25 03:01:20 loki postfix/qmgr[58371]: AB4781A4CEC: removed
Sep 25 03:01:20 loki sendmail[24909]: m8PA1KEH024909: from=root,
size=1478, class=0, nrcpts=1,
msgid=<>,
relay=root at localhost
Sep 25 03:01:20 loki postfix/smtpd[24861]: connect from localhost[127.0.0.1]
Sep 25 03:01:20 loki postfix/smtpd[24861]: D92DB1A4C67:
client=localhost[127.0.0.1]
Sep 25 03:01:20 loki postfix/cleanup[24875]: D92DB1A4C67:
message-id=<>
Sep 25 03:01:20 loki sendmail[24909]: m8PA1KEH024909: to=root,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=31478, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok:
queued as D92DB1A4C67)
Sep 25 03:01:20 loki postfix/qmgr[58371]: D92DB1A4C67:
from=<>, size=2042, nrcpt=1 (queue active)
Sep 25 03:01:20 loki postfix/smtpd[24861]: disconnect from localhost[127.0.0.1]
Sep 25 03:01:21 loki postfix/smtp[24894]: D92DB1A4C67:
to=<>, relay=none, delay=0.12,
delays=0.11/0.01/0/0, dsn=5.4.6, status=bounced (mail for
loki.example.com loops back to myself)
Sep 25 03:01:21 loki postfix/cleanup[24875]: 021951A4CEC:
message-id=<>
Sep 25 03:01:21 loki postfix/bounce[24895]: D92DB1A4C67: sender
non-delivery notification: 021951A4CEC
Sep 25 03:01:21 loki postfix/qmgr[58371]: 021951A4CEC: from=<>,
size=3822, nrcpt=1 (queue active)
Sep 25 03:01:21 loki postfix/qmgr[58371]: D92DB1A4C67: removed
Sep 25 03:01:21 loki postfix/smtp[24894]: 021951A4CEC:
to=<>, relay=none, delay=0.01, delays=0.01/0/0/0,
dsn=5.4.6, status=bounced (mail for loki.example.com loops back to
myself)
Sep 25 03:01:21 loki postfix/qmgr[58371]: 021951A4CEC: removed
postconf -n
alias_database = hash:/usr/local/etc/postfix/aliases
alias_maps = hash:/usr/local/etc/postfix/aliases
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination =
mydomain = example.com
myhostname = loki.example.com
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination, $mydomain
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname ESMTP $mail_name
strict_rfc821_envelopes = yes
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 550
/usr/local/etc/postfix/transport
example.com smtp:zxch.example.com
/usr/local/etc/postfix/aliases
root:
MAILER-DAEMON: postmaster
postmaster: root
bin: root
daemon: root
named: root
nobody: root
uucp: root
www: root
ftp-bugs: root
postfix: root
manager: root
dumper: root
operator: root
abuse: post
|
|
|