[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RaQ4i] mail problem



At 11:43 05-09-2001 +0200, cobalt-users wrote:
>I have a problem with our raq, but up to now nobody could give me the
>right hint. Now I´ll try again.
>
>Our configuration:
>- mail server, which is not the raq: 213.252.143.13
>- raq4i server name: cobalt01.wolfenline.de
>- services on raq: http (no email!)
>
>What happened:
>This raq serves www.wolfenline.de, the dedicated mail server handles
>*@wolfenline.de.
>When I use formmail.pl on the raq with to:info@xxxxxxxxxxxxx the emails
>are not sent to info@xxxxxxxxxxxxx @ 213.252.143.13. The raq tries to post
>the mail to a local account which is, of course, not existing. At the
>moment I use to:info@xxxxxxxxxxxxxx which is working fine, because
>*@wolfenline.com is an alias of *@wolfenline.de on the mail server.

You do not have Sendmail running on the RaQ.  Formmail.pl is set to call
sendmail to deliver the email.

>Why does raq try to send the mail to a local account? The answer is: the
>cobalt server name contains the domain wolfenline.de. Every email sent via
>raq to this domain is handled by the raq itself although mail services are
>not enabled.

Yes, it is done by the local delivery agent.  The Sendmail on your RaQ is
set to accept mail (/etc/sendmail.cw) for wolfenline.de and
www.wolfenline.de as local and uses procmail to do a delivery.

>What´s the solution for me? I want to change the cobalt server name to
>cobalt01.wolfenline.net. This would cause the raq to handle
>*@wolfenline.net for itself but that doesn´t worry me anyway. Then
>to:info@xxxxxxxxxxxxx per formmail.pl should work.

You can use the MAIL_HUB feature of Sendmail to have all mail sent from the
RaQ to the mail server (213.252.143.13).  This requires generating a new
sendmail.cf.

Alternatively, you can configure your RaQ to accept mail for
"www.wolfenline.de" only.  An email addressed to info@xxxxxxxxxxxxx would
be sent to the wolfenline.de mail server.

>Ha, it does not work. I changed the cobalt server name via administration
>web front end. But I suppose that there are other configuration files
>which were not changed. Perhaps these conf files are only edited on the
>first use of the raq4i.

I advise against changing the server name.  This is a Sendmail issue and it
has nothing to do with the server name.  I'm not sure whether the
administration web front end will try to put the wolfenline.de domain in
against if you remove it.

Regards,
-sm