I am trying to set up qmail on Mandrake 10.1. I am familiar with Linux, not so much with email servers. I have a registered domain name and static IP. I used the lifewithqmail docs. Now I am at the testing phase. So far I can send local but not remote.
Any help or recommendations would be great.
Here is some output:
# echo to: admin | /var/qmail/bin/qmail-inject
Result in /var/log/syslog:
Nov 21 18:39:10 whipsaw qmail: 1101083950.735838 new msg 94
Nov 21 18:39:10 whipsaw qmail: 1101083950.735983 info msg 94: bytes 275 from <admin@mo-11-11-11-11.sta.sprint-hsd.net> qp 19959 uid 501
Nov 21 18:39:10 whipsaw qmail: 1101083950.747087 starting delivery 194: msg 94 to local admin@mo-11-11-11-11.sta.sprint-hsd.net
Nov 21 18:39:10 whipsaw qmail: 1101083950.747224 status: local 1/10 remote 0/20
Nov 21 18:39:10 whipsaw qmail: 1101083950.778825 delivery 194: success: did_1+0+0/
Nov 21 18:39:10 whipsaw qmail: 1101083950.778953 status: local 0/10 remote 0/20
Nov 21 18:39:10 whipsaw qmail: 1101083950.778986 end msg 94
# echo to: admin@mydomain.com | /var/qmail/bin/qmail-inject
Result in /var/log/syslog:
Nov 21 18:39:20 whipsaw qmail: 1101083960.185561 new msg 94
Nov 21 18:39:20 whipsaw qmail: 1101083960.185686 info msg 94: bytes 258 from <admin@mo-11-11-11-11.sta.sprint-hsd.net> qp 19965 uid 501
Nov 21 18:39:20 whipsaw qmail: 1101083960.195383 starting delivery 195: msg 94 to remote admin@mydomain.com
Nov 21 18:39:20 whipsaw qmail: 1101083960.195509 status: local 0/10 remote 1/20
Nov 21 18:39:20 whipsaw qmail: 1101083960.283395 delivery 195: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Nov 21 18:39:20 whipsaw qmail: 1101083960.283509 status: local 0/10 remote 0/20
# qmailctl stat
/service/qmail-send: up (pid 5432) 159640 seconds
/service/qmail-send/log: up (pid 5433) 159640 seconds
/service/qmail-smtpd: up (pid 5437) 159640 seconds
/service/qmail-smtpd/log: up (pid 5443) 159640 seconds
messages in queue: 14
messages in queue but not yet preprocessed: 0
# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 502, 503, 504, 0, 505, 506, 507, 508.
group ids: 502, 503.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mo-11-11-11-11.sta.sprint-hsd.net.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is sta.sprint-hsd.net.
defaulthost: (Default.) Default host name is mo-11-11-11-11.sta.sprint-hsd.net.
doublebouncehost: (Default.) 2B recipient host: mo-11-11-11-11.sta.sprint-hsd.net.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mo-11-11-11-11.sta.sprint-hsd.net.
helohost: (Default.) SMTP client HELO host name is mo-11-11-11-11.sta.sprint-hsd.net.
idhost: (Default.) Message-ID host name is mo-11-11-11-11.sta.sprint-hsd.net.
localiphost: (Default.) Local IP address becomes mo-11-11-11-11.sta.sprint-hsd.net.
locals:
Messages for localhost are delivered locally.
Messages for mo-11-11-11-11.sta.sprint-hsd.net are delivered locally.
me: My name is mo-11-11-11-11.sta.sprint-hsd.net.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is sprint-hsd.net.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at mo-11-11-11-11.sta.sprint-hsd.net.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mo-11-11-11-11.sta.sprint-hsd.net.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains: (Default.) No virtual domains.
concurrencyincoming: I have no idea what this file does.
defaultdelivery: I have no idea what this file does.
Any help or recommendations would be great.
Here is some output:
# echo to: admin | /var/qmail/bin/qmail-inject
Result in /var/log/syslog:
Nov 21 18:39:10 whipsaw qmail: 1101083950.735838 new msg 94
Nov 21 18:39:10 whipsaw qmail: 1101083950.735983 info msg 94: bytes 275 from <admin@mo-11-11-11-11.sta.sprint-hsd.net> qp 19959 uid 501
Nov 21 18:39:10 whipsaw qmail: 1101083950.747087 starting delivery 194: msg 94 to local admin@mo-11-11-11-11.sta.sprint-hsd.net
Nov 21 18:39:10 whipsaw qmail: 1101083950.747224 status: local 1/10 remote 0/20
Nov 21 18:39:10 whipsaw qmail: 1101083950.778825 delivery 194: success: did_1+0+0/
Nov 21 18:39:10 whipsaw qmail: 1101083950.778953 status: local 0/10 remote 0/20
Nov 21 18:39:10 whipsaw qmail: 1101083950.778986 end msg 94
# echo to: admin@mydomain.com | /var/qmail/bin/qmail-inject
Result in /var/log/syslog:
Nov 21 18:39:20 whipsaw qmail: 1101083960.185561 new msg 94
Nov 21 18:39:20 whipsaw qmail: 1101083960.185686 info msg 94: bytes 258 from <admin@mo-11-11-11-11.sta.sprint-hsd.net> qp 19965 uid 501
Nov 21 18:39:20 whipsaw qmail: 1101083960.195383 starting delivery 195: msg 94 to remote admin@mydomain.com
Nov 21 18:39:20 whipsaw qmail: 1101083960.195509 status: local 0/10 remote 1/20
Nov 21 18:39:20 whipsaw qmail: 1101083960.283395 delivery 195: deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
Nov 21 18:39:20 whipsaw qmail: 1101083960.283509 status: local 0/10 remote 0/20
# qmailctl stat
/service/qmail-send: up (pid 5432) 159640 seconds
/service/qmail-send/log: up (pid 5433) 159640 seconds
/service/qmail-smtpd: up (pid 5437) 159640 seconds
/service/qmail-smtpd/log: up (pid 5443) 159640 seconds
messages in queue: 14
messages in queue but not yet preprocessed: 0
# /var/qmail/bin/qmail-showctl
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 502, 503, 504, 0, 505, 506, 507, 508.
group ids: 502, 503.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mo-11-11-11-11.sta.sprint-hsd.net.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is sta.sprint-hsd.net.
defaulthost: (Default.) Default host name is mo-11-11-11-11.sta.sprint-hsd.net.
doublebouncehost: (Default.) 2B recipient host: mo-11-11-11-11.sta.sprint-hsd.net.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mo-11-11-11-11.sta.sprint-hsd.net.
helohost: (Default.) SMTP client HELO host name is mo-11-11-11-11.sta.sprint-hsd.net.
idhost: (Default.) Message-ID host name is mo-11-11-11-11.sta.sprint-hsd.net.
localiphost: (Default.) Local IP address becomes mo-11-11-11-11.sta.sprint-hsd.net.
locals:
Messages for localhost are delivered locally.
Messages for mo-11-11-11-11.sta.sprint-hsd.net are delivered locally.
me: My name is mo-11-11-11-11.sta.sprint-hsd.net.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is sprint-hsd.net.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at localhost.
SMTP clients may send messages to recipients at mo-11-11-11-11.sta.sprint-hsd.net.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mo-11-11-11-11.sta.sprint-hsd.net.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains: (Default.) No virtual domains.
concurrencyincoming: I have no idea what this file does.
defaultdelivery: I have no idea what this file does.