First off, yes, I've read life with qmail and everything I can about
rcpthosts. :)
The error message I'm receiving is:
Error sending to <[EMAIL PROTECTED]> (553 sorry, that domain isn't in
my list of allowed rcpthosts (#5.7.1))
[Tue Apr 4 17:24:48 2000] [error] Error sending to
<[EMAIL PROTECTED]> (553 sorry, that domain isn't in my list of
allowed rcpthosts (#5.7.1))
What I am trying to do is e-mail a user a login/pw from a webpage..
The code is:
########################################################
# Takes the address, subject and an email, and does what it says
# used by dailyStuff, users.pl, and someday submit.pl
sub sendEmail {
my( $addr, $subject, $content, $smtp_server ) = @_;
my %mail = (
smtp => $smtp_server,
To => $addr,
From => $I{adminmail},
Subject => $subject,
Message => $content
);
sendmail( %mail ) or die $Mail::Sendmail::error;
}
$smtp_server is defined in another file to be my smtp server.. set
correctly.
Regular local -> remote, remote -> local, and local -> local mail delivery
all works.
My tcp.smtp line is:
208.246.80.:allow,RELAYCLIENT=""
which I thought would be the solution, but I'm still hitting that error.
There must be something I'm not understanding or am missing somewhere.. I
don't think it's the script thats a problem, because if I telnet to port 25
and try to rcpt to anywhere else, it gives me the same problem.. what is
wrong with my tcp.smtp?
Thanks,
Chad Day
Beach Associates
- I heard if you play the NT CD backwards, you can hear satanic messages?
- That's NOTHING. If you play it forwards, it installs NT 4.0.