2009/10/8 Steve Bertrand <st...@ibctech.ca>: > David N wrote: >> 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.. r...@localhost tries to send an email to some...@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: some...@anotherdomain.com.au >> and ran newaliases. >> >> When i try to send an email i get >> in /var/log/messages >> sm-mta: n97LeeOw094682: Losing ./qfn97LeeOw094682: savemail panic >> Oct 8 08:40:40 server sm-mta: n97LeeOw094682: SYSERR(root): >> savemail: cannot save rejected email anywhere >> Oct 8 08:42:30 server sm-mta: n97LgTYg094713: Losing >> ./qfn97LgTYg094713: savemail panic >> Oct 8 08:42:30 server sm-mta: n97LgTYg094713: SYSERR(root): >> savemail: cannot save rejected email anywhere >> Oct 8 08:47:07 server sm-mta: n97Ll7VV095129: SYSERR(root): MX >> list for anotherdomain.com.au. points back to server.net >> >> In /var/log/maillog >> n97Ll7VV095129: to=some...@anotherdomain.com.au, >> ctladdr=<r...@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: n97Ll7VV095129: n97Ll7VV095130: >> DSN: Local configuration error >> >> Anyone have any ideas on how to fix this? > > If you hadn't of sanitized the domain names, it would have been easier > to troubleshoot... > > Nonetheless, you can force Sendmail to push email to a different server > directly (overriding the DNS MX entries) with a 'mailertable' file in > /etc/mail. Here's one on a secondary MX: > > %cat /etc/mail/mailertable > ibctech.ca smtp:[smtp.ibctech.ca] > ipv6canada.com smtp:[smtp.ipv6canada.com] > ... > > After the file is created, a simple 'make' in /etc/mail will build the > mailertable.db file for you and take effect immediately (much like > 'newaliases'). > > However, it's hard to tell if this recommendation will solve your > problem though. Without knowing the real domain, we can't perform DNS > tests against it to get a better understanding of the situation. > > Cheers, > > Steve > >
Thank you so much, it worked =) My MX records are correct, i could get mail from the outside, but just couldn't get the daily reports to deliver it. _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"