Hi there, I've been experiencing the following strange situation with qmail when I try to send a message from localhost (with relaying from localhost allowed) with a user-filled-in sender address. That is, when I do the following on the mailserver host: mailserver(ttyp2:138:0):/var/qmail/control# telnet localhost 25 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. 220 mailserver.somewhere.com ESMTP MAIL FROM: [EMAIL PROTECTED] <-- this domain is NOT in the rcpthosts 250 ok RCPT TO: [EMAIL PROTECTED] 250 ok DATA 354 go ahead test . 250 ok 961499283 qp 84857 quit 221 mailserver.somewhere.com Connection closed by foreign host. Then on the receiving host I listen for the mail I just made up: anothermailserver(ttyp0:106:0):~# nc -l -p 25 220 HELO mailserver.somewhere.com 250 MAIL FROM:<com> 250 RCPT TO:<[EMAIL PROTECTED]> 250 DATA 250 Received: (qmail 84417 invoked from network); 20 Jun 2000 10:51:25 -0000 Received: from localhost (127.0.0.1) by localhost with SMTP; 20 Jun 2000 10:51:25 -0000 test . 250 QUIT The part that I'm really confused on is HOW did qmail make up the MAIL FROM: part, and why is it WRONG? Where should I look if I want to fix this problem? If the from address IS in the rcpthosts file, everything works just fine. The above problem causes most receiving mail servers to bounce the message complaining about an invalid sender address. Thanks in advance, Greetings Sebastiaan van Erk
