Hi,
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Delivered-To: mailing list [EMAIL PROTECTED]
>X-Sender: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58.J
>Date: Thu, 28 Sep 2000 19:20:38 +0900
>To: [EMAIL PROTECTED]
>From: Alan Chung <[EMAIL PROTECTED]>
>Subject: relaying
>
>Everyone,
>
>I am trying to setup some relaying for tcp.smtp server.
>
>Can I put domain name instead of IP address in /etc/tcp.smtp-rules?
>
>such as
>
>somedomain.com:allow,RELAYCLIENT=""
>
>According to documentation, it looks like only IP can be used.
Yes. That's correct. In order to employ Domain Names, you have to use the
relaymail patch or my SPAMCONTROL. However, in spite of this, tcpservers's
IP-Address database becomes obsolete since you can either use environment
variables or control files.
There is one exception: Even using environment variables you can allow
relaying based on E-Mail (MAIL FROM:) addresses.
http://www.fehcom.de/qmail_en.html
>
>And do I need to add an entry in /var/qmail/control/rcpthosts for those
>relaying too?
>
In general yes. Which means your MTA (qmail-smtpd) will be able to receive
mails for theses addreses. Otherweise they are solely relayed.
>Thanks for any help.
>
>Alan
>
+-----------------------------------------------------------------------+
| fff hh http://www.fehcom.de Dr. Erwin Hoffmann |
| ff hh |
| ff eee hhhh ccc ooo mm mm mm Wiener Weg 8 |
| fff ee ee hh hh cc oo oo mmm mm mm 50858 Koeln |
| ff ee eee hh hh cc oo oo mm mm mm |
| ff eee hh hh cc oo oo mm mm mm Tel 0221 484 4923 |
| ff eeee hh hh ccc ooo mm mm mm Fax 0221 484 4924 |
+-----------------------------------------------------------------------+