Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-29-2006, 04:08 PM
|
#1
|
Member
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142
Rep:
|
Mail going to user's mbox not /var/spool/mail
Hi
10 mins ago my server was working fine with mail going into the /var/spool/mail folder. Now it is creating an mbox in the user's home folder. I don't know why it has suddenly changed.
I am running CentOS 4.4, with sendmail, procmail and a fully working spamassassin.
I can't think what I have done - although it was working fine until I rebuilt access.db and rebuilt sendmail.cf
The only change I remember making was to allow relay of local network hosts.
Oh - it is using dovecot imap. The default mail directory is /var/spool/mail so again, I don't know what is happening.
Mail is delivered but to the wrong place. Mail clients automatically get the /var/spool/mail/username as their inbox.
Help greatly appreciated.
|
|
|
11-29-2006, 04:57 PM
|
#2
|
Member
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492
Rep:
|
I'm just (literally) working on a similar project.
Check that procmail, sendmail, and dovecot are all looking for the same mail folder location.
Also, what clients are you using? There are some weird things that happen if you use Pine with this configuration...
|
|
|
11-29-2006, 06:23 PM
|
#3
|
Member
Registered: Jun 2003
Location: Thames Valley, UK
Distribution: RedHat from 4 -9, Fedora, Ubuntu, Centos 3 - 7, Puppy Linux, and lots of raspberry pi
Posts: 142
Original Poster
Rep:
|
Thanks for the reply. You are right and I was so tired I think I missed it at first. With spamassassin working and individual user .procmailrc, there was a Default Mailbox setting (in each .procmailrc) which pointed to the wrong place (ie ~/mail). Simply commented it out and everything works fine.
BUT - what I don't understand is that it worked for 5 hours sending mail to /var/spool/mail/username and then just switched. Possibly some conflict and it certainly happened after a rebuild of sendmail.
Anyway, I'm just glad it's now working.
Good luck with yours!
|
|
|
11-29-2006, 08:19 PM
|
#4
|
Member
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492
Rep:
|
Thanks. Mine is going well, I have incoming down, now I just want to set it up so that authenticated remote users can send email to the outside world through my server... I'll probably use postfix and Cyrus SASL.
|
|
|
All times are GMT -5. The time now is 08:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|