LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-11-2005, 11:05 PM   #1
b:z
Member
 
Registered: Mar 2005
Posts: 146

Rep: Reputation: 15
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.
 
Old 07-13-2005, 12:42 AM   #2
b:z
Member
 
Registered: Mar 2005
Posts: 146

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba accounts/ unix accounts Buzz88 Linux - Newbie 3 09-25-2005 08:16 AM
adding new email accounts with qmail tebucky Linux - Newbie 0 09-15-2005 10:55 AM
Same E-mail on different accounts joeman3429 Fedora 1 07-26-2004 05:51 AM
Disabling mail accounts Gavin Linux - Networking 3 08-01-2002 10:55 AM
MAIL Accounts WeaSiL Linux - Newbie 2 12-13-2000 10:36 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration