Re: using dovecot, where is ICOMING mail stored?
On Thu, Mar 10, 2011 at 07:22:45PM -0500, Daniel Staal wrote: --As of March 10, 2011 1:36:45 PM -0800, Gary Kline is alleged to have said: I did try pointing mutt -f at my saved backup /usr/tmp/.../Maildir. Nothing. My copies of saved mail are there, but not what was in the unread queue. I was testing out mutt from a laptop and that has to have been when I accidentially deleted stuff. Too bad there isn't a page on howto set up a mailserver ... for dimwits --As for the rest, it is mine. Ok, my suggestion: First, install Postfix, and check the config option to replace Sendmail. (Sendmail works just fine. It also can be configured to play tic-tack-toe[1]. A mailer that does _not_ have a Turing-complete config file is a lot easier to set up, and you probably won't ever need to use Sendmail's esoteric options. ;) ) I would have replied last night but my shoulder was giving me way too much grief. You know, I use postfix here on my ubuntu desktop. I'm not sure that it is actually used, but it is the default. Equally, by default, sendmail on FBSD. Just so that things work, I'm happy. I've used sendmail since v 2.0.5; bought the book and ground thru about 85 pages before giving up. Pretty sure that there are some spam-blockers in one of the /etc/mail/* files, but that's about all! Then: http://www.perturb.org/display/Postfix___Dovecot___Maildir___IMAPs.html It's a quick walkthrough. It assumes Linux, but that only means the command to install the programs and the location of the config file is wrong. It should get you up and running. This sounds like a must-read. Your mail is probably in /var/mail. That's the default location for mbox files, and you've probably missed setting up Maildir delivery. I don't know how to set that in Sendmail off the top of my head, but it's easy enough to use Postfix. I checked on my server, ethic. Zero. Everything is in ~/Maildir; well, everything but the old files, :-). Daniel T. Staal [1]This is assuming what I've heard on a Turing-complete config file is correct, and not hyperbole. If it's not completely Turing-complete, it's at least very complex. LOL. If it isn't 100% complete, it's close ... I remember the original sendmail. Totally unreable! gary --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using dovecot, where is ICOMING mail stored?
On Wed, Mar 09, 2011 at 05:23:34PM -0800, Gary Kline wrote: Does anybody know about this obscure stuff? In late DEcember, 2007 my FreeBSD server started having serious problems that were over my head. I asked this list for help but no one could help me; long-story-short, a guy from the DFW area, a self-taught net-wizard came to my rescue. Via the yahoo IM application and thanks to a fellow here with two strong arms, this network guy set me up with a pfSense firewall (on an old Kayak), and fixed/changed stuff on my server. He installed some mail tool called dovecot and deployed that on my server. At the time I was running FreeBSD everywhere except one of my four other computers. He also found something to let me still use mutt. I prefer CLI and text--8859-1 or ASCII. Hand on keyboard; my should got destroyed many years ago so the less motion between keyboard and mouse, the better. This morning I found the 15 or 20 messages in my incoming mail queue gone. Vanished. ---I do of course backup stuff in my ~/Maildir on my server. I checked my bup. Nothing. Does anybody know what this dovecot does with its incoming mail files? I only do one daily backup that it ccron'd for 03:00 [[along with a bunch of other critical directories, of course]] If you haven't changed the dovecot config file, look in it for the mail_location setting. For example, mine is set to: mail_location = maildir:~/Maildir From what you say above, about backups of ~/Maildir, I would expect you to find something very similar. If that's not what you find, try looking in the location it does point to. If you still have no luck, look at your SMTP server's config and figure out how it handles local deliveries. For example, my exim install is set up to send messages for local delivery through a pipe to the maildrop program, which in turn delivers them to folders under my ~/Maildir according to my filtering rules. Good luck! Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpz2bgjh8n5d.pgp Description: PGP signature
Re: using dovecot, where is ICOMING mail stored?
On Thu, Mar 10, 2011 at 09:38:21AM +0800, Foo JH wrote: On 3/10/2011 9:23 AM, Gary Kline wrote: Does anybody know about this obscure stuff? Disclaimer: I don't really know much about dovecot, except that it's a much better IMAP daemon than courier - I don't think dovecot handles SMTP: in other words it does not handle incoming mails. What services did you enable on dovecot? Nothing; zero. Since I did not set it up [ with sendmail ], I just let it do it's thing. I use mutt mostly; evolution for GUI use; there is some SMTP interface between evo and dovecot. Since this has worked for three years, I've just relied on it gary PS: There is zero excuse for my ignoranance, so if there any any pages that explain this, please clue me in if you have time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using dovecot, where is ICOMING mail stored?
On Thu, Mar 10, 2011 at 01:03:43PM +, Daniel Bye wrote: On Wed, Mar 09, 2011 at 05:23:34PM -0800, Gary Kline wrote: Does anybody know about this obscure stuff? [[ ... ]] If you haven't changed the dovecot config file, look in it for the mail_location setting. For example, mine is set to: mail_location = maildir:~/Maildir From what you say above, about backups of ~/Maildir, I would expect you to find something very similar. If that's not what you find, try looking in the location it does point to. If you still have no luck, look at your SMTP server's config and figure out how it handles local deliveries. For example, my exim install is set up to send messages for local delivery through a pipe to the maildrop program, which in turn delivers them to folders under my ~/Maildir according to my filtering rules. By SMTP [Simple??] I'm guessing you are referring to my sendmail. Yes?/no? I've always considered sendmail as a transport agent, period. I have poked around in /etc/mail and wasn't sure what to look for. I can grep -r and find the dovecot config. I haven't touched it. I did try pointing mutt -f at my saved backup /usr/tmp/.../Maildir. Nothing. My copies of saved mail are there, but not what was in the unread queue. I was testing out mutt from a laptop and that has to have been when I accidentially deleted stuff. Too bad there isn't a page on howto set up a mailserver ... for dimwits gary Good luck! Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using dovecot, where is ICOMING mail stored?
--As of March 10, 2011 1:36:45 PM -0800, Gary Kline is alleged to have said: I did try pointing mutt -f at my saved backup /usr/tmp/.../Maildir. Nothing. My copies of saved mail are there, but not what was in the unread queue. I was testing out mutt from a laptop and that has to have been when I accidentially deleted stuff. Too bad there isn't a page on howto set up a mailserver ... for dimwits --As for the rest, it is mine. Ok, my suggestion: First, install Postfix, and check the config option to replace Sendmail. (Sendmail works just fine. It also can be configured to play tic-tack-toe[1]. A mailer that does _not_ have a Turing-complete config file is a lot easier to set up, and you probably won't ever need to use Sendmail's esoteric options. ;) ) Then: http://www.perturb.org/display/Postfix___Dovecot___Maildir___IMAPs.html It's a quick walkthrough. It assumes Linux, but that only means the command to install the programs and the location of the config file is wrong. It should get you up and running. Your mail is probably in /var/mail. That's the default location for mbox files, and you've probably missed setting up Maildir delivery. I don't know how to set that in Sendmail off the top of my head, but it's easy enough to use Postfix. Daniel T. Staal [1]This is assuming what I've heard on a Turing-complete config file is correct, and not hyperbole. If it's not completely Turing-complete, it's at least very complex. --- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
using dovecot, where is ICOMING mail stored?
Does anybody know about this obscure stuff? In late DEcember, 2007 my FreeBSD server started having serious problems that were over my head. I asked this list for help but no one could help me; long-story-short, a guy from the DFW area, a self-taught net-wizard came to my rescue. Via the yahoo IM application and thanks to a fellow here with two strong arms, this network guy set me up with a pfSense firewall (on an old Kayak), and fixed/changed stuff on my server. He installed some mail tool called dovecot and deployed that on my server. At the time I was running FreeBSD everywhere except one of my four other computers. He also found something to let me still use mutt. I prefer CLI and text--8859-1 or ASCII. Hand on keyboard; my should got destroyed many years ago so the less motion between keyboard and mouse, the better. This morning I found the 15 or 20 messages in my incoming mail queue gone. Vanished. ---I do of course backup stuff in my ~/Maildir on my server. I checked my bup. Nothing. Does anybody know what this dovecot does with its incoming mail files? I only do one daily backup that it ccron'd for 03:00 [[along with a bunch of other critical directories, of course]] If I knew where else to tar -cyvf whatever I would do that, especially with mail. Particularly things that I consider non-urgent. thanks for any clues! gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: using dovecot, where is ICOMING mail stored?
On 3/10/2011 9:23 AM, Gary Kline wrote: Does anybody know about this obscure stuff? Disclaimer: I don't really know much about dovecot, except that it's a much better IMAP daemon than courier - I don't think dovecot handles SMTP: in other words it does not handle incoming mails. What services did you enable on dovecot? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org