December 28th, 2003, 09:15 AM
qmail receive error
I have qmail installed and working on my server.
But it looks like I have some problem with my maildirectory configuration. I followed instructions from life with qamil. After installing I sent one message to my mailserver addressed to root but it bounced. Here is my bounced message
Hi. This is the qmail-send program at mail.conopscentral.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is a copy of the message.
Received: (qmail 29216 invoked by alias); 28 Dec 2003 13:38:46 -0000
Received: (qmail 29213 invoked from network); 28 Dec 2003 13:37:55 -0000
Received: from unknown (HELO email@example.com) (188.8.131.52)
by mail.conopscentral.com with SMTP; 28 Dec 2003 13:37:55 -0000
hope these asciis will get to you somehow.
any ideas what could be the problem
Last edited by AlmightySam; December 28th, 2003 at 11:48 PM.
December 28th, 2003, 11:25 AM
Post the full, unedited output of:
December 28th, 2003, 06:16 PM
1) qmail doesn't deliver any message to root by default
2) firstname.lastname@example.org is not the same as email@example.com
3) Asking for help here using mydomain.com is next to useless. If you really need some helps, don't obscure your DNS data.
December 29th, 2003, 12:06 AM
output of /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: 507, 506, 508, 0, 509, 510, 511, 512.
group ids: 504, 505.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is mail.conopscentral.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 conopscentral.com.
defaulthost: (Default.) Default host name is mail.conopscentral.com.
doublebouncehost: (Default.) 2B recipient host: mail.conopscentral.com.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is mail.conopscentral.com.
helohost: (Default.) SMTP client HELO host name is mail.conopscentral.com.
idhost: (Default.) Message-ID host name is mail.conopscentral.com.
localiphost: (Default.) Local IP address becomes mail.conopscentral.com.
Messages for mail.conopscentral.com are delivered locally.
Messages for gpt.conopscentral.com are delivered locally.
Messages for conopscentral.com are delivered locally.
Messages for gptindia.com are delivered locally.
Messages for lovebees.com are delivered locally.
Messages for majornminor.com are delivered locally.
Messages for foodtechlit.com are delivered locally.
Messages for worldsteeldirectory.com are delivered locally.
me: My name is mail.conopscentral.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is conopscentral.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
SMTP clients may send messages to recipients at mail.conopscentral.com.
SMTP clients may send messages to recipients at gpt.conopscentral.com.
SMTP clients may send messages to recipients at conopscentral.com.
SMTP clients may send messages to recipients at gptindia.com.
SMTP clients may send messages to recipients at lovebees.com.
SMTP clients may send messages to recipients at majornminor.com.
SMTP clients may send messages to recipients at foodtechlit.com.
SMTP clients may send messages to recipients at worldsteeldirectory.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 mail.conopscentral.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.
defaultdirectory: I have no idea what this file does.
concurrencyincoming: I have no idea what this file does.
December 29th, 2003, 12:37 AM
edited message. Now contains clear info .. no obscurity...
December 29th, 2003, 06:04 AM
Use firstname.lastname@example.org format, don't use email@example.com to confuse your friends and yourself.
1) Edit the appropriate file so the qmail-showctl has the following:
bouncehost -> conopscentral.com
defaulthost -> conopscentral.com
2) In /var/qmail/users/assign file, you need to add a line for +mail.conopscentral.com-..... Your existing +conopscentral.com- doesn't imply message destined for mail.conopscentral.com will get delivered even though it exists in rcpthosts file. Be sure to rebuild the assign file.
December 29th, 2003, 07:45 AM
the "mailbox does not exist" error persists
I added following line to my assign file
but still getting error.
also changed address mail.conopscentral.com to
December 29th, 2003, 08:59 AM
no bounceback but not getting mail
This time I got no bounce-back but still not getting mail deliveries.
Here is my qmail log.
[snip ---8<--- last 10 lines ]
@400000003ff01c052b524f24 status: local 0/10 remote 0/20
@400000003ff01c052b5481a4 end msg 306325
@400000003ff01d8b1efaee5c status: exiting
@400000003ff01d8d026cdb74 status: local 0/10 remote 0/20
@400000003ff02fda1f34d2ac new msg 306324
@400000003ff02fda1f358a44 info msg 306324: bytes 239 from <firstname.lastname@example.org> qp 29801 uid 506
@400000003ff02fdb1b3727cc starting delivery 1: msg 306324 to local email@example.com
@400000003ff02fdb1b37df64 status: local 1/10 remote 0/20
@400000003ff02fdb1d8ad7e4 delivery 1: deferral: Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/
@400000003ff02fdb1d8b7fdc status: local 0/10 remote 0/20
any ideas what "Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/" indicates?
December 29th, 2003, 09:09 AM
Uh-oh: First line of your .qmail file is blankDescriptive enough, what don't you understand?
Check your /home/sam/.qmail and remove the blank line.
December 29th, 2003, 09:29 AM
the file /home/sam/.qmail itself didn't exist.
just created with content as
[contents of /home/sam/.qmail file]
[end of contents]
on the very first line of the file.
and looks like it worked.
Thank you very much for your valuable help.
December 29th, 2003, 09:34 AM
one more problem has cropped up.
now when I check mail using "mail" it say no mail for sam but the messages are there in file "Mailbox"
what do I have to set to see the newly arrived Mails?
December 29th, 2003, 09:52 AM
qmail doesn't use the mail command.
December 29th, 2003, 10:04 AM
can't I use "mail" as my default client? if yes how do I set it?
or I _have_ to use fetchmail or procmail?
December 29th, 2003, 10:09 AM
I will find it out.
Thank you freebsd.