Mailinglist Archive: opensuse (882 mails)

< Previous Next >
Re: [opensuse] Confusion about configuring mail server...
  • From: Oddball <monkey9@xxxxxx>
  • Date: Sun, 12 Dec 2010 19:54:44 +0100
  • Message-id: <4D051A74.7040900@xxxxxx>
Op 12-12-10 19:32, Anton Aylward schreef:
Oddball said the following on 12/12/2010 12:47 PM:

Please understand my confusion:
Fetchmail works, i only have to make the command permanent with regular
Procmail is installed, and had prepared maildirs.
How to get the mail that fetchmail stores in /var/mymailbox, to the
maildirs in the /home/maildir/mymailbox?

I think you are terribly confused about the roles of the various
components here and how they pass information from one to another.

'fetchail' should pipe though postfix
postfix should then use procmail for local delivery.
I also use procmail for spam filtering

DO NOT USE 'sendmail'
Postfix is so easy to configure and sendmail is a buqqer!
I say that as someone who has use many mail systems over the last 30 years.

All the details for configuring are in how-tos you can google for.

But remember:

1. Postfix is a MTA - Mail TRANSFER Agent
2. IMAP is a mailbox access tool
3. Procmail is a local delivery rule agent

fetchmail feeds into postfix feeds into procmail feeds into your mailbox

In /etc/postfix/ you want

mailbox_command = /usr/bin/procmail -Y -a $DOMAIN

In your .procmailrc you want

MAILDIR=/$HOME/Maildir/IMAP/ # This is the home of the mail store
DEFAULT=/$HOME/Maildir/INBOX # Inbox substitute: tell where to put
# the mail

You will also have to over-ride the IMAP server's idea of where the
INBOX is, and that will depend on which server you use. Or you could do
it in thunderbird :-)

There are many variations on all of this, but until you are more
experienced I'd strongly advise keeping it simple

As I said there are many good examples on-line if you google for them.
Here is one with explanations:
Here is the one on using spamassassin

I repeat, DO NOT USE sendmail

How nice! ;-)
Thnx Anton,

Now i will be able to get it done, and prepare the place for the
'mailbox' in the storage room.

mailbox_command = /usr/bin/procmail -Y -a $DOMAIN < Do i write this, or
is it something i have to fill in with something?


Enjoy your time around,

Oddball (M9.) (Now or never...)

OS: Linux 2.6.34-12-desktop x86_64
Huidige gebruiker: oddball@AMD64x2sfn1
Systeem: openSUSE 11.3 (x86_64)
KDE: 4.4.4 (KDE 4.4.4) "release 2"

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >