mailserver / procmail, imap geht nicht

bluesurfer

immer blau
Hallo,

langsam bin ich am verzweifeln.
Ich versuche einen mailserver einzurichten wie es in diesem Howto beschrieben ist:
http://www.bsdforen.de/showthread.php?t=8683

Ich schaffe es einfach nicht dass procmail meine Mails richtig in die imap-ordner legt.
Wenn ich lokal in meinem Netzwerk z.b. von root aus eine mail zu einem user schicke dann liegt in meinem imap-ordner zwar eine datei namens: msg.sheN oder msg.qheN - aber ich kann die in keinem E-Mail Client sehen :zitter:

/var/log/maillog zeigt folgende Fehler an:
Code:
Apr  9 23:22:40 master avgated[1896]: version: AvMailGate-2.0.2-14
Apr  9 23:22:40 master avgated[1896]: configuration file: /etc/avmailgate.conf
Apr  9 23:22:40 master avgated[1896]: library directory:  /usr/lib/AntiVir
Apr  9 23:22:42 master avgated[1896]: addressfilter not active
Apr  9 23:22:42 master avgated[1902]: ready to accept connections on port 10024
Apr  9 23:22:42 master avgatefwd[1903]: version: AvMailGate-2.0.2-14
Apr  9 23:22:42 master avgatefwd[1903]: configuration file: /etc/avmailgate.conf
Apr  9 23:22:42 master avgatefwd[1903]: library directory:  /usr/lib/AntiVir
Apr  9 23:22:42 master avgatefwd[1903]: engine version: 6.30.0.2
Apr  9 23:22:42 master avgatefwd[1903]: vdf version: 6.30.0.3
Apr  9 23:22:42 master avgatefwd[1903]: running in private mode
Apr  9 23:22:43 master postfix/postfix-script: starting the Postfix mail system
Apr  9 23:22:43 master postfix/master[1955]: daemon started -- version 2.1.4
Apr  9 23:22:43 master postfix/qmgr[1960]: 32F9F6158: from=<root@homenet.de>, size=314, nrcpt=1 (queue active)
Apr  9 23:22:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory
Apr  9 23:22:43 master authdaemond.plain: modules="authuserdb", daemons=1
Apr  9 23:22:56 master postfix/smtpd[1977]: connect from localhost[127.0.0.1]
Apr  9 23:22:56 master postfix/smtpd[1977]: EF8D46166: client=localhost[127.0.0.1]
Apr  9 23:22:57 master postfix/cleanup[1980]: EF8D46166: message-id=<42584781.1050805@t-online.de>
Apr  9 23:22:57 master postfix/qmgr[1960]: EF8D46166: from=<tam99@t-online.de>, size=1587, nrcpt=1 (queue active)
Apr  9 23:22:57 master avgated[1982]: connection from localhost
Apr  9 23:22:57 master avgated[1982]: spooled to 01982-7F694538
Apr  9 23:22:57 master avgatefwd[1983]: Message 'incoming/xf-01982-7F694538' scheduled for scanning now.
Apr  9 23:22:57 master avgatefwd[1983]: Scanner will process message 'incoming/qf-01982-7F694538'.
Apr  9 23:22:57 master postfix/smtp[1981]: EF8D46166: to=<root@localhost.homenet.de>, orig_to=<root@localhost>, relay=127.0.0.1[127.0.0.1], delay=1, status=sent (250 Mail accepted for delivery (queued as 01982-7F694538).)
Apr  9 23:22:57 master avgated[1982]: connection to localhost closed
Apr  9 23:22:57 master postfix/qmgr[1960]: EF8D46166: removed
Apr  9 23:22:57 master avgatefwd[1986]: Message 'outgoing/xf-01982-7F694538' scheduled for delivery now.
Apr  9 23:22:57 master postfix/smtpd[1987]: connect from localhost[127.0.0.1]
Apr  9 23:22:57 master postfix/smtpd[1987]: 31A3A6167: client=localhost[127.0.0.1]
Apr  9 23:22:57 master postfix/smtpd[1977]: disconnect from localhost[127.0.0.1]
Apr  9 23:22:57 master postfix/cleanup[1980]: 31A3A6167: message-id=<42584781.1050805@t-online.de>
Apr  9 23:22:57 master avgatefwd[1986]: Message '01982-7F694538' successfully forwarded to: <root@localhost.homenet.de>
Apr  9 23:22:57 master postfix/qmgr[1960]: 31A3A6167: from=<tam99@t-online.de>, size=2033, nrcpt=1 (queue active)
Apr  9 23:22:57 master postfix/smtpd[1987]: disconnect from localhost[127.0.0.1]
Apr  9 23:22:57 master postfix/local[1988]: 31A3A6167: to=<imap@homenet.de>, orig_to=<root@localhost.homenet.de>, relay=local, delay=0, status=sent (delivered to command: /usr/local/bin/procmail /home/imap/.procmailrc)
Apr  9 23:22:57 master postfix/qmgr[1960]: 31A3A6167: removed
Apr  9 23:23:20 master imapd-ssl: LOGIN, user=testpostfach, ip=[::ffff:192.168.1.7], protocol=IMAP
Apr  9 23:23:21 master imapd-ssl: LOGIN, user=testpostfach, ip=[::ffff:192.168.1.7], protocol=IMAP
Apr  9 23:23:27 master imapd-ssl: LOGOUT, user=testpostfach, ip=[::ffff:192.168.1.7], headers=0, body=0
Apr  9 23:23:27 master imapd-ssl: LOGOUT, user=testpostfach, ip=[::ffff:192.168.1.7], headers=0, body=0
Apr  9 23:23:34 master imapd-ssl: couriertls: accept: error:14094412:SSL routines:SSL3_READ_BYTES:sslv3 alert bad certificate
Apr  9 23:23:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory
Apr  9 23:23:48 master imapd-ssl: LOGIN, user=testpostfach, ip=[::ffff:192.168.1.7], protocol=IMAP
Apr  9 23:23:54 master imapd-ssl: LOGIN, user=testpostfach, ip=[::ffff:192.168.1.7], protocol=IMAP
Apr  9 23:24:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory
Apr  9 23:25:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory
Apr  9 23:27:43 master last message repeated 2 times
Apr  9 23:28:42 master imapd-ssl: LOGIN, user=testpostfach, ip=[::ffff:192.168.1.7], protocol=IMAP
Apr  9 23:28:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory
Apr  9 23:29:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory
Apr  9 23:31:43 master last message repeated 2 times
Apr  9 23:38:43 master last message repeated 7 times
Apr  9 23:39:23 master postfix/qmgr[1960]: 69B7D610D: from=<root@homenet.de>, size=307, nrcpt=1 (queue active)
Apr  9 23:39:23 master postfix/qmgr[1960]: 69B7D610D: to=<stefan@homenet.de>, relay=none, delay=1813, status=deferred (delivery temporarily suspended: transport is unavailable)
Apr  9 23:39:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory
Apr  9 23:40:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory

