Recently i've been looking for a way to by able to read my local mail using mail/sylpheed which from what i understand only supports the MH format. While searching around i stumbled across some instructions on how to setup a forward that would convert the mails to said MH format by using a tool called
Easy enough one would think. Sadly there seems to be some kind of problem i can't figure out or even know how to debug: As soon as the .forward is in place and i try to send mail to root the following (or similar) error shows up in /var/log/messages:
I figure this might be related to
Edit: I've already tried changing permissions on /var/sysmail to world-writable/readable to see if there might be a problem with this but it didn't make any difference and the error shown above appeared as soon is a tried sending mail to root. I've also tried removing the double-quotes from the .forward as this was how the mail/exim example was showing it but again the result stayed the same.
rcvstore
which is provided by mail/nmh. Now the instructions i have read were targeted at mail/exim but forward(5) seemed to suggest that sendmail
would support the exact same syntax so i followed said instructions which went like this:- Run
install-mh
which resulted in the following .mh_profile being created in the users home directory (the user i am trying to set this up for is root and i've actually created the path shown below):
Code:
MH-Profile-Version: 1.0
Path: /var/sysmail
- Create .forward in the users home directory to forward the incoming mail to rcvstore (which on FreeBSD seems to be located at /usr/local/libexec/nmh/rcvstore) with the resulting file looking like this:
Code:
"|/usr/local/libexec/nmh/rcvstore"
Easy enough one would think. Sadly there seems to be some kind of problem i can't figure out or even know how to debug: As soon as the .forward is in place and i try to send mail to root the following (or similar) error shows up in /var/log/messages:
Code:
Oct 10 15:09:50 fdesk sm-mta[61329]: 09AD9owx061329: Losing ./qf09AD9owx061329: savemail panic
Oct 10 15:09:50 fdesk sm-mta[61329]: 09AD9owx061329: SYSERR(root): savemail: cannot save rejected email anywhere
I figure this might be related to
sendmail
simply not being mail/exim but i'd rather not replace the whole mail system just to get this working. Also forward(5) seems to suggest that sendmail
also should be able to do this so i wonder if there is an obvious error somewhere. Any help would be greatly appreciated as i honestly don't even know where or how i could get any further info about what's going wrong. As is the error simply seems to tell me that delivery "didn't work" and that this "is bad" but gives little clue as to what's the actual cause for this.Edit: I've already tried changing permissions on /var/sysmail to world-writable/readable to see if there might be a problem with this but it didn't make any difference and the error shown above appeared as soon is a tried sending mail to root. I've also tried removing the double-quotes from the .forward as this was how the mail/exim example was showing it but again the result stayed the same.