Bryan writes: 

> I have a small problem.  I have been using courier-imap and courier-pop3,
> in conjunction with qmail for SMTP service.  Changing from qmail to
> courier would be a huge job at this point so I'm hesitant to make
> the change.  All has been fine for several months.
>  
> Today, I installed courier-webmail, and all seems to work ok, until I try
> to send an email locally.  I get this error:
>  
> Jun  8 16:35:39 naneum courieresmtp: 
> id=0011A876.3B21614D.00002EEE,from=<[EMAIL PROTECTED]>,addr=<[EMAIL PROTECTED]>
> : 
> configuration error: mail loops back to myself (MX problem). 
>  
> I am using courier-0.34.0 and qmail-1.03.  Since I don't use courier for
> smtp, yet couriersmtp is showing up as the service in syslog, my guess is
> that webmail is utilizing couriers smtp configurations for sending.

No.  courier-webmail runs the command line sendmail wrapper.  However, since 
you've installed the courier-webmail package, instead of sqwebmail, 
courier-webmail will run Courier's sendmail wrapper, not qmail's. 

What ends up happening is that the outgoing mail gets picked up by Courier, 
and you have not properly configured it.  It does not recognize the 
recipient's domain as a local domain, and attempts to deliver E-mail via 
smtp, which is where courieresmtp comes in.  It goes up and grabs the MX 
records, but discovers that the MX records point to itself, hence the 
bounce. 

> Obviously trying to keep courier smtp in sync with qmail would be even
> more work than switching over, so I'm curious if
>  
> a) I can set up couriers smtp to simply deliver the mail it is given by
> webmail without complaint, or
>  
> b) configure it to use /usr/sbin/sendmail or
>  
> c) anything else that might fix the problem.
 

b).  The courier-webmail package has a file called sendit.sh, which is 
what's really used to send mail out.  You should be able to figure out the 
rest by yourself. 

 


-- 
Sam

Reply via email to