🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: de.comm.software.mailserver
7 messages
7 total messages Started by Gerhard Engler Fri, 09 Jan 2004 04:28
procmail geht nicht
#16
Author: Gerhard Engler
Date: Fri, 09 Jan 2004 04:28
110 lines
4322 bytes
Hallo Newsgroup,

ich k�mpfe nun schon den ganzen Feiertag mit dem gleichen Problem:

Meine Mails sollen folgenden Weg gehen Postfix -> procmail -> cyrus-imapd.

Leider kommen Sie nicht in den imap-Postf�chern an. Wenn ich procmail
herauslasse geht alles hervorragend (also mit mailbox_transport = cyrus
in der main.cf).

In der /var/log/procmail.log landet leider gar nichts.

Hat jemand eine Idee?

Vielen Dank!


Nach einer Anleitung (http://www.daniel-lewin.de) sehen meine
Konfigurationsdateien folgenderma�en aus:

/etc/postfix/main.conf ========================================

command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no
append_dot_mydomain = no
myhostname = gustav.duck
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = gustav.duck, gustav, localhost.duck, localhost
relayhost = mail.gmx.net
mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24, 192.168.1.3.0/24
mailbox_transport = procmail
mailbox_size_limit = 0
recipient_delimiter =
mail_owner = postfix
default_transport = smtp
canonical_maps = hash:/etc/postfix/canonical
luser_relay = administrator@gustav.duck


/etc/postfix/master.cf ===========================================

smtp   inet n - - - - smtpd
#628   inet n - - - - qmqpd
pickup   fifo n - - 60 1 pickup
cleanup   unix n - - - 0 cleanup
qmgr   fifo n - - 300 1 qmgr
#qmgr   fifo n - - 300 1 nqmgr
rewrite   unix - - - - - trivial-rewrite
bounce   unix - - - - 0 bounce
defer   unix - - - - 0 bounce
flush   unix n - - 1000? 0 flush
smtp   unix - - - - - smtp
showq     unix n - - - - showq
error     unix - - - - - error
local   unix - n n - - local
virtual   unix - n n - - virtual
lmtp   unix - - n - - lmtp
cyrus   unix - n n - - pipe
   flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
procmail  unix - n n - - pipe
   flags=R user=mail argv=/usr/bin/procmail -t -m USER=${user}
EXTENSION=${extension} /etc/procmail/procmailrc
uucp   unix - n n - - pipe
   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail    unix  -       n       n       -       -       pipe
   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
   flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop
-f$sender $recipient
scalemail-backend unix - n n - 2 pipe
   flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}


/etc/procmail/procmailrc =============================================


LOGFILE="/var/log/procmail.log"
VERBOSE=on
DELIVERMAIL="/usr/sbin/cyrdeliver"
INBOX="$DELIVERMAIL -e -a $USER -q -m user.$USER"
SPAM="$INBOX.Spam"

# --- From-Zeile l�schen, ---
# --- sonst funktioniert cydeliver nicht !! ---
:0fw
| formail -f -I "From "

# --- in Ordner sortieren ---
:0w
* ^X-Spam-Check: Spam
| $SPAM

# --- wenn noch nichtzugestellt, an INBOX zustellen --
:0w
| $INBOX

# --- und Schluss ---
:0w
{
EXITCODE=$?
HOST
}
Re: procmail geht nicht
#17
Author: Michael Niemetz
Date: Fri, 09 Jan 2004 05:43
38 lines
2294 bytes
Gerhard Engler schrieb:

