Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

qmail not sending emails

Status
Not open for further replies.

room24

Programmer
Dec 28, 2003
83
JM
i just finished installing qmail ussing this guide
when i do telnet servername smtp i get a connect to the smtp server as in message below

220 mail.baritaportfolio.hopto.com ESMTP

when i try to echo To: localuser | /var/qmail/bin/qmail-inject

there is no error returned and no message is placed in that users mail box i ma a NEWBIE!! can some please give me some help. i have looked at the log files but i don't see anything meaningful
 
i am sorry but i am away from that server for the weekend so on monday first thing i will post the output from the command qmail-showctl but thanks for your suggestion and bear with me please
 
ok here is the output from /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: 400, 401, 402, 0, 403, 404, 405, 406.
group ids: 401, 400.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is mail.baritaportfolio.hopto.com.

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 baritaportfolio.hopto.com.

defaulthost: (Default.) Default host name is mail.baritaportfolio.hopto.com.

doublebouncehost: (Default.) 2B recipient host: mail.baritaportfolio.hopto.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is mail.baritaportfolio.hopto.com.

helohost: (Default.) SMTP client HELO host name is mail.baritaportfolio.hopto.com.

idhost: (Default.) Message-ID host name is mail.baritaportfolio.hopto.com.

localiphost: (Default.) Local IP address becomes mail.baritaportfolio.hopto.com.

locals:
Messages for baritaportfolio.com.baritapml are delivered locally.
Messages for baritaportfolio.com are delivered locally.
Messages for baritaportfolio.com are delivered locally.
Messages for baritaportfolio.com are delivered locally.
Messages for baritaportfolio.com.baritaportfolio.hopto.org are delivered locally.
Messages for mail.baritaportfolio.hopto.com are delivered locally.

me: My name is mail.baritaportfolio.hopto.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is hopto.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at baritaportfolio.com.baritapml.
SMTP clients may send messages to recipients at baritaportfolio.com.
SMTP clients may send messages to recipients at baritaportfolio.com.
SMTP clients may send messages to recipients at baritaportfolio.com.
SMTP clients may send messages to recipients at baritaportfolio.com.baritaportfolio.hopto.org.
SMTP clients may send messages to recipients at mail.baritaportfolio.hopto.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 mail.baritaportfolio.hopto.com.

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.
 
i made some changes but qmail is still not sending mails

here is the output of /var/qmail/bin/qmail-showctl again

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 400, 401, 402, 0, 403, 404, 405, 406.
group ids: 401, 400.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is mail.baritaportfolio.hopto.org.

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 baritaportfolio.hopto.org.

defaulthost: (Default.) Default host name is mail.baritaportfolio.hopto.org.

doublebouncehost: (Default.) 2B recipient host: mail.baritaportfolio.hopto.org.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is mail.baritaportfolio.hopto.org.

helohost: (Default.) SMTP client HELO host name is mail.baritaportfolio.hopto.org.

idhost: (Default.) Message-ID host name is mail.baritaportfolio.hopto.org.

localiphost: (Default.) Local IP address becomes mail.baritaportfolio.hopto.org.

locals:
Messages for baritaportfolio.com.baritapml are delivered locally.
Messages for baritaportfolio.com are delivered locally.
Messages for baritaportfolio.com are delivered locally.
Messages for baritaportfolio.com are delivered locally.
Messages for baritaportfolio.com.baritaportfolio.hopto.org are delivered locally.
Messages for mail.baritaportfolio.hopto.com are delivered locally.
Messages for mail.baritaportfolio.hopto.org are delivered locally.

me: My name is mail.baritaportfolio.hopto.org.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is hopto.org.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at baritaportfolio.com.baritapml.
SMTP clients may send messages to recipients at baritaportfolio.com.
SMTP clients may send messages to recipients at baritaportfolio.com.
SMTP clients may send messages to recipients at baritaportfolio.com.
SMTP clients may send messages to recipients at baritaportfolio.com.baritaportfolio.hopto.org.
SMTP clients may send messages to recipients at mail.baritaportfolio.hopto.com.
SMTP clients may send messages to recipients at mail.baritaportfolio.hopto.org.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 mail.baritaportfolio.hopto.org.

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.
 
here is the out put of qmailctl stat


/service/qmail-send: up (pid 4781) 9069 seconds
/service/qmail-send/log: up (pid 4796) 9069 seconds
/service/qmail-smtpd: up (pid 4788) 9069 seconds
/service/qmail-smtpd/log: up (pid 4790) 9069 seconds
/service/qmail-pop3d: up (pid 4794) 9069 seconds
/service/qmail-pop3d/log: up (pid 4795) 9069 seconds
messages in queue: 45
messages in queue but not yet preprocessed: 0

what else should i do can anybody please!!
 
This may be really simple...

I just tried it literally using quotes around the echo'd message

echo "To: myself@example.com" | /var/qmail/bin/qmail-inject
and
echo "To: myself@yahoo.com" | /var/qmail/bin/qmail-inject

it works fine both times.

You should try the echo with quotes and you should try sending mail using 'mutt' or another mail client application.

You shouldn't have any troubles given your configuration.

You could also post your "qmailctl queue" command output for further help here.

 
i just realized something my netbiosname is lnserver
and my hostname is mail

so i can telnet lnserver smtp successfully
but i can't telnet mail.baritaportfolio.hopto.org
i get Connecting To mail.baritaportfolio.hopto.org...Could not open connection to the
host, on port 23: Connect failed


 
i tried to echo "To: myself@hotmail.com" | /var/qmail/bin/qmail-inject

