Likes Likes:  0
Resultaten 1 tot 15 van de 33
Pagina 1 van de 3 1 2 3 LaatsteLaatste
Geen
  1. #1
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Sebastiaan Stok
    2.468 Berichten
    Ingeschreven
    20/12/04

    Locatie
    Rotterdam

    Post Thanks / Like
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    86 Berichten zijn liked


    Naam: Sebastiaan Stok

    Thread Starter

    Angry Postfix & Spamasign (JA MAAR HOE DAN!!)

    Ik word de laaste tijd echt gek van die spam, dus heb ik besloten spam assign maar in te gaan stellen.
    Maar toen moest hij samen werken met posftix

    Nu heb ik op de webites van spamassign zelf deze handlijng gevonden
    http://www.geekly.com/entries/archives/00000155.htm

    Helemaal uitgevoerd, en ja hoor het werkt weer is niet

    Uiteindelijk komt de email terug, omdat hij het maxiaal aantal hops van 25 heeft overscheven.
    Dus nog werkt het niet

    Wat ik dus wil, is gewoon dat spam assing die email controlleerd volgens de voorwaardes.
    En de email word ontvangen door posftix.

    Zo ziet /etc/posftix/master.cf er uit als ik die insteling heb aan gepast.
    Code:
    #
    # Postfix master process configuration file.  Each line describes how
    # a mailer component program should be run. The fields that make up
    # each line are described below. A "-" field value requests that a
    # default value be used for that field.
    #
    # Service: any name that is valid for the specified transport type
    # (the next field).  With INET transports, a service is specified as
    # host:port.  The host part (and colon) may be omitted. Either host
    # or port may be given in symbolic form or in numeric form. Examples
    # for the SMTP server:  localhost:smtp receives mail via the loopback
    # interface only; 10025 receives mail on port 10025.
    #
    # Transport type: "inet" for Internet sockets, "unix" for UNIX-domain
    # sockets, "fifo" for named pipes.
    #
    # Private: whether or not access is restricted to the mail system.
    # Default is private service.  Internet (inet) sockets can't be private.
    #
    # Unprivileged: whether the service runs with root privileges or as
    # the owner of the Postfix system (the owner name is controlled by the
    # mail_owner configuration variable in the main.cf file).
    #
    # Chroot: whether or not the service runs chrooted to the mail queue
    # directory (pathname is controlled by the queue_directory configuration
    # variable in the main.cf file). Presently, all Postfix daemons can run
    # chrooted, except for the pipe, virtual and local delivery daemons.
    # The files in the examples/chroot-setup subdirectory describe how
    # to set up a Postfix chroot environment for your type of machine.
    #
    # Wakeup time: automatically wake up the named service after the
    # specified number of seconds. A ? at the end of the wakeup time
    # field requests that wake up events be sent only to services that
    # are actually being used.  Specify 0 for no wakeup. Presently, only
    # the pickup, queue manager and flush daemons need a wakeup timer.
    #
    # Max procs: the maximum number of processes that may execute this
    # service simultaneously. Default is to use a globally configurable
    # limit (the default_process_limit configuration parameter in main.cf).
    # Specify 0 for no process count limit.
    #
    # Command + args: the command to be executed. The command name is
    # relative to the Postfix program directory (pathname is controlled by
    # the program_directory configuration variable). Adding one or more
    # -v options turns on verbose logging for that service; adding a -D
    # option enables symbolic debugging (see the debugger_command variable
    # in the main.cf configuration file). See individual command man pages
    # for specific command-line options, if any.
    #
    # In order to use the "uucp" message tranport below, set up entries
    # in the transport table.
    #
    # In order to use the "cyrus" message transport below, configure it
    # in main.cf as the mailbox_transport.
    #
    # SPECIFY ONLY PROGRAMS THAT ARE WRITTEN TO RUN AS POSTFIX DAEMONS.
    # ALL DAEMONS SPECIFIED HERE MUST SPEAK A POSTFIX-INTERNAL PROTOCOL.
    #
    # DO NOT CHANGE THE ZERO PROCESS LIMIT FOR CLEANUP/BOUNCE/DEFER OR
    # POSTFIX WILL BECOME STUCK UP UNDER HEAVY LOAD
    #
    # DO NOT CHANGE THE ONE PROCESS LIMIT FOR PICKUP/QMGR OR POSTFIX WILL
    # DELIVER MAIL MULTIPLE TIMES.
    #
    # DO NOT SHARE THE POSTFIX QUEUE BETWEEN MULTIPLE POSTFIX INSTANCES.
    #
    # ==========================================================================
    # service type	private	unpriv	chroot	wakeup	maxproc	command + args
    # 		(yes)	(yes)	(yes)	(never)	(50)
    # ==========================================================================
    
    # SPAM filter.
    #---------------------------
    smtp inet  n - n - - smtpd
    	-o content_filter=spamfilter:
    
    # Was er eerst !
    #smtp	inet	n	-	y	-	-	smtpd 
    
    
    #smtps	  inet	n	-	n	-	-	smtpd
    #  -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
    #submission	inet	n	-	n	-	-	smtpd
    #  -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
    #628	  inet	n	-	n	-	-	qmqpd
    pickup	fifo	n	-	y	60	1	pickup
    cleanup	unix	n	-	y	-	0	cleanup
    #qmgr	  fifo	n	-	n	300	1	qmgr
    qmgr	fifo	n	-	y	300	1	nqmgr
    #tlsmgr	  fifo	-	-	n	300	1	tlsmgr
    rewrite	unix	-	-	y	-	-	trivial-rewrite
    bounce	unix	-	-	y	-	0	bounce
    defer	unix	-	-	y	-	0	bounce
    flush	unix	n	-	y	1000?	0	flush
    smtp	unix	-	-	y	-	-	smtp
    showq	unix	n	-	y	-	-	showq
    error	unix	-	-	y	-	-	error
    local	  unix	-	n	n	-	-	local
    virtual	unix	-	n	y	-	-	virtual
    lmtp	unix	-	-	y	-	-	lmtp
    #
    # Interfaces to non-Postfix software. Be sure to examine the manual
    # pages of the non-Postfix software to find out what options it wants.
    # The Cyrus deliver program has changed incompatibly.
    #
    cyrus	  unix	-	n	n	-	-	pipe
      flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
    uucp	  unix	-	n	n	-	-	pipe
      flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail.postfix ($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=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
    
    # SPAM filter.
    spamfilter unix  - n n - - pipe
      flags=Rq user=spamfilter argv=/usr/bin/postfixfilter -f ${sender} -- ${recipient}
    Als iemand weet hoe ik dit nu wel moet instellen wil ik het graag zo snel mogelijk weten

    Met vriendelijke groet,

    Sebastiaan Stok.
    Park The Hosting Manager - your friend in hosting software

  2. #2
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    geregistreerd gebruiker
    1.072 Berichten
    Ingeschreven
    14/04/03

    Locatie
    Amsterdam

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1 Berichten zijn liked


    Registrar SIDN: Nee
    KvK nummer: 34213101
    Ondernemingsnummer: nvt

    Je kan de zaak ook filteren via .procmail

    in .forward:
    -------knip-------
    |/usr/bin/procmail
    -------knip-------

    in .procmailrc:
    -------knip-------
    LOGFILE=$HOME/procmail.log
    MAILDIR=$HOME/Mail
    DEFAULT=$MAIL

    :0fw: /tmp/$USER.spamassassin.lock
    | spamassassin

    :0 H
    * ^X-Spam-Status: Yes
    $MAILDIR/spam
    -------knip-------

    of bijv. /dev/null ipv $MAILDIR/spam

    Nuja, in die sfeer in ieder geval. De manpages leggen de rest vast wel geduldig uit :-)

  3. #3
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    geregistreerd gebruiker
    79 Berichten
    Ingeschreven
    16/04/04

    Locatie
    Netherlands

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Ja
    KvK nummer: 34204978
    Ondernemingsnummer: nvt

    Ik heb dit zelf gedaan met maildrop omdat ik gebruik maak van mysql voor de emailaccounts.

    Postfix :

    virtual_transport = maildrop

    Maildrop config :

    {
    exception {
    xfilter "/usr/bin/spamassassin"
    }
    }
    LOGNAME=tolower($LOGNAME)

    `test -f "/mailboxes/$LOGNAME/.mailfilter"`
    if ($RETURNCODE != 1)
    {
    include "/mailboxes/$LOGNAME/.mailfilter"
    }

    if (/^X-Spam-Status: Yes/)
    {
    `test -d "/mailboxes/$LOGNAME/.Spam/"`
    if ($RETURNCODE != 1)
    {
    exception {
    to /mailboxes/$LOGNAME/.Spam/
    }
    }
    else
    {
    exception {
    to /mailboxes/$LOGNAME/
    }
    }
    }
    else
    {
    exception {
    to /mailboxes/$LOGNAME/
    }
    }

    Postfix, Mysql, Maildrop, Spamassassin

  4. #4
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Sebastiaan Stok
    2.468 Berichten
    Ingeschreven
    20/12/04

    Locatie
    Rotterdam

    Post Thanks / Like
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    86 Berichten zijn liked


    Naam: Sebastiaan Stok

    Thread Starter
    Kan het niet zijn dat ik iets verkeerd heb ingesteld bij Spamassign zelf ?
    Park The Hosting Manager - your friend in hosting software

  5. #5
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Wicked and Insane :-)
    860 Berichten
    Ingeschreven
    21/01/03

    Locatie
    Regio Eindhoven

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Ja
    KvK nummer: Ja
    Ondernemingsnummer: -

    main.cf:

    content_filter = smtp-amavis:[127.0.0.1]:10024

    master.cf:

    smtp-amavis unix - - - - 2 smtp
    -o smtp_data_done_timeout=1200
    -o disable_dns_lookups=yes

    #The amavis reciever
    127.0.0.1:10025 inet n - n - - smtpd
    -o content_filter=
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o smtpd_restriction_classes=
    -o smtpd_client_restrictions=
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,rej ect
    -o mynetworks=127.0.0.0/8
    -o mynetworks_style=host
    -o strict_rfc821_envelopes=yes

    #Stop Postfix from cleaning emails before sending to amavis
    pre-cleanup unix n - n - 0 cleanup
    -o virtual_alias_maps=
    -o canonical_maps=
    -o sender_canonical_maps=
    -o recipient_canonical_maps=
    -o masquerade_domains=

    #Regular messsages can get cleaned up
    cleanup unix n - n - 0 cleanup
    -o mime_header_checks=
    -o nested_header_checks=
    -o body_checks=
    -o header_checks=

    smtp inet n - n - - smtpd
    -o cleanup_service_name=pre-cleanup

    pickup fifo n - n 60 1 pickup
    -o cleanup_service_name=pre-cleanup


    En via amavis kun je spamassing integreren, en eventueel clamav of fprot antivirus.

  6. #6
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Sebastiaan Stok
    2.468 Berichten
    Ingeschreven
    20/12/04

    Locatie
    Rotterdam

    Post Thanks / Like
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    86 Berichten zijn liked


    Naam: Sebastiaan Stok

    Thread Starter
    Met dat amavis Wil de mail server gewoon simpel weg niet meer draaien

    Als ik postfix reload dan krijg ik dit!
    Code:
    [root@server root]# postfix reload
    postfix/postfix-script: fatal: the Postfix mail system is not running
    Park The Hosting Manager - your friend in hosting software

  7. #7
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Wicked and Insane :-)
    860 Berichten
    Ingeschreven
    21/01/03

    Locatie
    Regio Eindhoven

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Ja
    KvK nummer: Ja
    Ondernemingsnummer: -

    Kan je eens de laatste regels van je logfile posten?
    Wellicht kan ik daar wat vinden..

  8. #8
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Wicked and Insane :-)
    860 Berichten
    Ingeschreven
    21/01/03

    Locatie
    Regio Eindhoven

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Ja
    KvK nummer: Ja
    Ondernemingsnummer: -

    Origineel geplaatst door jgrusewski
    Ik heb dit zelf gedaan met maildrop omdat ik gebruik maak van mysql voor de emailaccounts.
    Postfix kan trouwens prima met MySQL werken.
    Courier-imap ook (dan heb je geen maildrop nodig opzich).
    Zo ook amavis

  9. #9
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Sebastiaan Stok
    2.468 Berichten
    Ingeschreven
    20/12/04

    Locatie
    Rotterdam

    Post Thanks / Like
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    86 Berichten zijn liked


    Naam: Sebastiaan Stok

    Thread Starter
    Dat kan ik ja, nog geen tijd voor gehad om voledig te testen.

    Ik zelf werk met postgresql, dus is iets moelijker vinden.

    Zo wie zo ga ik proberen in de toekomst een eigen mail drop te maken.
    Dan hoef je niet steeds een nieuwe gebruiker aan te maken voor een mailbox.
    En ik bepaalde dingen makelijker instellen Maar dat is voor latere zorg.

    Edit: Terug te komen op mijn probleem, met die handlijding die toon geeft werkt het niet
    Laatst gewijzigd door SebastiaanStok; 20/05/05 om 12:05.
    Park The Hosting Manager - your friend in hosting software

  10. #10
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Wicked and Insane :-)
    860 Berichten
    Ingeschreven
    21/01/03

    Locatie
    Regio Eindhoven

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Ja
    KvK nummer: Ja
    Ondernemingsnummer: -

    Je hoeft dat ook niet.
    Als postfix mail ontvangt maakt hij de Maildir automatisch in.

    Je kunt dmv een scriptje gewoon het domein enkel aan te maken in de /var/spool/postfix/virtual bijv.

  11. #11
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    geregistreerd gebruiker
    1.072 Berichten
    Ingeschreven
    14/04/03

    Locatie
    Amsterdam

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1 Berichten zijn liked


    Registrar SIDN: Nee
    KvK nummer: 34213101
    Ondernemingsnummer: nvt

    Origineel geplaatst door Toon
    Je hoeft dat ook niet.
    Als postfix mail ontvangt maakt hij de Maildir automatisch in.

    Je kunt dmv een scriptje gewoon het domein enkel aan te maken in de /var/spool/postfix/virtual bijv.
    Welke POP3-server gebruikt u daar dan bij Toon?

  12. #12
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Sebastiaan Stok
    2.468 Berichten
    Ingeschreven
    20/12/04

    Locatie
    Rotterdam

    Post Thanks / Like
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    86 Berichten zijn liked


    Naam: Sebastiaan Stok

    Thread Starter
    Ik gebruik Qpopper, met het is zo als ik postfix herlaat.
    Dan hij niet draaien

    Code:
    [root@server root]# postfix reload
    postfix/postfix-script: refreshing the Postfix mail system
    [root@server root]# postfix reload
    postfix/postfix-script: fatal: the Postfix mail system is not running
    [root@server root]#
    Dan kan ik gewoon hem, proberen te starten, en dan weer is hij niet up
    Code:
    [root@server root]# postfix start
    postfix/postfix-script: warning: group or other writable: /etc/postfix/./pop-before-smtp.db
    postfix/postfix-script: warning: /var/spool/postfix/etc/resolv.conf and /etc/resolv.conf differ
    postfix/postfix-script: starting the Postfix mail system
    [root@server root]# postfix reload
    postfix/postfix-script: fatal: the Postfix mail system is not running
    [root@server root]#
    Park The Hosting Manager - your friend in hosting software



  13. #13
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Wicked and Insane :-)
    860 Berichten
    Ingeschreven
    21/01/03

    Locatie
    Regio Eindhoven

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Ja
    KvK nummer: Ja
    Ondernemingsnummer: -

    Origineel geplaatst door Stefan Mensink
    Welke POP3-server gebruikt u daar dan bij Toon?
    http://aleron.dl.sourceforge.net/sou...-3.0.8.tar.bz2
    http://home.raxnet.net/downloads/cou...-updates.patch

  14. #14
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Wicked and Insane :-)
    860 Berichten
    Ingeschreven
    21/01/03

    Locatie
    Regio Eindhoven

    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    0 Berichten zijn liked


    Registrar SIDN: Ja
    KvK nummer: Ja
    Ondernemingsnummer: -

    Rollerscapes:

    Graag even de maillog posten, daar staat meestal meer info in.
    Zoiezo is er iets niet correct met de rechten.

  15. #15
    Postfix & Spamasign (JA MAAR HOE DAN!!)
    Sebastiaan Stok
    2.468 Berichten
    Ingeschreven
    20/12/04

    Locatie
    Rotterdam

    Post Thanks / Like
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    86 Berichten zijn liked


    Naam: Sebastiaan Stok

    Thread Starter
    En de handlijding hoe ik dit moet toe passen ?

    Edit: Ik wil eerst die spam filter aan de praat krijgen
    Dan pas verder gaan kijken naar bijvoorbeeld courier-imap en zo
    Laatst gewijzigd door SebastiaanStok; 20/05/05 om 12:15.
    Park The Hosting Manager - your friend in hosting software

Pagina 1 van de 3 1 2 3 LaatsteLaatste

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2021 Webhostingtalk.nl.
Web Statistics