> 
> Nach einer Anleitung (http://www.daniel-lewin.de) sehen meine
> Konfigurationsdateien folgenderma�en aus:
> 
> /etc/postfix/main.conf ========================================
> 
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> program_directory = /usr/lib/postfix
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> setgid_group = postdrop
> biff = no
> append_dot_mydomain = no
> myhostname = gustav.duck
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = gustav.duck, gustav, localhost.duck, localhost
> relayhost = mail.gmx.net
> mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24, 192.168.1.3.0/24
> mailbox_transport = procmail
> mailbox_size_limit = 0
> recipient_delimiter =
> mail_owner = postfix
> default_transport = smtp
> canonical_maps = hash:/etc/postfix/canonical
> luser_relay = administrator@gustav.duck
> 
In meiner main.cf habe ich diese Zeilen:

mailbox_transport = cyrus
mailbox_command = /usr/bin/procmail -t -a $EXTENSION

-- 
read U
            Michael
Re: procmail geht nicht
#18
Author: Maurer Richard
Date: Fri, 09 Jan 2004 07:19
27 lines
2204 bytes
Gerhard Engler wrote:

> Nach einer Anleitung (http://www.daniel-lewin.de) sehen meine
> Konfigurationsdateien folgenderma�en aus:
> 
> /etc/postfix/main.conf ========================================
> 
> command_directory = /usr/sbin
> daemon_directory = /usr/lib/postfix
> program_directory = /usr/lib/postfix
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> setgid_group = postdrop
> biff = no
> append_dot_mydomain = no
> myhostname = gustav.duck
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = gustav.duck, gustav, localhost.duck, localhost
> relayhost = mail.gmx.net
> mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24, 192.168.1.3.0/24
 

Nur weils mir auff�llt... 192.168.1.3.0/24 ??
Ist das korrekt?

Lg Richie
Re: procmail geht nicht
#14
Author: Wolfgang M. Weyand
Date: Fri, 09 Jan 2004 16:41
21 lines
2443 bytes
Maurer Richard wrote:

>> mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24, 192.168.1.3.0/24
                             ^^^^^^^^^^^

> Nur weils mir auff�llt... 192.168.1.3.0/24 ??
                            ^^^^^^^^^^^^^
> Ist das korrekt?

Soll das eine Trickfrage sein? 

1. 192.168.1.3.0 ist nat�rlich keine
   g�ltige IP-Adresse.
 
2. Du plenkst.

Ansonsten informiere Dich �ber CIDR.

<9309100710.aa02108@IETF.CNRI.Reston.VA.US>
-- 
This sig intentionally left blank 
Re: procmail geht nicht
#15
Author: Matthias Andree
Date: Fri, 09 Jan 2004 17:44
22 lines
1977 bytes
"Gerhard Engler" <gerhard.engler@gmx.de> writes:

> Hallo Newsgroup,
>
> ich k�mpfe nun schon den ganzen Feiertag mit dem gleichen Problem:
>
> Meine Mails sollen folgenden Weg gehen Postfix -> procmail -> cyrus-imapd.
>
> Leider kommen Sie nicht in den imap-Postf�chern an. Wenn ich procmail
> herauslasse geht alles hervorragend (also mit mailbox_transport = cyrus
> in der main.cf).
>
> In der /var/log/procmail.log landet leider gar nichts.

Permissions falsch?

Ansonsten ist die Standardantwort: maildrop nehmen statt procmail.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95
solved - Re: procmail geht nicht
#9
Author: Gerhard Engler
Date: Sun, 11 Jan 2004 14:44
10 lines
1451 bytes
Hallo Newsgroup,

vielen Dank allen, die geantwortet haben.

Mein Fehler war, da� die procmailrc nicht weltweit lesbar sein darf.

Danke!


Gerhard
Re: procmail geht nicht
#8
Author: Medizinisch-holographisches Notf...
Date: Mon, 12 Jan 2004 16:34
12 lines
1464 bytes
"Wolfgang M. Weyand" <nospam@motzarella.ath.cx> wrote in message news:<87u135nkfl.fsf@mehlwurm.magic-wolf.de>...

> 2. Du plenkst.

-- 
Sie haben das medizinisch-holographische Notfallprogramm des Usenets
aktiviert. Bitte spezifizieren Sie die Art des medizinischen
Notfalls.

War irgendwas nicht lesbar?

MHN-1
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads