Yes, that was exactly the problem.  Thank you!

On Wednesday 07 July 2004 7:31 am, Claudio Jeker wrote:
> On Wed, Jul 07, 2004 at 07:22:08AM -0500, Aaron Thoreson wrote:
> > I have set up a mail gateway to receive and virus scan all mail for my
> > domain. That host then uses smtproutes to forward the message on to the
> > actual mail server once checked.
> >
> > Mails to [EMAIL PROTECTED] get messages like so:
> >
> > @timestamp qmail-smtpd 17706: mail from: [EMAIL PROTECTED]
> > @timestamp qmail-smtpd 17706: remote sent 'rcpt to':
> > TO:<[EMAIL PROTECTED]>
> > @timestamp qmail-smtpd 17706: rcpt to: [EMAIL PROTECTED]
> > @timestamp qmail-smtpd 17706: no mail relay for 'rcpt to':
> > TO:<[EMAIL PROTECTED]>
> >
> > The MX record for sub.mydomain.com points to the virus gateway.
> >
> > My qmail-smtpd.rules looks like:
> >
> > xxx.xxx.xxx.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-queue-
> >scanner.pl" #^ our IPs only :)
> >
> > :allow,QMAILQUEUE="/var/qmail/bin/qmail-queue-scanner.pl"
> >
> > On the virus gateway, the rcpthosts file contains both
> > mydomain.com
> > sub.mydomain.com
> >
> > The locals file contains only
> > localhost
> > virus_server.mydomain.com
> >
> > The smtproutes file contains only
> > mydomain.com:actual_mail_server.mydomain.com
> > sub.mydomain.com:actual_mail_sever.mydomain.com
> >
> > Anything obvious?  Do I also need to add mydomain.com and
> > sub.mydomain.com to the locals file on the virus gateway?
>
> Perhaps you have some old *.cdb lying around. Either you remove them or
> update them e.g with (cd /var/qmail/control && sudo make)

-- 
Aaron Thoreson
Midcontinent Communications
605-357-5724

Reply via email to