[gentoo-user] Local mail delivery - ssmtp maildrop...?
Folks, Happy festive stuff. I hope you have all sated much consumerist avarice and enjoyed gouts of inebriated hedonism at this time of religious spiritual neglect. I'm hoping that someone can advise me about local mail delivery. At present any messages produced by my cron jobs are emailed, using ssmtp, to my POP3 mailbox at my ISP, from where I retrieve them using the usual sorts of methods, however a recent ADSL outage has made me realise that it's more desirable for messages to be plonked straight into users' local maildir directories, rather than having the overhead of uploading downloading again. However, ssmtp doesn't seem to be the way to do this, its manpage says it especially does not deliver to pipelines. When mail is collected by fetchmail I use mailfilter to sort it, but if I run `/usr/bin/maildrop -d stroller` then I find the body of the message is delivered without any headers. I'd rather not have sendmail sitting listening on an open port, as I recall happening on a comment during some of my earliest Unix reading on Usenet that it's easy to configure sendmail as an open-relay; I know that this was in the days when SGI shipped Irix with sendmail enabled out-of-the-box, and that it would probably be straightforward for me to secure it, however it just seems inelegant to have a daemon running a port open when this probably could be handled with a pipe. Ideally I don't want to use postfix, as I understand that to replicate the functionality for which I'm presently using mailfilter. Is there a sendmail replacement which does what I require, please..? Stroller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Local mail delivery - ssmtp maildrop...?
begin quote On Sat, 27 Dec 2003 21:38:10 + Stroller [EMAIL PROTECTED] wrote: Is there a sendmail replacement which does what I require, please..? with the risk of being selfpromoting, might this setup be what you require? http://dev.gentoo.org/~spider/local-mail-0.3.0/local-email.html it sets up postfix for local delivery, then uses fetchmail to pull email into postfix, which is then sorted by procmail into users directories. //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] Local mail delivery - ssmtp maildrop...?
On Dec 27, 2003, at 9:51 pm, Spider wrote: begin quote On Sat, 27 Dec 2003 21:38:10 + Stroller [EMAIL PROTECTED] wrote: Is there a sendmail replacement which does what I require, please..? with the risk of being selfpromoting, might this setup be what you require? http://dev.gentoo.org/~spider/local-mail-0.3.0/local-email.html it sets up postfix for local delivery, then uses fetchmail to pull email into postfix, which is then sorted by procmail into users directories. I believe I read your excellent article some time ago, when I setup Courier-IMAP. However at that time I'd already committed to mailfilter for filtering of incoming mail; it's my understanding that postfix does many of the same things as mailfilter. Is this correct..? Or am I confusing postfix with procmail..? Stroller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Local mail delivery - ssmtp maildrop...?
begin quote On Sat, 27 Dec 2003 22:03:04 + Stroller [EMAIL PROTECTED] wrote: I believe I read your excellent article some time ago, when I setup Courier-IMAP. However at that time I'd already committed to mailfilter for filtering of incoming mail; it's my understanding that postfix does many of the same things as mailfilter. Is this correct..? Or am I confusing postfix with procmail..? I think you are confusing postfix with procmail, but I'd be surprised if you can't cut out the spamassassin/procmail parts of the guide and adapt it to mailfilter instead. //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] Local mail delivery - ssmtp maildrop...?
begin quote On Sat, 27 Dec 2003 22:03:04 + Stroller [EMAIL PROTECTED] wrote: I believe I read your excellent article some time ago, when I setup Courier-IMAP. However at that time I'd already committed to mailfilter for filtering of incoming mail; it's my understanding that postfix does many of the same things as mailfilter. Is this correct..? Or am I confusing postfix with procmail..? as a followup to my other reply : http://www.firstpr.com.au/web-mail/RH90-Postfix-Courier-Maildrop-IMAP/ Look down below the : Configure Postfix to use Maildrop About halfway down the page. mailbox_command = /usr/local/bin/maildrop -- you prolly want /usr/bin/maildrop # and add this local_destination_concurrency_limit=1 well, read that document for more info, it is redhat centric so you can probably rid yourself of 90% of it as its already done here ;) //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature
Re: [gentoo-user] Local mail delivery - ssmtp maildrop...?
On Dec 27, 2003, at 10:52 pm, Spider wrote: begin quote On Sat, 27 Dec 2003 22:03:04 + Stroller [EMAIL PROTECTED] wrote: it's my understanding that postfix does many of the same things as mailfilter. Is this correct..? Or am I confusing postfix with procmail..? as a followup to my other reply : http://www.firstpr.com.au/web-mail/RH90-Postfix-Courier-Maildrop-IMAP/ Look down below the : Configure Postfix to use Maildrop About halfway down the page Ah! Looks perfect. Many thanks. Stroller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Local mail delivery?
Even better is IMHO courier. It's based on qmail's idea, but is a little bit normalized. -- quoting Luke Scharf -- Darnit! Oh well -- back to running Sendmail (and typing sendmail -q0 ; sendmail -bp) for me. :-) If you don't want to hack cryptic config files, I suggest you give Postfix or Qmail a try. Last one is a bit strange, but if you got it, it's extremly powerful. Greetings, Matthias -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Local mail delivery?
On Thu, 2003-11-20 at 23:21, Martin Horak wrote: Even better is IMHO courier. It's based on qmail's idea, but is a little bit normalized. I just installed courier. I think it is great. It comes with everything! An IMAP server, POP3, filters (replaces procmail), SSL, and of course ESMTP MTA. It comes with lots of good mail tools. And yes, a saner configuration. -- quoting Luke Scharf -- Darnit! Oh well -- back to running Sendmail (and typing sendmail -q0 ; sendmail -bp) for me. :-) If you don't want to hack cryptic config files, I suggest you give Postfix or Qmail a try. Last one is a bit strange, but if you got it, it's extremly powerful. Greetings, Matthias -- [EMAIL PROTECTED] mailing list -- -- - Keith Dart mailto:[EMAIL PROTECTED] http://www.kdart.com/ Public key ID: B08B9D2C Public key: http://www.kdart.com/~kdart/public.key signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Local mail delivery?
On Fri, 21 Nov 2003, Martin Horak wrote: Even better is IMHO courier. It's based on qmail's idea, but is a little bit normalized. I've had problems with courier in the past but I can't remember off-hand what they are. The best one I've seen for ease of use and maintainability is postfix. Ric -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Local mail delivery?
On Fri, 2003-11-21 at 02:21, Martin Horak wrote: Even better is IMHO courier. It's based on qmail's idea, but is a little bit normalized. I've used Courier in the past, and it rocks! But I thought it was better suited for large installations... It's been a long time since I set it up, though, and I can't remember the details of what made it good for big sites. -Luke -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Local mail delivery?
-- quoting Luke Scharf -- Darnit! Oh well -- back to running Sendmail (and typing sendmail -q0 ; sendmail -bp) for me. :-) If you don't want to hack cryptic config files, I suggest you give Postfix or Qmail a try. Last one is a bit strange, but if you got it, it's extremly powerful. Greetings, Matthias -- The doll's trying to kill me, and the toaster's been laughing at me. -- Homer Simpson Treehouse of Horror III -- [EMAIL PROTECTED] mailing list
[gentoo-user] Local mail delivery?
I'm running ssmtp (the default sendmail program, I think) on Gentoo. It works great for sending messages (like this one), but it doesn't seem to do too well for local mail delivery. The only things that I use local mail delivery for are reading the results of cronjobs and for things like logwatch. Ideally, I'd like to set ~root/.forward to point to my user account and then let evolution read /var/spool/mail/myusername. Is this possible with ssmtp? If not, how do you all solve this problem? Thanks in advance, -Luke -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Local mail delivery?
Luke Scharf wrote: I'm running ssmtp (the default sendmail program, I think) on Gentoo. It works great for sending messages (like this one), but it doesn't seem to do too well for local mail delivery. The only things that I use local mail delivery for are reading the results of cronjobs and for things like logwatch. Ideally, I'd like to set ~root/.forward to point to my user account and then let evolution read /var/spool/mail/myusername. Is this possible with ssmtp? If not, how do you all solve this problem? ssmtp does not work this way. It is pretty much a mail gateway. I don't know if it can be done the way you propose without a full mail server. The only way I know to get local mail delivery is with a full mail server such as sendmail or qmail. -- Andrew Gaffney -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Local mail delivery?
On Tue, 2003-11-18 at 15:52, Andrew Gaffney wrote: ssmtp does not work this way. It is pretty much a mail gateway. I don't know if it can be done the way you propose without a full mail server. The only way I know to get local mail delivery is with a full mail server such as sendmail or qmail. Darnit! Oh well -- back to running Sendmail (and typing sendmail -q0 ; sendmail -bp) for me. :-) -Luke -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] local mail delivery
What do I need to do to get local mail delivery? sauron root # qpkg -f `which mail` net-mail/mailx * I now have mailx installed, thanks. But now I got different issue. echo test | mail -s test root send-mail: Cannot open gateway:25 telnet 0 25 Trying 0.0.0.0... telnet: Unable to connect to remote host: Connection refused But when I try and start it /etc/init.d/sendmail start * WARNING: sendmail has already been started. -- Greg Donald http://destiney.com/ -- [EMAIL PROTECTED] mailing list
[gentoo-user] local mail delivery
I seem to have no local mail delivery: echo test | mail -s test root -/bin/bash: mail: command not found So I started poking around and see that I already have ssmtp installed. It seems unconfigured so I make some obvious changes to /etc/ssmtp/ssmtp.conf. At this point I don't know how to start it up, there is no ssmtpd or anything obvious in /etc/init.d. I then decided to install sendmail. I was forced to unmerge ssmtp first do to a blockage, but then emerging sendmail put ssmtp right back in as a dependancy? Weird.. Anyway, I added sendmail to my startup using rc-update and then I started it up by hand. I again try to send a test message but can't. What do I need to do to get local mail delivery? Thanks, -- Greg Donald http://destiney.com/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] local mail delivery
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 26 August 2003 23:14, Greg Donald wrote: What do I need to do to get local mail delivery? sauron root # qpkg -f `which mail` net-mail/mailx * HTH - -- Mike Williams -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/S90iInuLMrk7bIwRAkIBAJsF42i3XpmTU4NwcJTpuiglbmb2MQCglMbq +aPnYWtFymv+SYnT/Zm69zo= =y1ze -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] local mail delivery
Greg Donald wrote: I seem to have no local mail delivery: echo test | mail -s test root -/bin/bash: mail: command not found So I started poking around and see that I already have ssmtp installed. It seems unconfigured so I make some obvious changes to /etc/ssmtp/ssmtp.conf. At this point I don't know how to start it up, there is no ssmtpd or anything obvious in /etc/init.d. I then decided to install sendmail. I was forced to unmerge ssmtp first do to a blockage, but then emerging sendmail put ssmtp right back in as a dependancy? Weird.. Anyway, I added sendmail to my startup using rc-update and then I started it up by hand. I again try to send a test message but can't. What do I need to do to get local mail delivery? As far as ssmtp, so send an email like you attempted to, you use 'sendmail' or 'ssmtp', but all that ssmtp does is act as a mail proxy and forward anything it gets to a known mail server as per its config file. It is really only meant for sending mail, not receiving it. -- Andrew Gaffney -- [EMAIL PROTECTED] mailing list