LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (http://www.linuxquestions.org/questions/%2Absd-17/)
-   -   qmail -- new accounts can't receive mail, but old accounts can (http://www.linuxquestions.org/questions/%2Absd-17/qmail-new-accounts-cant-receive-mail-but-old-accounts-can-342327/)

b:z 07-11-2005 11:05 PM

qmail -- new accounts can't receive mail, but old accounts can
 
I have set up qmail on openbsd system with SMTP SSL ( port 465 ) and IMAP SSL ( port 993 ). Everything works well with the accounts which create at the begining of setup qmail. Now, i have add some new accounts with the same way with old account. However i got the problem when send to new account:

Code:

2005-07-11 19:04:29.719335500 status: local 1/10 remote 0/20
2005-07-11 19:04:29.719471500 end msg 16515
2005-07-11 19:04:29.760493500 delivery 13: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
2005-07-11 19:04:29.801223500 status: local 0/10 remote 0/20
2005-07-11 19:04:29.899569500 bounce msg 16516 qp 23211
2005-07-11 19:04:29.914394500 end msg 16516

Here is /var/qmail/control/defaultdelivery/ file
Code:

foo# cat /var/qmail/control/defaultdelivery
./Maildir/
foo#

Here is /var/qmail/supervise/qmail-smtpd/run file
Code:

foo# cat /var/qmail/supervise/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
    echo QMAILDUID, NOFILESGID, or MAXSMTPD is unset in
    echo /var/qmail/supervise/qmail-smtpd/run
    exit 1
fi
exec /usr/local/bin/softlimit -m 4000000 \
    /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
foo#

Here is some qmail configuration:
Quote:

foo# qmailctl stat
/service/qmail-send: up (pid 7192) 23 seconds
/service/qmail-send/log: up (pid 23453) 77371 seconds
/service/qmail-smtpd: up (pid 12712) 23 seconds
/service/qmail-smtpd/log: up (pid 10644) 5 seconds
messages in queue: 2
messages in queue but not yet preprocessed: 0
foo# /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: 1001, 1002, 1003, 0, 1004, 1005, 1006, 1007.
group ids: 1001, 1002.

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

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

bouncehost: (Default.) Bounce host name is abc.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 abc.com.

defaulthost: (Default.) Default host name is abc.com.

doublebouncehost: (Default.) 2B recipient host: abc.com.

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

envnoathost: (Default.) Presumed domain name is abc.com.

helohost: (Default.) SMTP client HELO host name is abc.com.

idhost: (Default.) Message-ID host name is abc.com.

localiphost: (Default.) Local IP address becomes abc.com.

locals:
Messages for abc.com are delivered locally.
Messages for mail.abc.com are delivered locally.

me: My name is abc.com.

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

plusdomain: Plus domain name is abc.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 abc.com.
SMTP clients may send messages to recipients at drone.abc.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 abc.com.

smtproutes:

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.

defaultdelivery: I have no idea what this file does.

concurrencyincoming: I have no idea what this file does.

imapd.pem: I have no idea what this file does.

test: I have no idea what this file does.

clientcert.pem: I have no idea what this file does.

servercert-imapsd.pem: I have no idea what this file does.
foo#
All old account can send mail without error, everything works well with old account, but not new account.

Please help me solve this problem. Thank you very much.

b:z 07-13-2005 12:42 AM

Thank you very much. I have already solved the problem.

Cause: http://lifewithqmail.org/lwq.html#gotchas

Solution: http://www.qmail.org/qmail-manual-ht...ail-getpw.html
then : http://www.qmail.org/qmail-manual-ht...ail-users.html
final : http://www.qmail.org/qmail-manual-ht...mail-newu.html

Thanks again :)


All times are GMT -5. The time now is 01:58 AM.