Hi guys,
I've made another step towards my email server (I'm trying to get fetchmail to talk to Courier), but have come across the problem that Courier SMTP server doesn't like a @localhost address and gives a syntax error. Having read up on this, I know it is resolved through using the smtpaddress variable to stamp on a proper RCPT TO variable.
However, most of the documentation appears to be aimed at professional administrators, who would have a proper domain name. I on the other hand do not - and am finding the domain aspect problematic. I know how to stamp a 'fake' domain name onto my box using the /etc/hosts file, but this did not change anything.
So far i've tried to send mail to courier using the command mail -s "subject" [EMAIL PROTECTED] and mail -s "subject" [EMAIL PROTECTED] (the machine's hostname is mail)
and both come through no problems at all. However, if I add another definition to the /etc/hosts file i.e.
127.0.0.1 localhost localhost.localdomain -OR- 192.168.1.2 mail mail.mydomain.com
and use a similar mail command addressed to mail.mydomain.com or localhost.localdomain, nothing happens. My question is what domain should I tag on to the smtpaddress in my .fetchmailrc file to avoid the courier error, and what configuration files do I need to amend to implement the false domain?
Any help appreciated, its my first time :)
Dan Garland
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
