Thanks to David Magda being the sole replier to my query. He suggested using 'maildrop' as MDA. I retrieved it, compiled it, but while searching for configuration hints/tips about making it store the messages in a particular user's mailbox file, I realized that the same issue would exist as with "dovecot" : - when I run "fetchmail" as a non-root user, then that particular user must find a way to get permissions to write into the mailbox file of the (other) user for which it has retrieved new messages. - so why no simply launch "fetchmail" as each particular user account of whom the messages need be retrieved, and so it is that same process that will launch the MDA program (such as dovecot) and store the messages in that same user's mailbox file. No more permissions issue. -> I did that, and it works like a charm, messages are nicely fetched and stored in the particular user's mailbox file. Citeren Rob De Langhe <rob.de.langhe@twistfare.be>: > hi all, > > struggling to get local mails delivered into $HOME/.mail/Inbox instead of > the default /var/mail/$USER > > I managed to have /etc/mail/aliases populated such that $USER gets aliases > to /home/someuser/.mail/Inbox > > When sending a mail to someuser@localhost I get a bounced message back > saying > > blabla > --- The following addresses had permanent fatal errors ---- > /home/someuser/.mail/Inbox > (reason: Can't create output) > > blabla > > Permissions are: > # ls -ld /home > dr-xr-xr-x root root ... /home > # ls -ld /home/someuser > drwxr-xr-x someuser somegrp ... /home/someuser > # ls -ld /home/someuser/.mail > drwxrwx--- root mail ... /home/someuser/.mail > # ls -l /home/someuser/.mail/Inbox > -rw-rw---- someuser mail ... /home/someuser/.mail/Inbox > > I see that /usr/lib/mail.local is being used to deliver because it's > access timestamp gets updated with each test that I do. > The permissions of that binary are: > -r-xr-xr-x 1 root bin 63156 Aug 8 2009 /usr/lib/mail.local > > Any idea what's wrong with the permissions (if that's the reason, anyhow)? > > thx in advance > Rob > _______________________________________________ > sunmanagers mailing list > sunmanagers@sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Feb 17 05:52:33 2011
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:18 EST