Hello,
I have set up a machine to run bugzilla on. All is well and good except that bugzilla won't send e-mails out.
So i did a
Code:
tail -f /var/log/mail.log
and got the following output (slightly edited to hide host names):
Code:
Mar 13 11:29:17 bugzilla sm-mta[5952]: l2D8THqh005949: to=<user@fakedomain.cix.co.uk>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120892, relay=mx.cix.co.uk. [###.###.###.###], dsn=5.6.0, stat=data format error
That is where the log indicates it goes wrong, it then indicates that a failure message was sent back to
bugzilla-admin-daemon@bugzilla.fakedomain but the user was unknown.
From the little information I have found, this is caused because some relay thinks I am a spammer because I do not have a proper host name or am not in the DNS lookup table.
the entries I have on my 'bugzilla' machine are:
Code:
127.0.0.1 localhost localhost
192.168.###.### bugzilla.fakedomain bugzilla bugzilla.fakedomain.local
(#'s are to keep the address private (though it is internal so I don't know why I'm so paranoid, but the address is correct)
My bugzilla machine was not listed in the local servers DNS table (an nslookup revealed this) so I added it manually (supplying the name bugzilla, to which it appended ".fakedomain.local".
Now an "nslookup bugzilla.fakedomain.local" works if my local server is the primary DNS. but none of the aliases work (though they can all be pinged).
So do you think the problem is that other DNS are thinking my bugzilla machine is a spammer and thus rejecting the mail? Can anyone suggest something I can do to solve this?
P.S. I can surf the internet, I have samba shares etc so the network is generally fine.
Thanks in advance.
---EDIT---
Further investigation shows that the e-mails bugzilla sends out are sent from "bugzilla-admin-daemon@bugzilla", and the return mail complains (quite rightly) that 'bugzilla' is not a qualified domain name. However /etc/hosts does not have a 'bugzilla' entry, it does have a 'bugzilla.fakedomain' and 'bugzilla.fakedomain.local'.
In ubuntu's network configuration app I have set the host to 'bugzilla.fakedomain' and the domain to fakedomain. etc etc.
So my question is where is it getting this address from?