Hi, thx for all responses for my previous questions but:
My server domain => my.domain
starting smtpd :
/usr/local/bin/tcpserver -x/etc/tcp.smtp.cdb -c100 -u329 -g201 0 smtp \
/var/qmail/bin/qmail-smtpd 2>&1 | /var/qmail/bin/splogger smtpd 3 &
settings in /var/qmail/control/rcpthosts
=====================
my.domain
localhost
tcprules (in /etc/tcp.smtp):
<my.host.ip>:allow,RELAYCLIENT="@my.domain"
127.0.0.1:allow,RELAYCLIENT="@my.domain"
127.:allow,RELAYCLIENT=""
:allow
also trying with:
<my.host.ip>:allow,RELAYCLIENT=""
127.0.0.1:allow,RELAYCLIENT=""
127.:allow,RELAYCLIENT=""
:allow
converted to /etc/tcp.smtp.cdb by
tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp
direct mail (qmail=>binmail replacement) work OK.
Running local (my.domain) PINE (or dtmail), trying to send mail
ouside my.domain and ....:
[Mail not sent: sorry, that domain isn't in my list of allowed rcpthosts
(#5]
Seems to tcpserver don`t look to (or ignore) his own tcp.smtp.cdb database
but why ??
(qmail instaled as sendmail-replacment):
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|dot-forward .forward
|preline -f /usr/bin/mail -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \
splogger qmail
System AiX 4.3
Please help , I do not want by open-relay but what I`m doing wrong ??
Jacek Kubica