Problem releasing a message
isi at DAGGERSDEN.NET
Fri Mar 11 14:40:46 GMT 2005
[ The following text is in the "iso-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Problem has been fixed. Thanks for all your help. Here are the details
>> > // 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)
------------------------ 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