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!

qmail got me again

Status
Not open for further replies.

slylos

Programmer
Feb 17, 2005
81
US
Well I decided that I knew enough about qmail to go for it on our work server. woowee!!

I've got

@400000004248bbdb1734e13c starting delivery 1: msg 114591 to local carlos@hatlaw.com
@400000004248bbdb173886d4 status: local 1/10 remote 0/20
@400000004248bbdb1785b4a4 delivery 1: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
@400000004248bbdb1785cc14 status: local 0/10 remote 0/20
@400000004248bbe304eecb64 status: exiting
@400000004248bbe6362f066c status: local 0/10 remote 0/20

in my logs when I try to send mail from a local user to a local user. I'm trying to use vpopmail and Maildir's . . . I think its a permission problem, but wow where do I start. I can't even tell if its a qmail perm or vpopmail perm . . . all I know is I've got practically an identical server running at home working just fine . . . please help!!
 
thanks for your help thedaver

I emptied out all of the 'control' files within /var/qmail/control (did not delete them, just emptied them), I then deleted /users/assign/*
I then went in to vqadmin and readded the domains, and voila!

I can send email from account to account, and even across local domains. I can even send email without any issues to external domains. Since I do not have this server finished yet, or any MX records pointing to this server, I obviously cannot test reply's from external domains. But everything as of now is A-Ok!!

Here's a question:
according to the example vchkpw script for use with qmail-pop3d, it requires that you specify the domain

INSTALL example:
env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R 0 pop-3 \
/var/qmail/bin/qmail-popup your.domain.com \
/home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir &

where it says 'your.domain.com'. My question is, if I plan on running more than 1 domain(and allowing access via POP), should I start a tcpserver binary for each?
 
NO NO NO!! That's not a literal domain reference, that's normally the hostname of the box. Actually I'm not sure if it links directly to the hostname of the box or is merely the name of the box advertised during pop3 login sessions.

It's rather immaterial since it is often ignored by POP3 mail readers since they base their "success" on authentication.

D.E.R. Management - IT Project Management Consulting
 
Gotcha thanks for the input again thedaver. here's a good one:

451 qq crashed (#4.3.0)

not sure whats going on (just finished installing clamav/spamassassin/qmail-scanner)
 
nevermind got it! permission problem yet again . . . and possibly a softlimit problem as well . . .
 
Access via POP is really slow using an email client. I'm testing it across a local network, so I'm not sure if its a slow DNS response from my DSL router or what. Got any idea's?
 
Do your POP3 testing by telnet first to understand the issue firsthand.

do
"telnet mail.example.com 110"

Should show a POP3 server daemon banner

do
"user someusername[@example.com if needed]"

do
"pass [thepassword]"

should receive an auth confirm

do
"list"

You should expect to see these happen very quickly, if not, start debugging...

D.E.R. Management - IT Project Management Consulting
 
Well it must've been slow DNS on my LAN (my only guess). I deployed my fresh new email server, and I'm in the process of testing it across the internet. POP access is lightning fast! Thanks for your help thedaver!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top