Re: pop3 outgoing config issue
Bruce Edge <[EMAIL PROTECTED]> wrote: > I can send a message to a remote host using: > > echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject > > but I cannot do so from a pop3 MUA, netsacpe. > > When I try I get a dialog: > Sorry that's not in my list of rtpchosts (#5.7.1) You're testing two different things; qmail-inject injects directly into the queue. Netscape uses SMTP to connect to the machine and talk to its smtpd. > If I add remote.com to rtpchosts it works, but I should not have to add every > possible mail host on the 'net in this file. > > Is this a qmail-pop3d issue? If so where do I tell it to forward mail to > unknown hosts. qmail-smtpd is denying relaying, as it's not configured to accept mail for the recipient domain, as you found out. Check the file /var/qmail/control/rcpthosts. It should contain (along with whatever other _local_ domains you've got (plus virtuals)), plus localhost. If you're trying to run Netscape on a different machine and inject mail, you'll have to set up selective relaying. Dave Sill's "Life with qmail" does a good job of covering this topic. Charles -- --- Charles Cazabon<[EMAIL PROTECTED]> GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ Any opinions expressed are just that -- my opinions. ---
Re: pop3 outgoing config issue
On Fri, Jul 21, 2000 at 03:56:41PM -0700, Bruce Edge wrote: ! but I cannot do so from a pop3 MUA, netsacpe. That's because Netscape uses your SMTP daemon to inject mail. See below. ! If I add remote.com to rtpchosts it works, but I should not have to add every ! possible mail host on the 'net in this file. No, don't do that. If you add enough domains there, your machine becomes an open relay. ! Is this a qmail-pop3d issue? If so where do I tell it to forward mail to ! unknown hosts. If you use tcpserver to serve qmail-smtpd, then in its rules file, have something like (assuming your IP address is 10.1.2.3): 10.1.2.3:allow,RELAYCLIENT="" This will allow SMTP connections from 10.1.2.3 to send to any domain. ---Chris K. -- Chris, the Young One |_ If you can't afford a backup system, you can't Auckland, New Zealand |_ afford to have important data on your computer. http://cloud9.hedgee.com/ |_ ---Tracy R. Reed PGP: 0xCCC6114E/0x706A6AAD |_
[Fwd: pop3 outgoing config issue]
Never mind, just found: tcprules tcp.smtp.cdb tcp.smtp.tmp < qmail-smtpd Bruce Edge wrote: > > I can send a message to a remote host using: > > echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject > > but I cannot do so from a pop3 MUA, netsacpe. > > When I try I get a dialog: > Sorry that's not in my list of rtpchosts (#5.7.1) > > If I add remote.com to rtpchosts it works, but I should not have to add every > possible mail host on the 'net in this file. > > Is this a qmail-pop3d issue? If so where do I tell it to forward mail to > unknown hosts. > > Thanks, bruce.
pop3 outgoing config issue
I can send a message to a remote host using: echo to: [EMAIL PROTECTED] | /var/qmail/bin/qmail-inject but I cannot do so from a pop3 MUA, netsacpe. When I try I get a dialog: Sorry that's not in my list of rtpchosts (#5.7.1) If I add remote.com to rtpchosts it works, but I should not have to add every possible mail host on the 'net in this file. Is this a qmail-pop3d issue? If so where do I tell it to forward mail to unknown hosts. Thanks, bruce.