Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2009 09:02:50 +1100
From:      David N <davidn04@gmail.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Daily report cannot be emailed to a jailed mail server
Message-ID:  <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

FreeBSD 7.2-R box with 10 jails.

The mail server (actually its a mail filter) is hosted on the same
server inside a jail.

I can't seem to get the main server reports to be sent to the mail
filter inside the jail inside the same box.

so.. root@localhost tries to send an email to someone@anotherdomain.com.au

The MX entry for anotherdomain.com.au points to the mailfilter on the
server (jailed).


I've changed my /etc/mail/aliases to have
root: someone@anotherdomain.com.au
and ran newaliases.

When i try to send an email i get
in /var/log/messages
sm-mta[94682]: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic
Oct  8 08:40:40 server sm-mta[94682]: n97LeeOw094682: SYSERR(root):
savemail: cannot save rejected email anywhere
Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: Losing
./qfn97LgTYg094713: savemail panic
Oct  8 08:42:30 server sm-mta[94713]: n97LgTYg094713: SYSERR(root):
savemail: cannot save rejected email anywhere
Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX
list for anotherdomain.com.au. points back to server.net

In /var/log/maillog
n97Ll7VV095129: to=someone@anotherdomain.com.au,
ctladdr=<root@server.net> (0/0), delay=00:00:00, xdelay=00:00:00,
mailer=esmtp, pri=30715, relay=anotherdomain.com.au., dsn=5.3.5,
stat=Local configuration error
Oct  8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: n97Ll7VV095130:
DSN: Local configuration error

Anyone have any ideas on how to fix this?

Regards
David N



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee>