Problem releasing a message
Isi Lawson
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:
hostname:
[root at abaddon htdocs]# hostname
abaddon.purecomputing.net
/etc/hosts (related bits)
[root at abaddon htdocs]# more /etc/hosts
127.0.0.1 localhost.localdomain localhost
82.165.244.31 abaddon.purecomputing.net purecomputing.net abaddon
82.165.225.168 smtp01.purecomputing.net
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_MAIL_HOST, "localhost.localdomain");
define(QUARANTINE_FROM_ADDR, 'postmaster');
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:
smtp01.purecomputing.net, localhost.localdomain,
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
entry.
Interesting bit in the logs
Mar 10 23:06:13 abaddon postfix/smtpd[6676]: connect from
localhost.localdomain[127.0.0.1]
Mar 10 23:06:13 abaddon postfix/smtpd[6676]: 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[6676]: lost connection after RCPT
from localhost.localdomain[127.0.0.1]
Mar 10 23:06:13 abaddon postfix/smtpd[6676]: disconnect from
localhost.localdomain[127.0.0.1]
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
anyway) :>)
Any thing else that might aid in troubleshooting please let me know.
-- Isi
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....:-).
>
>-- Glenn
>
>
>
------------------------ 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