[Fwd: qmail-pop3d question]
What error are you getting from your pop3 client? Are you allowing connections, as specified in hosts.allow/deny? Wesly Ng wrote: Hello, I setup the qmail on turbolinux4.0 on 2 servers. I follow the step of "Life with Qmail" setup qmail-pop3d and checkpassword run the pop-3 by inetd.conf and send HUP to inetd. pass the test on INSTALL of checkpassword-0.81. also, I check that tcp.smtp :allow but I still can't check email from the client by pop3 which is inside my LAN. any other things that I missed? thanks~
Re: mail server location question
Thanks, that was it. The firewall was not port forwarding correctly. I thought that linux's ipchains did that, but one needs another kernel module, ipmasqadm. The following 2 commands did the trick: ipmasqadm portfw -a -P tcp -R 192.168.1.100 25 -L 207.178.203.67 25 ipmasqadm portfw -a -P tcp -L 192.168.1.100 25 -R 207.178.203.67 25 Thank you all for the excellent support. -Bruce. Greg Owen wrote: OK, I think I have my firewall masquerading the firewall external IP port 25 to the qmail box internal IP port 25 I'm getting connection rejects, when I try to telnet to port 25 on the firewall. This should redirect me to port 25 on the qmail box, right? If your firewall is set up right, it should. Does your qmail box accept connections on port 25 at all? While logged into your qmail box, type 'telnet localhost 25'. If you get connection refused, then you aren't running qmail-smtpd properly. If your connection is accepted and you get the SMTP banner, then test the firewall's port 25 again. If the first suceeds and the second fails, then the firewall is probably not configured correctly. I'm not sure that it's the qmail box that's causing the problem, but is there anything I need to do to allow smtp connections from the internet? Not on the connection level. Once you get port 25 responding to the outside world, you may need to tweak your configuration as far as rcpthosts and relaying goes, but first let's get plain old connectivity going. -- gowen -- Greg Owen -- [EMAIL PROTECTED] - Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to [EMAIL PROTECTED]
Re: mail server location question
OK, I think I have my firewall masquerading the firewall external IP port 25 to the qmail box internal IP port 25 I'm getting connection rejects, when I try to telnet to port 25 on the firewall. This should redirect me to port 25 on the qmail box, right? I'm not sure that it's the qmail box that's causing the problem, but is there anything I need to do to allow smtp connections from the internet? -Bruce. Greg Owen wrote: I want to rely on the dns MX records on the firewall to route mail to the qmail server, which is on an internal LAN, with a non Internet routable 192.168.1 address. Will this work?, or, do I need to have the qmail server addressable from the internet directly? In order for this to work, your MX records will have to point to the publicly routable address of the firewall, and the firewall will have to redirect incoming port 25 to port 25 of the internal qmail mail server address. In other words, if your firewall has an external address of 1.2.3.4, an internal address of 192.168.1.1, and your qmail server has 192.168.1.2, then your firewall must forward inbound traffic to 1.2.3.4:25 to 192.168.1.2:25. Your MX records will point to 1.2.3.4. But, yes, it works without any problems that I've ever seen. -- gowen -- Greg Owen -- [EMAIL PROTECTED] - Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to [EMAIL PROTECTED]
Changing over from sendmail question, forwarding.
I have a sendmail server up already. It's the host for our domain name, so all mail to that domain goes to it. To have it forward the mail to the qmail box, shouldn't I just have to change the MX records to point to the new host with a lower priority number? eg: was sattel.com.IN MX 10 wutang.sattel.net. now: sattel.com. IN MX 0 mail.sattel.com. sattel.com.IN MX 10 wutang.sattel.net. Except that wutang is not forwarding the mail to mail.sattel.com. I know this may be a sendmail issue, but what else do I need to change to get wutang to forward the mail? TIA, Bruce.
mail server location question
Can I run the qmail server behind a firewall? I want to rely on the dns MX records on the firewall to route mail to the qmail server, which is on an internal LAN, with a non Internet routable 192.168.1 address. Will this work?, or, do I need to have the qmail server addressable from the internet directly? Thanks in advance, Bruce.
pop3d config, This user has no $HOME/Maildir
I'm getting this message from my pop3 clients. Could not login in to mail server. The server responded: This user has no $HOME/Maildir Well, the user does have a Maildir. I can see new mail piling up in Maildir/new. It's being started as follows: supervise /var/lock/qmail-pop3d tcpserver -v -c40 -u0 -g0 0 pop-3 qmail-popup checkpassword qmail-pop3d Maildir Any ideas as to what to do next? If this is a case of RTFM could someone direct me to the appropriate section in the FM? Thanks, Bruce.
pop3d config, This user has no $HOME/Maildir
Never mind, I found the problem, dnsfq is failing to return my hostname correctly. That said, any thoughts on this: [root@mail control]# /usr/local/src/qmail-1.03/dnsfq mail.sattel.com hard error [root@mail control]# [root@mail control]# hostname mail.sattel.com My dns server is local: [root@mail control]# nslookup Default Server: localhost Address: 127.0.0.1 mail.sattel.com Server: localhost Address: 127.0.0.1 Name:mail.sattel.com Address: 192.168.1.100 This is correct as far as I can tell. Bruce Edge wrote: I'm getting this message from my pop3 clients. Could not login in to mail server. The server responded: This user has no $HOME/Maildir Well, the user does have a Maildir. I can see new mail piling up in Maildir/new. It's being started as follows: supervise /var/lock/qmail-pop3d tcpserver -v -c40 -u0 -g0 0 pop-3 qmail-popup checkpassword qmail-pop3d Maildir Any ideas as to what to do next? If this is a case of RTFM could someone direct me to the appropriate section in the FM? Thanks, Bruce.
Init scripts for daemontools 70.1
Are there any initscripts packages that are already setup to work with the new daemontools? TIA, 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.
[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.