Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
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.
I've just finished rebuilding my LFS server after a major crash (power outage took out complete system!)
Anyway, I have it mostly back up and running, but I don't seem to be able to get Postfix to deliver into the Maildirs for the users. Instead, mail is ending up in /var/mail.
if I look at mail.log, the following appears when a mail comes in:-
Quote:
Dec 3 05:17:14 smithers postfix/smtpd[17456]: connect from 51.18.stillsave.com[216.153.51.18]
Dec 3 05:17:15 smithers postfix/smtpd[17456]: 447D2278071: client=51.18.stillsave.com[216.153.51.18]
Dec 3 05:17:15 smithers postfix/cleanup[17460]: 447D2278071: message-id=<ULfbjbgeamcacJQ@stillsave.com>
Dec 3 05:17:15 smithers postfix/qmgr[17312]: 447D2278071: from=<28899494.5191640@stillsave.com>, size=3684, nrcpt=1 (queue active)
Dec 3 05:17:15 smithers postfix/local[17462]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Dec 3 05:17:15 smithers postfix/local[17462]: 447D2278071: to=<paul@maggiandpaul.co.uk>, relay=local, delay=0.32, delays=0.26/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command: IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #paul)
Dec 3 05:17:15 smithers postfix/qmgr[17312]: 447D2278071: removed
Dec 3 05:17:15 smithers postfix/smtpd[17456]: disconnect from 51.18.stillsave.com[216.153.51.18]
I can't see where procmail is being configured (I actually do want it, but I'm not sure if the "delivered to command" is correct or not.) I thought the home_mailbox setting in main.cf would get Maildirs to work, but...
Can anyone help?
TIA
Paul
P.S. once I get it working, is there any way I can get the system to re-process the /var/mail/<user> files into the various Maildirs?
Also, (I forgot to ask) is there an easy way I can get the /var/mail/<user> file(s) that have been created whilst the problem has existed to be re-processed through the system so they go to the correct place(s) (i.e. into the Maildirs)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.