On Fri, 2004-07-16 at 06:53, Ian Douglas wrote:
Now if I try and send mail to local user "tux" then something on my system is incorrectly expanding the "To" address to tux@uk2.net (uk2 is my ISP) and sending it to my ISPs SMTP server, rather than simply putting it in tux's local inbox.
That something is either your mua or your mta; probably the latter. Check your mta logs for clues. Put your mta logs and config files(s) on your web server.
If I try and send mail to my local user "tux" by quoting the full name of the local PC after his username: tux@bobbin.haberdashery.willowwindmill.net it again leaves my PC and is sent to my ISPs SMTP mailserver and is bounced back as undeliverable.
bobbin.haberdashery.willowwindmill.net has neither MX nor A record in the public dns, that's probably why you get "unrouteable address".
What do I need to tweak so that mail for local users is routed locally within my PC instead of being sent externally via my ISP?
It depends on your mta.
Second question: Because of my mail delivery tests I now appear to have several test mail messages stuck in a mail queue somewhere on my PC. How do I delete all these duff messages from the mail queue so I can start sending valid emails again?
They'll eventually bounce and be removed (usually in a week or so). If you want to remove them manually, ceck your mta documentation.
-- Martijn