Hi,
At 11:00 28.8.2000 +0200, Thomas Novin wrote:
>Hi.
>
>I'm having a problem sending mail through my qmail server to outside
>servers. I think I've set up qmail to allow relaying just as described.
>Let's say my IP is 1.2.3.4 for the mail server and the client is 1.2.3.5.
>The mailhost's name is my.mailhost.com.
>
>$ grep tcp-env hosts.allow
>tcp-env: 127.0.0., 1.2.3. : setenv RELAYCLIENT
>
>$ telnet my.mailhost.com
>Connected to my.mailhost.com.
>Escape character is '^]'.
>220 my.mailhost.com ESMTP
>EHLO
>250-my.mailhost.com
>250-PIPELINING
>250 8BITMIME
>MAIL FROM:[EMAIL PROTECTED]
Wrong. Should be: MAIL FROM: <[EMAIL PROTECTED]>
>250 ok
>RCPT TO:[EMAIL PROTECTED]
Wrong. Should be: RCPT TO: <[EMAIL PROTECTED]>
>553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
>
>$ cat /var/qmail/control/rcpthosts
>localhost
>my.mailhost.com
>
>$ grep smtp inetd.conf
>smtp stream tcp nowait qmaild /usr/sbin/tcpd /var/qmail/bin/tcp-env
>/var/qmail/bin/qmail-smtpd
>
>Is the something that I have missed? Some additional info: Slackware 7.1,
>qmail 1.03, uses inetd. Since there is only < 10 users on the system I
>don't see any reason running tcpserver.
>
Seems that you are fooled by the missing blanks.
cheers.
eh.
>
+-----------------------------------------------------------------------+
| fff hh http://www.fehcom.de Dr. Erwin Hoffmann |
| ff hh |
| ff eee hhhh ccc ooo mm mm mm Wiener Weg 8 |
| fff ee ee hh hh cc oo oo mmm mm mm 50858 Koeln |
| ff ee eee hh hh cc oo oo mm mm mm |
| ff eee hh hh cc oo oo mm mm mm Tel 0221 484 4923 |
| ff eeee hh hh ccc ooo mm mm mm Fax 0221 484 4924 |
+-----------------------------------------------------------------------+