Qmail, could it be the hardest thing ever?
:)
I've been having sooo much trouble with qmail it seems like I'll never figure it out. I've gone through Life With Qmail, and setup everything exactly like I'm supposed to, I am able to start qmail, and am even able to send emails without a hitch from my box (well out to the world anyway). Receiving emails seems like it's just not working. I'll send post up the message later if it will help (the refusal message), but basically it appears the message just bounces around forever on my server and eventually gets returned by, what appears, to be lack of user (I send it to root). I guess I just need a little bit of help understanding how users work in qmail, how virtual users work, and how qmail and IMAP server interface? Also, the alias bit, any help on setting up alias would be greatly appreciated as well. Plus, if anyone has an easier to follow how-to than Life With Qmail (although that was an excellent tutorial, it seemed WAAAY in depth at points and I think that's where I got lost) that would be nice as well. :) Cool |
Could it instead be your SMTP/IMAP daemon config instead?
If you're able to send out mail, then your Qmail configs are working just fine. |
That's what I would have thought, and I'm going to see if it's something else by eliminating everything else. But for some reason, that I just cannot remember ;) I think it's not a problem elsewhere...
But I will eliminate all other things one by one and see what I find. Thanks for the reply! :) Cool |
And you are mistaken, but only a little. Sendmail is the hardest thing ever. :-)
Post the rejection notice so we can disect it and maybe figure this out. |
Call it cheating if you will but the webmin module for Qmail is actually very good.
http://www.webmin.com/ |
hm...
While trying to regenerate an error message for you guys, I get this in: /var/log/qmail/smtpd/current: Code:
@400000003f00d76f0e33e31c /usr/local/bin/tcpserver: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory Cool |
Perchance this thread might help :)
|
Here's the message:
Quote:
Cool |
Quote:
Cool |
Woohoo!! Thanks, that totally fixed my error :) Now I am getting this:
Quote:
Cool |
:) Now I have added my domain to my /var/qmail/control/rcpthosts, and this is the new error message that I can't troubleshoot as easily ;) Let me say here again, thank you for all your replies so far!
It's probably gonna be a 2 pager: Quote:
|
I think you are allowing your server to accept mail to curvins.com but not to actually deliver it locally.
Try adding: curvins.com to: /etc/qmail/locals (you config dir may be different) |
Thank you for your reply :)
And you were dead on too :) We are definitely progressing, however I'm now recieving a new error, there can only be so many though right ;) Here's the message: Code:
From: MAILER-DAEMON@curvins.com The only thing I can think of is that maybe I don't have my Maildir setup correctly? I have used (my qmail path is /var/qmail) /var/qmail/bin/maildirmake /root/Maildir and it created a Maildir directory in /root with subdirectories "cur new tmp". I've echoed (or otherwise made sure) ./Maildir/ to /var/qmail/control/defaultdelivery I've added my domain to all the files in /var/qmail/control that aren't otherwise used (such as defaultdelivery). David, I'd be glad to give you ssh access for a few if you wanna take a look around. Just email me if you are interested. Oh, and as a side note, why this is killing me: I have Postfix installed and working beautifully on another box. However, I've heard a few things about qmail that enticed me to give it a try, one of which was security. I would LOVE to get qmail working, and it's just frastrating me more because I know I could just throw Postfix on there and be done with it in a few hours. :) Thanks for the reply again! Cool |
Do you have mail being forwarded from one account to the other?
Do you have fetchmail running? I would try creating a user account and sending to that. |
Well, now this is certainly odd?
First up: Thank you for the suggestion! So I did as told, and fired off an email to my user. I have yet to recieve it (at least not in the users Maildir/new (or any directory in ~/Maildir for that matter )), and worse, I haven't gotten back an error message. It's been nearly an hour! Normally, on my Postfix setup, I get emails within about 15 seconds of when they are sent, so I can only guess it's been sent.. I'll do some log digging, and if I find anything that looks valuable I'll post it up. If anyone has suggestions on what/where to look [for] I'd be happy to read them. :) Thanks again! Cool |
All times are GMT -5. The time now is 06:00 PM. |