On a test FreeBSD box, I set up a virtual domain pointing to a qmail
alias for a project I'm working on.  The DNS directs traffic to
qmail-smtpd and its control/rcpthosts tells it to accept.  Works
fine.

Then I install the same config on a Linux box we're using for
production.  Again, a DNS MX record directs mail to the box, but
qmail-smtpd doesn't appear to have read the new domain name from
control/rcpthosts; the following log is a message a qmail machine
sending to the Linux box logging into syslog:

  Aug 20 07:51:30 thanatos qmail: 998308290.622017 delivery 1005: failure: 
63.104.239.178_does_not_like_recipient./Remote_host_said:_553_sorry,_that_domain_isn't_in_my_list_of_allowed_rcpthosts_(#5.7.1)/Giving_up_on_63.104.239.178./

The Linux box is running qmail-smtpd under supervise:

  /usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb -u 503 -g 503 0 smtp 
/var/qmail/bin/qmail-smtpd

I've tried "svc -h /service/qmail-smtpd", the "-t" option,
and killing the tcpserver-qmail-smtpd process manually.  No help. It
does seem to handle the other domains in rcpthosts just fine.

    bounce.latestedition.com
    localhost.focusdatasolutions.com
    glimmer.focusdatasolutions.com
    newsletter.scicentral.com
    latestedition.com
    mccain.latestedition.com

The new one is "bounce" which it doesn't seem to see yet.  When I run
qmail-showctl it sees it fine:


  [...]
  rcpthosts:
  SMTP clients may send messages to recipients at bounce.latestedition.com.
  SMTP clients may send messages to recipients at localhost.focusdatasolutions.com.
  SMTP clients may send messages to recipients at glimmer.focusdatasolutions.com.
  SMTP clients may send messages to recipients at newsletter.scicentral.com.
  SMTP clients may send messages to recipients at latestedition.com.
  SMTP clients may send messages to recipients at mccain.latestedition.com.


  morercpthosts: (Default.) No effect.


Any suggestions how I can debug this? Is there a startup flag I can
give to qmail-smtpd to cause it to show me the names it will accept
after reading rcpthosts? Increased logging I can use?  

Thanks for any help.

Reply via email to