meine .procmailrc :
Code:
LOGFILE=/home/imap/.Procmail/procmail.log

# GMX Hauptadresse

:0
* ^TO.stefan@homenet.de
/home/imap/testpostfach

:0
* ^TO.gmxadresse@gmx.net
/home/imap/testpostfach

Ich bin langsam am verzweifeln, und hoffe hier kann mir jemand helfen :o
 
danke @auge

aber postfix bringt nach wie vor diesen fehler:
Code:
[...]
Apr  9 23:22:43 master postfix/qmgr[1960]: warning: connect to transport smtpd: No such file or directory
[...]

was könnte noch falsch sein bzw. fehlen?
 
ok mach ich:

postconf -n :

Code:
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp:127.0.0.1:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailbox_command = /usr/local/bin/procmail /home/imap/.procmailrc
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = homenet.de
myhostname = master.homenet.de
mynetworks = 192.168.1.0/28, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
unknown_local_recipient_reject_code = 550
 
ok, den fehler konnte ich beheben indem ich /var/spool/postfix gelöscht und neu angelegt habe.
Noch eine andere Frage, zu der ich noch keine konkrete Lösung gefunden habe:
Wie kann ich postfix sagen dass es meine Mails z.B. über mail.gmx.net verschicken soll?
 
Zurück
Oben