LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2022, 12:56 AM   #1
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Courier MTA


Just curious : any reason there's no SlackBuild for the Courier mail server at SBo? The various components are there -- Maildrop and Courier IMAP, for example, but not Courier-MTA, which is the mail server itself plus these components.

It's early in the morning here so forgive me if I'm overlooking something obvious.
 
Old 04-14-2022, 01:32 AM   #2
derekn13
Member
 
Registered: Sep 2012
Distribution: Slackware
Posts: 52

Rep: Reputation: 29
I submitted the original slackbuild for courier-imapd (and -authlib and -unicode). I'm using it as an IMAP server with Postfix as MTA.

IIRC, I was using sendmail + courier (many years ago), and switched from sendmail to postfix at some point. The postfix+courier setup has been working great for me, so I haven't had any reason to try courier-mta.

So the short answer is: I have a use for courier-imapd, but not for courier-mta (which, just to be clear, I've never even looked at).
 
1 members found this post helpful.
Old 04-14-2022, 01:55 AM   #3
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Original Poster
Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by derekn13 View Post
I submitted the original slackbuild for courier-imapd (and -authlib and -unicode). I'm using it as an IMAP server with Postfix as MTA.

IIRC, I was using sendmail + courier (many years ago), and switched from sendmail to postfix at some point. The postfix+courier setup has been working great for me, so I haven't had any reason to try courier-mta.

So the short answer is: I have a use for courier-imapd, but not for courier-mta (which, just to be clear, I've never even looked at).
Thank you. I was just curious whether there was a licence or security problem.

I did set up Postfix + Dovecot myself many years ago and I'm about to set up a mail server again. Looking at the options I thought why not have the Courier suite look after everything, from MTA to filtering, auth and IMAP. There's even a Courier mail client for the terminal -- Cone -- and a webmail client too.

I won't mark this Solved yet because I would like to hear from people using the Courier all-in-one solution.

Last edited by Gerard Lally; 04-14-2022 at 02:01 AM.
 
Old 04-15-2022, 02:08 AM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by Gerard Lally View Post
Just curious : any reason there's no SlackBuild for the Courier mail server at SBo? The various components are there -- Maildrop and Courier IMAP, for example, but not Courier-MTA, which is the mail server itself plus these components.
I look after Maildrop and courier-unicode for SBo but this is because on my own setup I use Gmail --> Getmail --> Maildrop --> Mutt --> msmtp --> Gmail. I have had no use for the full setup.
 
1 members found this post helpful.
Old 04-15-2022, 01:40 PM   #5
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Original Poster
Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by andrew.46 View Post
I look after Maildrop and courier-unicode for SBo but this is because on my own setup I use Gmail --> Getmail --> Maildrop --> Mutt --> msmtp --> Gmail. I have had no use for the full setup.
It's interesting to see the different mail workflows people have.

I see you have maildrop but no IMAP server ; does that mean Mutt accesses your maildirs directly, without going through an IMAP server?
 
Old 04-15-2022, 03:55 PM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by Gerard Lally View Post
I see you have maildrop but no IMAP server ; does that mean Mutt accesses your maildirs directly, without going through an IMAP server?
No IMAP at all, I still use POP3 from Gmail. I tried IMAP when it became available through Gmail many years ago and did not like it at all.
 
Old 04-15-2022, 04:33 PM   #7
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Original Poster
Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by andrew.46 View Post
No IMAP at all, I still use POP3 from Gmail. I tried IMAP when it became available through Gmail many years ago and did not like it at all.
Oh I see. But it's getmail doing the POP retrieval from the gmail servers? What I'm trying to get my head around is how Mutt accesses that mail once retrieved -- directly from the maildirs, or is there a local POP server?
 
Old 04-15-2022, 06:34 PM   #8
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by Gerard Lally View Post
Oh I see. But it's getmail doing the POP retrieval from the gmail servers? What I'm trying to get my head around is how Mutt accesses that mail once retrieved -- directly from the maildirs, or is there a local POP server?
So getmail from Gmail, mail is sorted with maildrop and mutt reads directly from either the sorted maildirs or the unsorted mail in the spool. Has worked well here for way over a decade...
 
1 members found this post helpful.
Old 04-16-2022, 02:39 PM   #9
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Original Poster
Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
It's strange that Google returns almost nothing about setting up a mail server using just the components of the Courier suite and nothing else. That could be Google, of course, since they are effectively useless as a search engine these days. DDG threw up a walkthrough from 2011.

I do understand the appeal of Postfix and Dovecot, and set up a mail server using them, but even its home page has a warning that the much vaunted security of Postfix may be compromised as soon as you add third-party components to the chain -- citing Cyrus SASL as an example.

Courier has everything -- MTA, auth, IMAP, filtering. No need to stray outside its own ecosystem.

It's very strange that there are no reports about it in production. I'm truly curious if there's some flaw or security hole or performance shortfall driving admins to other setups.

Mods : perhaps this thread can be moved now to a more appropriate forum, since my Slackware-specific issue has been resolved.

Last edited by Gerard Lally; 04-16-2022 at 02:45 PM.
 
Old 04-19-2022, 07:50 PM   #10
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by Gerard Lally View Post
Courier has everything -- MTA, auth, IMAP, filtering. No need to stray outside its own ecosystem.
Well, I would be happy to give up my piece of the ecosystem if somebody wanted to present the whole package on SBo. But whether there is a need or a desire for such a script might be another question?
 
Old 04-20-2022, 02:55 AM   #11
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,181

Original Poster
Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by andrew.46 View Post
Well, I would be happy to give up my piece of the ecosystem if somebody wanted to present the whole package on SBo. But whether there is a need or a desire for such a script might be another question?
It seems that Dovecot has its own SASL implementation, and its own filtering option -- Sieve. This at least reduces the number of parties involved in the mail chain.

But one of the features of Courier Maildrop that interested me is the possibility -- I think -- of piping a message to a shell command. I'm not sure about this ; if true, I would certainly welcome this feature at the MDA filtering stage. Before the MUA stage, in other words. My cursory glance at the Sieve docs suggests this is not a feature there.

Thanks for your thoughts. One of the triggers for my renewed interest in setting up some sort of mail server was my discovery that the elm client can parse incoming messages for calendar information. I wanted to get something similar working with a modern stack, since elm seems largely abandoned. Email myself reminders, which would be filtered by Maildrop and passed to Dianne Skoll's excellent remind program.
 
Old 04-20-2022, 03:10 AM   #12
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by Gerard Lally View Post
But one of the features of Courier Maildrop that interested me is the possibility -- I think -- of piping a message to a shell command. I'm not sure about this ; if true, I would certainly welcome this feature at the MDA filtering stage. Before the MUA stage, in other words. My cursory glance at the Sieve docs suggests this is not a feature there.
The man page maildropex gives the following:

Code:
Send messages from the auto mailing list to the program 'archive',
using a lock file to make sure that only one instance of the archive
program will be running at the same time:

                if (/^Delivered-To: *auto@domain\.com$/)
                   dotlock "auto.lock" {

                          to "|archive"
                   }
I have never used this but it looks like what you are after...

Last edited by andrew.46; 04-20-2022 at 03:12 AM.
 
2 members found this post helpful.
Old 04-20-2022, 05:21 AM   #13
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
https://doc.dovecot.org/configuratio...s/extprograms/
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Temporary MTA failure on relaying, From MTA() during fwd-connect (No greeting, dt: 1.005 s) kwickcut Ubuntu 2 02-15-2021 01:34 PM
Sendmail is installed as default MTA. How do I switch to Postfix as MTA? virtualpal Linux - Newbie 5 05-11-2009 02:10 AM
MTA alternative or start MTA later? lomix Linux - Software 2 04-17-2008 08:07 AM
Courier MTA as OpenRelay. HELP! theparadigm Linux - Networking 3 11-30-2003 10:55 AM
Using maildrop with Courier MTA LiquidKernel Linux - Software 3 08-05-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration