LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Suse/Novell (http://www.linuxquestions.org/questions/suse-novell-60/)
-   -   postfix - fetchmail - procmail - spamassassin problem (http://www.linuxquestions.org/questions/suse-novell-60/postfix-fetchmail-procmail-spamassassin-problem-546006/)

v1pEr 04-14-2007 09:34 AM

postfix - fetchmail - procmail - spamassassin problem
 
Hi,

First I'll explain what I'm trying to achieve:

As I've got myself a "storage" computer installed, I wanted it to check for new mail on my several accounts on a certain interval and server these mails through POP3.

This way I would be able to check my mails from suse and windows, on both my notebook and PC, without scattering the mails all around on 4 mail clients.

Another good thing would be that I'd have to train a spam filter only once, instead of 4 times on each mail client.

I also wanted to install a webmail application so I could check all my email accounts at once, even from another computer.

After some research I figured I should go with the following setup:
fetchmail
postfix
procmail
spamassassin
squirrelmail

I think I got fetchmail working well (I see no errors anyway) and the messages seem to be downloaded, but postfix seems to reject them :scratch:

mails don't arrive anyway (checked with the 'mail' command) and aren't delivered to my Maildir folder either

I've followed this guide

Can someone please help me find out what's going wrong?

I'm especially curious about what caused this:

Apr 14 15:55:00 annelies postfix/qmgr[3052]: 4A48A11CBD0: removed

If I need to post something else (log, config, command output, ...) I'd happily provide the info.

Thx in advance!

PS: I'm keeping an eye on mail1 with fetchmail and sent a mail from mail2 to mail1



fetchmail -N -d0 -v -f /home/v1per/.fetchmailrc

Code:

fetchmail: warning: multidrop for in.telenet.be requires envelope option!
fetchmail: warning: Do not ask for support if all mail goes to postmaster!
fetchmail: 6.3.5 querying in.telenet.be (protocol POP3) at Sat 14 Apr 2007 04:14:21 PM CEST: poll started
Trying to connect to 195.130.137.65/110...connected.
fetchmail: POP3< +OK pop s`maHegdelS
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR not implemented
fetchmail: not implemented
fetchmail: Repoll immediately on email1@telenet.be@pop.telenet.be
Trying to connect to 195.130.137.65/110...connected.
fetchmail: POP3< +OK pop s`maHegdelS
fetchmail: POP3> USER email1@telenet.be
fetchmail: POP3< +OK 1333
fetchmail: POP3> PASS *
fetchmail: POP3< +OK .. welcome
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 2823
1 message for email1@telenet.be at in.telenet.be (2823 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 2823
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK 2823 octets
reading message email1@telenet.be@pop.telenet.be:1 of 1 (2823 octets)
Trying to connect to 127.0.0.1/25...connected.
fetchmail: SMTP< 220 v1per.no-ip.org ESMTP Postfix
fetchmail: SMTP> EHLO annelies.storage
fetchmail: SMTP< 250-v1per.no-ip.org
fetchmail: SMTP< 250-PIPELINING
fetchmail: SMTP< 250-SIZE 10240000
fetchmail: SMTP< 250-VRFY
fetchmail: SMTP< 250-ETRN
fetchmail: SMTP< 250-ENHANCEDSTATUSCODES
fetchmail: SMTP< 250-8BITMIME
fetchmail: SMTP< 250 DSN
fetchmail: SMTP> MAIL FROM:<email2@kahosl.be> SIZE=2823
fetchmail: SMTP< 250 2.1.0 Ok
fetchmail: SMTP> RCPT TO:<email1@telenet.be>
fetchmail: SMTP< 250 2.1.5 Ok
fetchmail: SMTP> DATA
fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>
#***********************************fetchmail: SMTP>. (EOM)
fetchmail: SMTP< 250 2.0.0 Ok: queued as CCD9B11CBD0
 not flushed
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: SMTP> QUIT
fetchmail: SMTP< 221 2.0.0 Bye
fetchmail: 6.3.5 querying in.telenet.be (protocol POP3) at Sat 14 Apr 2007 04:14:23 PM CEST: poll completed
fetchmail: normal termination, status 0



tail -F /var/log/mail

Code:

Apr 14 15:52:32 annelies postfix/scache[4160]: statistics: start interval Apr 14 15:49:10
Apr 14 15:52:32 annelies postfix/scache[4160]: statistics: domain lookup hits=0 miss=1 success=0%
Apr 14 15:52:32 annelies postfix/scache[4160]: statistics: address lookup hits=0 miss=8 success=0%
Apr 14 15:52:32 annelies postfix/scache[4160]: statistics: max simultaneous domains=1 addresses=1 connection=1
Apr 14 15:53:52 annelies pop3d: Connection, ip=[::ffff:192.168.0.100]
Apr 14 15:53:53 annelies pop3d: LOGIN, user=v1per, ip=[::ffff:192.168.0.100]
Apr 14 15:53:53 annelies pop3d: LOGOUT, user=v1per, ip=[::ffff:192.168.0.100], top=0, retr=0, rcvd=12, sent=39, time=0
Apr 14 15:54:58 annelies postfix/smtpd[4364]: connect from localhost[127.0.0.1]
Apr 14 15:54:59 annelies postfix/smtpd[4364]: 4A48A11CBD0: client=localhost[127.0.0.1]
Apr 14 15:54:59 annelies postfix/cleanup[4367]: 4A48A11CBD0: message-id=<CBDC3E7A816886499A9CD81E49274A88B4025A@studmaildmz.kahosl.be>
Apr 14 15:54:59 annelies postfix/smtpd[4364]: disconnect from localhost[127.0.0.1]
Apr 14 15:54:59 annelies postfix/qmgr[3052]: 4A48A11CBD0: from=<email2@kahosl.be>, size=3230, nrcpt=1 (queue active)
Apr 14 15:55:00 annelies postfix/smtp[4368]: 4A48A11CBD0: to=<email1@telenet.be>, relay=smtp.telenet.be[195.130.137.75]:25, delay=1.4, delays=0.74/0.27/0.3/0.06, dsn=2.0.0, status=sent (250 Ok: queued as 797DE418C)
Apr 14 15:55:00 annelies postfix/qmgr[3052]: 4A48A11CBD0: removed


v1pEr 04-15-2007 04:43 AM

http://www.linuxquestions.org/questi....php?p=2711687

Please continue the discussion here, I figured it had nothing to do with SUSE, so it should better have been in the software part, thanks!


All times are GMT -5. The time now is 05:46 AM.