Problem releasing a message
isi at DAGGERSDEN.NET
Fri Mar 11 04:24:52 GMT 2005
[ The following text is in the "windows-1252" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
here are all the gory details:
[root at abaddon htdocs]# hostname
/etc/hosts (related bits)
[root at abaddon htdocs]# more /etc/hosts
127.0.0.1 localhost.localdomain localhost
188.8.131.52 abaddon.purecomputing.net purecomputing.net abaddon
detail.php - don't think i missed anything and i updated the 'host' from
'localhost' as suggested in another mail
// 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);
conf.php - quarantine setings
// Quarantine settings
define(QUARANTINE_SUBJECT, 'Message released from quarantine');
define(QUARANTINE_MSG_BODY, 'Please find the original message that was
quarantined attached to this mail. Regards,Postmaster');
I have changed the mail_host above to be a number of different things:
abaddon.purecomputing.net, abaddon, localhost -> all with no luck. What
i do see though in the maillog is that the connect from updates properly
- basically every where in snip below that has localhost.localdomain
changes to be whatever i set the above to be. The one thing that does
not change are the two items that use only <localhost> in the second log
Interesting bit in the logs
Mar 10 23:06:13 abaddon postfix/smtpd: connect from
Mar 10 23:06:13 abaddon postfix/smtpd: 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 purecomputing.net> proto=ESMTP helo=<localhost>
Mar 10 23:06:13 abaddon postfix/smtpd: lost connection after RCPT
Mar 10 23:06:13 abaddon postfix/smtpd: disconnect from
I confirmed that i am not blocking the traffic via the host firewall as
well. (pretty obvious since a connection is getting started but checked
Any thing else that might aid in troubleshooting please let me know.
Steen, Glenn wrote:
>Grmbl. That should work.
>Scott is likely right Isi.
>What do you have in /etc/hosts?
>What is the machines perceived hostname?
>What gave you set all the QUARANTINE_* things to in conf.php?
>Are you sure you've got no typos in the little fix?
>(Yeah, that last bit is fumbling after sraws....:-).
------------------------ 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