Rob Havens schrieb:

> 1. Have testuser who has dialup account at provider.net, gets dynamic IP
> address when dials in.
> 2. Our company has domain newman.com. Want testuser to be able to
> send/receive mail using our Linux 2.2.5-15 server (RedHat6.0) and
> qmail1.03 running under tcpserver (uspci.tcp).
> 3. Set up user account "outofstate" on newman mail server. Installed
> Russell Nelson's checkpassword patch and Mirko Zeibig's script.
> 4. outofstate dials up to provider.net, uses pop3 to retrieve his
> mail...works.
> 5. tcprulescheck qmail-smtpd.cdb (hisIPaddress) reports:
>     rule (hisIPaddress):
>     set environment variable RELAYCLIENT=
>     allow connection
> 6. outofstate sends message to [EMAIL PROTECTED]
> 7. outofstate sends message to [EMAIL PROTECTED]
> Outlook express reports:
> The message could not be sent because one of the recipients was rejected
> by
> the server.  The rejected email address was [EMAIL PROTECTED]
> Subject 'test 34th time', Account 'Testmail', Server:
> 'mailserver.newman.com', Protocol: SMTP, Server Response: '553 sorry,
> that domain isn't in my list of allowed
> rcpthosts (#5.7.1)',Port 25, Secure (SSL);No, Server Error:553,Error
> Number
> 0x800CCC79
> 8. Any and all other users with newman.com subnet IP addresses can send
> mail to [EMAIL PROTECTED] ok.  Other entries in qmail-smtpd.cdb
> are:
> 127.0.0.1:allow,RELAYCLIENT=""
> 9.9.9.:allow,RELAYCLIENT="" (for our subnet IP address range)
>
> Help please.  Any suggestions?

I assume you have allow as last entry in your qmail-smtpd.cdb. Otherwise
your testuser should not be able to connect to your server using SMTP an
send mail to your local users. So the thing you do is setting RELAYCLIENT=""
for special IPs to allow relaying on your host, meaning Qmail will ignore
rcpthosts file.

Solution:
You'll have to enter the IP-range of your provider so that the RELAYCLIENT
variable is also set for your dialup-testuser. Otherwise qmail will check
the rcpthosts file. Another way is to kill your rcpthosts file which will
cause your server to be an open relay :-((((.

CU
Holger

Reply via email to