Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: nicolatiana on May 27, 2010, 11:32:38 AM

Title: Sme 8 + Mailman - Relay issue - SOLVED
Post by: nicolatiana on May 27, 2010, 11:32:38 AM
Hi everybody

Status of the art:
- Sme8 b5 with latest updates;
- Mailman: http://sme-mirror.firewall-services.com/contribs/jmartens/RPMS/i386/mailman-2.1.9-4.el5.sme.i386.rpm (http://sme-mirror.firewall-services.com/contribs/jmartens/RPMS/i386/mailman-2.1.9-4.el5.sme.i386.rpm) (an updated version to resolve an issue concerning the www/apache user running the service)
( See http://bugs.contribs.org/show_bug.cgi?id=5902 (http://bugs.contribs.org/show_bug.cgi?id=5902))
- Smesever contrib: smeserver-mailman-1.3.0-29.el4.sme

The installation went fine and we were able to create list and allow users to register, receive confirmation and then after acceptance receive the Welcome message from the list.
The problem is that users are not able to post in the list: the message is rejected with a relay error; this is a sample of the error message the user is receving:
Quote
The mail system: host internet.domain.it[xxx.xx.xx.xxx] said: 550 relaying denied   nameof-thelist@internet.domain.it (smeserver-italy@internet.smeserver.it) (in reply to RCPT TO command)"
This is the corresponding transaction in the /var/log/qpsmtpd/current:
Quote
@400000004bfd99be0c78a274 27021 check_goodrcptto plugin (rcpt): recipient nameof-thelist@internet.domain.it denied
@400000004bfd99be0c78a65c 27021 logging::logterse plugin (deny): ` yy.yyy.y.yyy smtpstd01.provider.it     smtpstd01.provider.it     <j.doe@providerdom.it>               check_goodrcptto        901     relaying denied nameof-thelist@internet.domain.it        msg denied before queued
@400000004bfd99be0c790bec 27021 550 relaying denied nameof-thelist@internet.domain.it
Checking qmail with /var/qmail/bin/qmail-showctl I get:
Quote
..........
rcpthosts:
SMTP clients may send messages to recipients at internet.domain.it.
SMTP clients may send messages to recipients at domain.it.
SMTP clients may send messages to recipients at [xxx.xx.xx.xxx].
..........
And it seems that qmail should accept messages for nameof-thelist@internet.domain.it
Obviously internet.domain.it is resolved correctly (if not messages could not reach the server).

Nicola
Title: Re: Sme 8 + Mailman - Relay issue
Post by: cactus on May 27, 2010, 01:48:19 PM
Is the domain you configured the mail to come from a domain that is known on your SME Server? If that is not the case than this message is perfectly viable as SME Server is not allowed to send e-mail for domains that it does not know. This is a normal measure to prevent SPAM bots from misusing your server.
Title: Re: Sme 8 + Mailman - Relay issue
Post by: CharlieBrady on May 27, 2010, 03:38:12 PM
nicola, if a contrib does not work correctly, then please open a bug report, and the contrib maintainer will work with you there to resolve the issue.
Title: Re: Sme 8 + Mailman - Relay issue
Post by: nicolatiana on May 28, 2010, 01:55:55 PM
I've filed the following bug:

http://bugs.contribs.org/show_bug.cgi?id=5976 (http://bugs.contribs.org/show_bug.cgi?id=5976)

Maybe we're finding some recurrency int the problem: only mailing list users with a "-" in their address seem affected.

(All messages affected).
Looking at the bugtracker you'll find the solution. In netx week I'll add som directions in Mailman Contribs Wiki Page. It's a Mailman misconfiguration not so evident after the first config.Bye

Nicola