Problem releasing a message

Steve Freegard smf at F2S.COM
Thu Mar 10 23:46:27 GMT 2005


Glenn/Isi,

Spotted a typo:

$mail_param = array("localhost" => QUARANTINE_MAIL_HOST);

should be

$mail_param = array('host' => QUARANTINE_MAIL_HOST);

Try that - it should work now...

Cheers,
Steve.

On Thu, 2005-03-10 at 16:55 +0100, Steen, Glenn wrote:
> > -----Original Message-----
> > From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Isi Lawson
> > Sent: den 10 mars 2005 16:30
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: Problem releasing a message
> >
> >
> > Glenn,
> >
> > I applied the patch to detail.php:
> >
> >    // Fix by Glenn Steen, to set an arbitrary smtp host
> >    $mail_param = array("localhost" => QUARANTINE_MAIL_HOST);
> >    $body = $mime->get();
> >    $hdrs = $mime->headers($hdrs);
> >    $mail =& Mail::factory("smtp",$mail_param);
> >
> > and made the conf.php changes:
> >
> > // Quarantine settings
> > define(QUARANTINE_MAIL_HOST, "smtp server FQDM");
> >
> >   - i tried a number of things here
> >   - localhost, short name, full name
> Hm, methinks you might have forgotten to reload or restart
> httpd efter making the changes.
> Set it to the FQDN and restart apache.
>
> -- Glenn
> >
> > and i am still getting this error:
> >
> > Mar 10 10:26:17 abaddon postfix/smtpd[20462]: connect from
> > localhost.localdomain[127.0.0.1]
> > Mar 10 10:26:17 abaddon postfix/smtpd[20462]: NOQUEUE:
> > reject: RCPT from
> > localhost.localdomain[127.0.0.1]: 504 <localhost>: Helo
> > command rejected:
> > need fully-qualified hostname; from=<postmaster at localhost>
> > to=<demo at mydomain.net> proto=ESMTP helo=<localhost>
> > Mar 10 10:26:17 abaddon postfix/smtpd[20462]: lost connection
> > after RCPT
> > from localhost.localdomain[127.0.0.1]
> > Mar 10 10:26:17 abaddon postfix/smtpd[20462]: disconnect from
> > localhost.localdomain[127.0.0.1]
> >
> > Any thoughs?
> >
> > Isi
> >
> > >> In this case you are rejecting "non-FQDN HELOs/EHLOs",
> > which is IMO a
> > >> good thing. You do this at MTA(postfix) level. Fine.
> > >>
> > >> Making the changes to MailWatch so that you can specify
> > >> define(QUARANTINE_MAIL_HOST, 'abaddon.');
> > >> in conf.php will cure your problem (think it's in cvs and will be
> > >> in the (hopefully) imminent 0.6 release... Or look for messages by
> > >> me around Feb 07 on the MW list... Really minor change, so
> > you might
> > >> as well do it "by hand").
> > >>
> >
> > ------------------------ MailScanner list ------------------------
> > To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> > 'leave mailscanner' in the body of the email.
> > Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> > the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> >
> > Support MailScanner development - buy the book off the website!
> >
>

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list