Problem releasing a message

Steen, Glenn Glenn.Steen at AP1.SE
Fri Mar 11 15:38:04 GMT 2005


Great that it works... Strange that it didn't before though.
I'll have to do a plunge into the innards of Mail::factory again:-).

No wishlist (apart from the standard wish... 25-28 hour days, eternal
life, peace and prosperity...:-). Steve might have one.

-- Glenn

> -----Original Message-----
> From: MailScanner mailing list 
> [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Isi Lawson
> Sent: den 11 mars 2005 15:41
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Problem releasing a message
> 
> 
> Problem has been fixed.  Thanks for all your help.  Here are 
> the details
> (inline)
> 
> detail.php
> >> >    // Fix by Glenn Steen, to set an arbitrary smtp host
> >> >    $mail_param = array('host' => QUARANTINE_MAIL_HOST);
> >> >    $body = $mime->get();
> >> >    $hdrs = $mime->headers($hdrs);
> >> >    $mail =& Mail::factory("smtp",$mail_param);
> 
> I changed the host back to 'localhost'
> 
> conf.php - quarantine setings
> >> >
> >> > // Quarantine settings
> >> > define(QUARANTINE_MAIL_HOST, "localhost.localdomain");
> >> > define(QUARANTINE_FROM_ADDR, 'postmaster');
> 
> > Ah, looking at pear/Mail.php one can see that this is 
> actually a kludge
> > in prepareHeaders, to "qualify" local addresses. Set it to
> > define(QUARANTINE_FROM_ADDR, 'postmaster at localhost.localdomain');
> > or somesuch, to prevent that.
> 
> I qualified the QUARANTINE_FROM_ADDR 'postmaster at purecomputing.net'
> 
> It seems that it works just fine now.  I tested releasing and training
> combinations just to make sure but didn't get any hiccups.
> 
> Thanks Glenn and Steve (and everyone else) for your help. 
> (either one of
> you have a wish list)
> 
> -- Isi
> 
> ------------------------ 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