#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep 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 11:48 PM.
  2. #2
  3. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    17
    Post the full, unedited output of:
    Code:
    /var/qmail/bin/qmail-showctl
    Alex
    (http://www.alex-greg.com)
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep 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.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep 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.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep Power
    0
    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...
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep 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.
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep 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
  14. #8
  15. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep 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.
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    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.
  18. #10
  19. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep 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.
  20. #11
  21. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep 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?
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    qmail doesn't use the mail command.
  24. #13
  25. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep 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?
  26. #14
  27. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    10
    Rep Power
    0
    anyways, ...

    I will find it out.

    Thank you freebsd.

IMN logo majestic logo threadwatch logo seochat tools logo