 |
Qmail Support Forum Qmail Email Server Support Forums
|
| View previous topic :: View next topic |
| Author |
Message |
Matthew Hannay Guest
|
Posted: Fri Jul 29, 2005 3:45 pm Post subject: New Installation will not deliver mail |
|
|
My qmail keeps giving the following error
when I send mail to mailuser@propertywealth.com.au
(It's the same for all domains)
The Error:
-----------------BEGIN current log
snippit-----------------------------------------------------------------------------------
@4000000042a0277422e62694 new msg 3483304
@4000000042a0277422e73bec info msg 3483304: bytes 1129
from <matt_hannay@hotmail.com> qp 1647 uid 1001
@4000000042a027742330df7c starting delivery 31: msg
3483304 to local
propertywealth-mailuser@propertywealth.com.au
@4000000042a0277423311244 status: local 1/10 remote
0/20
@4000000042a0277423592414 delivery 31: failure:
Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
@4000000042a02774235bb454 status: local 0/10 remote
0/20
@4000000042a02774241747dc bounce msg 3483304 qp 1650
@4000000042a02774241874a4 end msg 3483304
@4000000042a02774241c0e84 new msg 3483351
@4000000042a02774241cb294 info msg 3483351: bytes 1707
from <> qp 1650 uid 1006
@4000000042a02774246f916c starting delivery 32: msg
3483351 to remote matt_hannay@hotmail.com
-----------------END current log
snippit-----------------------------------------------------------------------------------
I have installed netqmail 1.05 on my debian
server.
I have followed the life with qmail instructions
to install virtual domains
(no entries in control/local except for
netpacket.com.au)
(Some extra info)
It doesnot seem to read the .qmail file if i set the
first
line to a blank line I do not get the expected blank
line
error in the current log.
however if I setthesticky bit on the users mail home
dir
Qmail detects this and queues the mail for later
delivery
Could some please look at my config and tellmewhere I
ambeingstupid.
My config files are as follows:
----- control/locals -----
localhost
netpacket.com.au
--------------------------
----- control/rcpthosts -----
netpacket.com.au
sshangus.com.au
grpoli.com
asteriski.com
propertywealth.com.au
-----------------------------
----- control/virtualdomains -----
usera@sshangus.com.au:sshangus
userb@sshangus.com.au:sshangus
user1@grpoli.com:grpoli
user2@grpoli.com:grpoli
user@asteriski.com:asteriski
mailuser1@propertywealth.com.au:property
mailuser2@propertywealth.com.au:property
mailuser@propertywealth.com.au:propertywealth
-------------------------------------------------
angus:/var/qmail/users# ls -laF
total 28
drwxr-xr-x 2 root qmail 4096 2005-06-03 20:02 ./
drwxr-xr-x 10 root qmail 4096 2005-05-24 23:08 ../
-rw-r--r-- 1 root root 695 2005-06-03 14:22 assign
-rw-r--r-- 1 root root 673 2005-06-03 08:00
assign.bak
-rw-r--r-- 1 root root 3014 2005-06-03 13:15 cdb
-r--r--r-- 1 root root 2685 2005-05-31 00:34 cdb,v
-rw-r--r-- 1 root root 193 2005-05-19 21:45
manyDomains.sh
angus:/var/qmail/users#
----- users/assign ------
=sshangus-usera:sshangus:1008:1008:/home/sshangus:-::
=grpoli-user1:grpoli:1009:1009:/home/grpoli:::
=grpoli-user2:grpoli:1009:1009:/home/grpoli:::
=asteriski-user:asteriski:1010:1010:/home/asteriski:::
=netpacket-useraa:netpacket:1011:1011:/home/netpacket:::
=netpacket-userab:netpacket:1011:1011:/home/netpacket:::
=netpacket-userac:netpacket:1011:1011:/home/netpacket:::
=netpacket-userad:netpacket:1011:1011:/home/netpacket:::
=netpacket-matt:netpacket:1011:1011:/home/netpacket:::
=propertywealth-mailuser1:property:1012:1012:/home/property/mail:::
=propertywealth-mailuser2:property:1012:1012:/home/property/mail:::
=propertywealth-mailuser:property:1012:1012:/home/property/mail:::
--------------------------------------------------------------------
angus:/var/qmail/bin# ls -laF /etc/*cdb*
-rw-r--r-- 1 root root 2090 2005-06-03 14:51
/etc/tcp.smtp.cdb
** the mail homedir
drwx------ 3 property property 4096 2005-06-03 20:03
./
drwxr-xr-x 4 property property 4096 2005-06-03 13:05
../
drwx------ 5 property property 4096 2005-06-03 13:31
Maildir/
-rw-r----- 1 property property 777 2005-06-03 15:33
.qmail
Maildir has been created with 'maildirmake'
----------qmail-showctl--------------------------------------------------
angus:/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: 1007, 1001, 1002, 0, 1003, 1004, 1005, 1006.
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
netpacket.com.au.
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 com.au.
defaulthost: (Default.) Default host name is
netpacket.com.au.
doublebouncehost: (Default.) 2B recipient host:
netpacket.com.au.
doublebounceto: (Default.) 2B recipient user:
postmaster.
envnoathost: (Default.) Presumed domain name is
netpacket.com.au.
helohost: (Default.) SMTP client HELO host name is
netpacket.com.au.
idhost: (Default.) Message-ID host name is
netpacket.com.au.
localiphost: (Default.) Local IP address becomes
netpacket.com.au.
locals:
Messages for localhost are delivered locally.
Messages for netpacket.com.au are delivered locally.
me: My name is netpacket.com.au.
percenthack: (Default.) The percent hack is not
allowed.
plusdomain: Plus domain name is com.au.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the
queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at
netpacket.com.au.
SMTP clients may send messages to recipients at
sshangus.com.au.
SMTP clients may send messages to recipients at
grpoli.com.
SMTP clients may send messages to recipients at
asteriski.com.
SMTP clients may send messages to recipients at
propertywealth.com.au.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220
netpacket.com.au.
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:
Virtual domain: enquiry@sshangus.com.au:sshangus
Virtual domain: matt@sshangus.com.au:sshangus
Virtual domain: grpoli@grpoli.com:grpoli
Virtual domain: g@grpoli.com:grpoli
Virtual domain: asteriski.com:asteriski
Virtual domain: info@propertywealth.com.au:property
Virtual domain:
accounts@propertywealth.com.au:property
Virtual domain:
paulpalella@propertywealth.com.au:propertywealth
qmail: I have no idea what this file does.
concurrencyincoming: I have no idea what this file
does.
defaultdelivery: I have no idea what this file does.
angus:/var/qmail/bin#
----------------------------------------------------------------------
-------------qmailctl
stat------------------------------------------------
angus:/var/qmail/bin# qmailctl stat
/service/qmail-send: up (pid 1366) 16709 seconds
/service/qmail-send/log: up (pid 1379) 16709 seconds
/service/qmail-smtpd: up (pid 1370) 16709 seconds
/service/qmail-smtpd/log: up (pid 1369) 16709 seconds
/service/qmail-pop3d: up (pid 1362) 16709 seconds
/service/qmail-pop3d/log: up (pid 1364) 16709 seconds
messages in queue: 14
messages in queue but not yet preprocessed: 0
angus:/var/qmail/bin#
---------------------------------------------------------------------- |
|
| Back to top |
|
 |
reinin oyama Guest
|
Posted: Fri Jul 29, 2005 3:47 pm Post subject: |
|
|
How do you do.
> -rw-r--r-- 1 root root 695 2005-06-03 14:22 assign
> -rw-r--r-- 1 root root 3014 2005-06-03 13:15 cdb
cdb is older than assign?
Did you run /var/qmail/bin/qmail-newu ?
> ----- users/assign ------
> =sshangus-usera:sshangus:1008:1008:/home/sshangus:-::
> =grpoli-user1:grpoli:1009:1009:/home/grpoli:::
> =grpoli-user2:grpoli:1009:1009:/home/grpoli:::
> =asteriski-user:asteriski:1010:1010:/home/asteriski:::
> =netpacket-useraa:netpacket:1011:1011:/home/netpacket:::
> =netpacket-userab:netpacket:1011:1011:/home/netpacket:::
> =netpacket-userac:netpacket:1011:1011:/home/netpacket:::
> =netpacket-userad:netpacket:1011:1011:/home/netpacket:::
> =netpacket-matt:netpacket:1011:1011:/home/netpacket:::
> =propertywealth-mailuser1:property:1012:1012:/home/property/mail:::
> =propertywealth-mailuser2:property:1012:1012:/home/property/mail:::
> =propertywealth-mailuser:property:1012:1012:/home/property/mail:::
> --------------------------------------------------------------------
The end of line must be "." OK? |
|
| Back to top |
|
 |
Matt Guest
|
Posted: Fri Jul 29, 2005 3:52 pm Post subject: |
|
|
I cut the last line out of the users file,
so yes it is a ".",
But it may be a cdb problem?
IS running 'qmailctl cdb' enough?
Matt |
|
| Back to top |
|
 |
Dave Sill Guest
|
Posted: Fri Jul 29, 2005 3:54 pm Post subject: |
|
|
>But it may be a cdb problem?
>IS running 'qmailctl cdb' enough?
No, that only rebuilds /etc/tcp.smtp.cdb. You can add the following to
the big "case" statement in qmailctl:
users)
if [ -d /var/qmail/users ]; then
echo building /var/qmail/users/assign
mv /var/qmail/users/assign /var/qmail/users/assign.old
qmail-pw2u </etc/passwd >/var/qmail/users/assign
echo building /var/qmail/users/cdb
mv /var/qmail/users/cdb /var/qmail/users/cdb.old
qmail-newu
fi
;;
Then do "qmailctl users".
-Dave |
|
| Back to top |
|
 |
Guest
|
Posted: Sat Mar 25, 2006 3:57 am Post subject: |
|
|
I think you are right guys!  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|