Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deferral: Unable_to_open_./users/sales:_is_a_directory._(#4.2.1)

Status
Not open for further replies.

pdunk

Technical User
Feb 17, 2005
3
US
Am using qmail + vmailmgr and have set up 3 email users,
sales, info and webmaster.
All 3 were created using vadduser and have created the
.qmail-user file for each
.qmail-sales / .qmail-info / .qmail-webmaster
each .qmail-user file contains 1 line
./users/sales (sales or info, etc)
.qmail-default says |/usr/bin/vdeliver

the webmaster account works fine, but the other 2
create a log entry of:
starting delivery 124: msg 44418 to local master-sales@smallwatercraft.com
status: local 1/10 remote 0/20
delivery 124: deferral: Unable_to_open_./users/sales:_is_a_directory._(#4.2.1)/
status: local 0/10 remote 0/20

Each user has a folder with the corresponding name,
sales, info, webmaster and each of those folders in turn
have 3 folders, cur, new and tmp
All were created the same way at the same time and have the
same permissions. All 3 accounts will send mail,
but only webmaster is recieving mail -
Any suggestions ??

output of qmail-showctl:
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1003, 1002, 1004, 0, 1005, 1006, 1007, 1008.
group ids: 1002, 1003.

badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
bouncehost: (Default.) Bounce host name is 72.22.66.80.
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 smallwatercraft.com.
defaulthost: (Default.) Default host name is 72.22.66.80.
doublebouncehost: (Default.) 2B recipient host: 72.22.66.80.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is 72.22.66.80.
helohost: (Default.) SMTP client HELO host name is 72.22.66.80.
idhost: (Default.) Message-ID host name is 72.22.66.80.
localiphost: (Default.) Local IP address becomes 72.22.66.80.
locals:
Messages for 72.22.66.80 are delivered locally.
me: My name is 72.22.66.80.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: (Default.) Plus domain name is 72.22.66.80.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at smallwatercraft.com.
SMTP clients may send messages to recipients at pedalboat.com.
SMTP clients may send messages to recipients at .smallwatercraft.com.
SMTP clients may send messages to recipients at .pedalboat.com.

morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: (Default.) SMTP greeting: 220 72.22.66.80.
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: smallwatercraft.com:master
Virtual domain: pedalboat.com:eek:trob
Virtual domain: .smallwatercraft.com:master
Virtual domain: .pedalboat.com:eek:trob

defaultdelivery: I have no idea what this file does.
concurrencyincoming: I have no idea what this file does.
 
I don't know enough about vmailmgr, but I suspect it is incorrect that you've got a "real" account Maildir/mbox for user "sales" and a .qmail-sales file at the same time. The .qmail-sales file implies an alias or forward is to be used, but qmail is checking if there's a real user/folder first. Thus I read the error as "Hey, you've given me email for 'sales' whom I see as a locally deliverable user, but you've also given me a .qmail file for 'sales' saying to deliver to 'sales'"

I suspect that if the local folder check hadn't been performed this would end up in a loop of sales trying to reach sales.

Don't know how to repair this in a vmailmgr context, but my hunch is to amend or remove .qmail-sales.

D.E.R. Management - IT Project Management Consulting
 
removing the .qmail files worked
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top