Web Hosting Talk







View Full Version : qmail + outgoing mail.


clocker1996
03-08-2002, 02:30 PM
Hi

I Just installed qmail (to /usr/qmail)
instead of /var/qmail

in the src dir of qmail-1.03 i edited the conf-qmail file and put /usr/qmail instead of /var/qmail

i followed the instructions on lifewithqmail.org
I can receive mail, but for some reason i can't send out mail.
I get this error in outlook express

The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'wizbomb@yahoo.com'. Subject 'Re: ', Account: 'mail.interactive-response.net', Server: 'mail.interactive-response.net', 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

All I want to do is just be able to sendmail, and i'l be set.

Can anyone help me out with what I maybe missed?

interactive-response:~# cat /etc/tcp.smtp
127.:allow,RELAYCLIENT=""

i've even ran:

tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
chmod 644 /etc/tcp.smtp*


All i'm saying is. I can receive mail just fine.
I can't send mail, for some odd resaon.


This is how my qmail-smtpd executes:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /usr/qmail/control/concurrencyincoming`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
echo /usr/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 700000000 \
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/qmail/bin/qmail-smtpd 2>&1

my qmail-send runs
#!/bin/sh
exec /usr/qmail/rc

my /usr/qmail/control/concurrencyincoming is 900

interactive-response:/usr/qmail/supervise/qmail-pop3d# ll /etc/tcp*
-rw-r--r-- 1 root root 26 Mar 8 12:28 /etc/tcp.smtp
-rw-r--r-- 1 root root 2.0k Mar 8 13:02 /etc/tcp.smtp.cdb

I have vpopmail installed to /home/vpopmail
I ran cd /home/vpopmail
cd bin
./vadddomain interactive-response.net
./vadduser username@interactive-response.net

People can email that user, ive received it. I just can't send back to them... or to anyone for that matter.. I am pretty sure there was one small step I missed? Or something i can do to fix this problem....

Any ideas?

zupanm
03-08-2002, 03:00 PM
do you have that domain set up for qmail? ie in ~/qmail/control/rcpthosts and such in that dir. Also your /etc/tcp.smtpd settings are wrong. 127. is if you use like pine or such to send mail. If you use outlook you have to put the class B or C or such in there that you use for your isp

clocker1996
03-08-2002, 03:13 PM
interactive-response:/usr/qmail/control# cat concurrencyincoming
900
interactive-response:/usr/qmail/control# cat defaultdomain
interactive-response.net
interactive-response:/usr/qmail/control# cat me
interactive-response.net
interactive-response:/usr/qmail/control# cat plusdomain
interactive-response.net
interactive-response:/usr/qmail/control# cat rcpthosts*
interactive-response.net
interactive-response:/usr/qmail/control# cat virtualdomains
interactive-response.net:interactive-response.net
interactive-response:/usr/qmail/control#

And no. zupanm, nobody likes to add ips to send mail.

What if you go on vacation?
and your on aol? Do you really want to add your own dial up ip?

Ive installed qmail before, and i never had to add ips.

Before i could just install qmail (off the instructions on www.lifewithqmail.org )

That's how i installed qmail this time
off the instructions on lifewithqmail.org

But this time i did it with /usr

and i cannot seem to sendmail at all
There has to be a way to fix this.

clocker1996
03-08-2002, 05:04 PM
Nevermind

Fixed, thanks all

ffeingol
03-08-2002, 06:52 PM
So what was the problem/solution?

Frank