I have a problem with Courier 0.37 and Debian Woody. I am using all
Debian packages associated with Courier. No Exim, no Postfix, no Qmail.
I can send/receive mail only under some weird circumstances but IMAP and
authdaemon module work fine. I testing in a LAN. Servername is "bender".
bender:~# testmxlookup futurama
Domain futurama:
Relay: bender.futurama, Priority: 10, Address: ::ffff:10.0.0.148
Config in etc/courier is like default config, except:
locals: futurama
hosteddomains: futurama
esmtpacceptmailfor.dir/futurama: futurama and .futurama
defaultdomain: bender.futurama
Other Config files:
etc/hostname: bender.futurama
etc/resolv.conf: search futurama and nameserver 10.0.0.148
DNS is working: bender:~# host bender
bender.futurama has address 10.0.0.148
Reverse *seems* to be working: bender:~# nslookup -silent 10.0.0.148
Server: 10.0.0.148
Address: 10.0.0.148#53
148.0.0.10.in-addr.arpa name = bender.futurama.
When I'm trying to send mails from root via: sendmail blukas@futurama
test
^D
the mail gets delivered.
But when I'm trying to send via: telnet localhost 25
HELO bender
MAIL FROM:<blukas@futurama>
I'm getting a 517 Syntax Error.
ANY mail with a domain containing a "." seems to be accepted by SMTP
(but don't delivered if the domain didn't exist, because "postmaster" is
aliased to "blukas" and defaultdomain is "futurama" only, so I cannot
even receive delivery failure mails, however I can see them in Courier's
"bigbrother"-directory (most of them bounced).
Any suggestions are welcome.
Furthermore, am I right that etc/hostname should contain only the name
of the host ("bender") and defaultdomain in etc/courer should contain
only the domain ("futurama") and not both ("bender.futurama")?
Pericom Communication Consulting GmbH
Mariahilferstraße 47/1/3, A-1060 Wien
Tel. +43-1-585 49 72 / 42
Fax. +43-1-585 49 72 / 33
Web. www.pericom.at