where i replaced myself with my email address and it did not work i tried to send and emal with an email client and it did no go out either

here is the output of qmailctl queue




messages in queue: 63
messages in queue but not yet preprocessed: 0
2 Nov 2004 08:34:37 GMT #527275 262 <bhamilton@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527229 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527252 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527230 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:20 GMT #527299 285 <bhamilton@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@baritaportfolio.com
1 Nov 2004 12:01:16 GMT #527253 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
2 Nov 2004 09:01:23 GMT #527276 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527231 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 13:01:23 GMT #527254 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
2 Nov 2004 10:01:12 GMT #527277 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527232 703 <anonymous@mail.baritaportfolio.hopto.com>
local bhamilton@mail.baritaportfolio.hopto.org
2 Nov 2004 10:39:16 GMT #527255 1320 <bhamilton@baritaportfolio.hopto.org>
remote bhamilton@baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527233 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527256 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 14:01:12 GMT #527257 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527234 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 15:01:09 GMT #527258 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527235 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527236 699 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527259 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527260 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:32:40 GMT #527237 262 <bhamilton@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527238 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527307 253 <bhamilton@mail.baritaportfolio.hopto.com>
local bhamilton@baritaportfolio.com
1 Nov 2004 16:01:10 GMT #527261 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527239 703 <anonymous@mail.baritaportfolio.hopto.com>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 17:01:09 GMT #527262 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527309 253 <bhamilton@mail.baritaportfolio.hopto.com>
local bhamilton@baritaportfolio.com
1 Nov 2004 10:09:21 GMT #527263 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:42:12 GMT #527240 264 <bhamilton@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527241 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 18:01:07 GMT #527264 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 19:01:09 GMT #527265 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527311 264 <bhamilton@mail.baritaportfolio.hopto.com>
local bhamilton@mail.baritaportfolio.hopto.com
1 Nov 2004 10:09:21 GMT #527219 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527242 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527220 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527266 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527243 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527221 705 <anonymous@mail.baritaportfolio.hopto.com>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 20:01:07 GMT #527267 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527222 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 21:01:06 GMT #527268 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527223 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527246 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527269 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:42:54 GMT #527247 264 <bhamilton@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 22:01:06 GMT #527270 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527224 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527225 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527271 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 13:31:47 GMT #527248 262 <bhamilton@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527249 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:20 GMT #527295 311 <bhamilton@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@baritaportfolio.com.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527226 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 23:01:06 GMT #527272 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
2 Nov 2004 00:01:06 GMT #527273 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527250 776 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:22 GMT #527227 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 10:09:20 GMT #527297 311 <bhamilton@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@baritaportfolio.com.baritaportfolio.hopto.org
1 Nov 2004 10:09:21 GMT #527228 774 <anonymous@baritaportfolio.com.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
1 Nov 2004 11:01:28 GMT #527251 701 <anonymous@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
2 Nov 2004 08:32:10 GMT #527274 264 <bhamilton@mail.baritaportfolio.hopto.org>
local bhamilton@mail.baritaportfolio.hopto.org
 
Have you had a look in the qmail-send logs?

/var/log/qmail/send/current
 
i was was able to send out a mail using outlook thanks
but so i am now testing the recieval let u know how it goes
 
ok i can send out emails from outlook but i am not receiving emails does anyone know why is this
 
ok this is what i see in one of the log files

/var/log/qmail/pop3d/current

file does not exist
@4000000041860e1a09176e44 softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist
@4000000041860e1b0ae26274 softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist
@4000000041860e1c0cbde8d4 softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist
@4000000041860e1d0e7ce29c softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist
@4000000041860e1e105651d4 softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist
@4000000041860e1f120793e4 softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist
@4000000041860e2013d239f4 softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist
@4000000041860e21159bbb0c softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist
@4000000041860e2217672c3c softlimit: fatal: unable to run /usr/local/tcpserver:
file does not exist


how can i fixed these errors
 
when i try to send an email from ms outlook to myself it is not deleivered

this is what is in /var/log/qmail/pop3d/current


@400000004187bf4b2050fcc4 tcpserver: status: 0/40
@400000004187c3c01a48a534 tcpserver: status: 0/40
@400000004187c5d02b265d24 tcpserver: status: 0/40
@400000004187c93828abd7a4 tcpserver: status: 1/40
@400000004187c93828aeae34 tcpserver: pid 5086 from 10.0.0.25
@400000004187c93828afc38c tcpserver: ok 5086 0:10.0.0.9:110 :10.0.0.25::2933
@400000004187c9382b09f3b4 tcpserver: end 5086 status 256
@400000004187c9382b0a12f4 tcpserver: status: 0/40
@400000004187c93e006693c4 tcpserver: status: 1/40
@400000004187c93e00695ab4 tcpserver: pid 5087 from 10.0.0.25
@400000004187c93e006a700c tcpserver: ok 5087 0:10.0.0.9:110 :10.0.0.25::2934
@400000004187c93e0820fc6c tcpserver: end 5087 status 256
@400000004187c93e08211f94 tcpserver: status: 0/40
 
You seem to have an error in your /var/qmail/supervise/qmail-pop3/run file that points to /usr/local/tcpserver
Typically this is installed as /usr/local/bin/tcpserver
This may explain script/delivery errors... a simple typo?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top