The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> Mail Server Help
|
qmail receive error
Discuss qmail receive error in the Mail Server Help forum on Dev Shed. qmail receive error Mail Server Help forum discussing tips, tricks, techniques and Spam containment solutions. Topics include mail servers such as Sendmail and Qmail, webmail interfaces such as Squirrelmail and Horde and spam solutions such as SpamAssassin and Bayesian
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 28th, 2003, 08:15 AM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
qmail receive error
Hi,
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
[sinp]
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.
<sam@mail.conopscentral.com>:
Sorry, no mailbox here by that name. (#5.1.1)
--- Below this line is a copy of the message.
Return-Path: <isam0ne@netscape.net>
Received: (qmail 29216 invoked by alias); 28 Dec 2003 13:38:46 -0000
Delivered-To: root@conopscentral.com
Received: (qmail 29213 invoked from network); 28 Dec 2003 13:37:55 -0000
Received: from unknown (HELO sam@conopscentral.com) (61.11.102.76)
by mail.conopscentral.com with SMTP; 28 Dec 2003 13:37:55 -0000
hi there,
howdy.
hope these asciis will get to you somehow.
[/snip]
any ideas what could be the problem
AlmightySam
Last edited by AlmightySam : December 28th, 2003 at 10:48 PM.
|

December 28th, 2003, 10:25 AM
|
 |
Full Access
|
|
Join Date: Jun 2000
Location: London, UK
Posts: 2,019
Time spent in forums: 3 sec
Reputation Power: 15
|
|
Post the full, unedited output of:
Code:
/var/qmail/bin/qmail-showctl
__________________
Alex
(http://www.alex-greg.com)
|

December 28th, 2003, 05:16 PM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
1) qmail doesn't deliver any message to root by default
2) sam@mail.mydomain.com is not the same as sam@mydomain.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 28th, 2003, 11:06 PM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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.
locals:
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.
rcpthosts:
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 28th, 2003, 11:37 PM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Quote: Originally posted by freebsd
3) Asking for help here using mydomain.com is next to useless. If you really need some helps, don't obscure your DNS data. |
edited message. Now contains clear info .. no obscurity...
|

December 29th, 2003, 05:04 AM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Use xxx@conopscentral.com format, don't use xxx@mail.conopscentral.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, 06:45 AM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
the "mailbox does not exist" error persists
I added following line to my assign file
+mail.conopscentral.com-sam:sam:500:500:/home/sam:::
but still getting error.
also changed address mail.conopscentral.com to
conopscentral.com
|

December 29th, 2003, 07:59 AM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
no bounceback but not getting mail
Hi,
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 <isam0ne@netscape.net> qp 29801 uid 506
@400000003ff02fdb1b3727cc starting delivery 1: msg 306324 to local sam@conopscentral.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
[/snip]
any ideas what "Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/" indicates?
sam.
|

December 29th, 2003, 08:09 AM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Quote: | any ideas what "Uh-oh:_first_line_of_.qmail_file_is_blank._(#4.2.1)/" indicates? |
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, 08:29 AM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
the file /home/sam/.qmail itself didn't exist.
just created with content as
[contents of /home/sam/.qmail file]
./Mailbox
[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, 08:34 AM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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, 08:52 AM
|
|
Contributing User
|
|
Join Date: Jan 2001
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
qmail doesn't use the mail command.
|

December 29th, 2003, 09:04 AM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
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, 09:09 AM
|
|
Junior Member
|
|
Join Date: Dec 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
anyways, ...
I will find it out.
Thank you freebsd.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|