On Fri, Aug 1, 2008 at 9:53 AM, Alexander Wirt <[EMAIL PROTECTED]> wrote:
> Carlos Williams schrieb am Friday, den 01. August 2008:
>
>> On Fri, Aug 1, 2008 at 9:24 AM, Alexander Wirt <[EMAIL PROTECTED]> wrote:
>> > Yes, thats the way we (Debian) recommend to our users. It was just an 
>> > extreme
>> > example and should not be used in practice ;).
>> >
>> > Alex
>>
>> Alex - Is there a guide you recommend for Debian users to integrate
>> Amavisd-new & Postfix? I have Postfix up and running fine however the
>> vast emptiness of the 50-user file is leaving me wondering where to
>> begin and what format to follow. Normally in config files there are
>> templates commented out to guide myself. I am just looking for any
>> guidance in getting the correct and necessary entries for Amavisd to
>> properly interface with Postfix.
> Just from one of my postfix setups:
>
> apu:/etc/amavis/conf.d# cat 50-user
>        use strict;
>
>        #
>        # Place your configuration directives here.  They will override those 
> in
>        # earlier files.
>        #
>        # See /usr/share/doc/amavisd-new/ for documentation and examples of
>        # the directives you can use in this file
>        #
>
>        $sa_tag_level_deflt  = -5;  # add spam info headers if at, or above 
> that
>        level
>        $sa_tag2_level_deflt = 4; # add 'spam detected' headers at that level
>        $sa_kill_level_deflt = 10000; # triggers spam evasive actions
>        $sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not 
> sent
>
>        $forward_method = 'smtp:[127.0.0.1]:10025';
>        $notify_method = $forward_method;
>
>        $virus_admin = '[EMAIL PROTECTED]'; # due to D_DISCARD default
>
>        #inform recipients about a blocked mail
>        $warnbannedrecip = 1;
>        $warnvirusrecip = 1;
>
>        $final_banned_destiny     = D_PASS;
>
>        $log_level = 2;            # (defaults to 0), -d
>
>        #------------ Do not modify anything below this line -------------
>        1;  # insure a defined return
>
>
> And for postfix you need the following:
>
> in master.cf add the following lines:
>
>        smtp-amavis unix -      -       y     -       2  smtp
>            -o smtp_data_done_timeout=1200
>            -o smtp_send_xforward_command=yes
>            -o disable_dns_lookups=yes
>            -o max_use=20
>
>        127.0.0.1:10025 inet n  -       y     -       -  smtpd
>            -o content_filter=
>            -o local_recipient_maps=
>            -o relay_recipient_maps=
>            -o smtpd_restriction_classes=
>            -o header_checks=
>            -o smtpd_delay_reject=no
>            -o smtpd_client_restrictions=permit_mynetworks,reject
>            -o smtpd_helo_restrictions=
>            -o smtpd_sender_restrictions=
>            -o smtpd_recipient_restrictions=permit_mynetworks,reject
>            -o smtpd_data_restrictions=reject_unauth_pipelining
>            -o smtpd_end_of_data_restrictions=
>            -o mynetworks=127.0.0.0/8
>            -o smtpd_error_sleep_time=0
>            -o smtpd_soft_error_limit=1001
>            -o smtpd_hard_error_limit=1000
>            -o smtpd_client_connection_count_limit=0
>            -o smtpd_client_connection_rate_limit=0
>            -o 
> receive_override_options=no_header_body_checks,no_unknown_recipient_checks
>
> And to get it working add the following to your main.cf:
>
>        #use amavis as configfilter
>        content_filter=smtp-amavis:[127.0.0.1]:10024
>
> Thats all.

Alex, I followed everything you noted above and restarted both Postfix
and Amavisd with no errors. I then attempted to send and receive
emails with no problems. I have not set up a Imap daemon yet so I am
checking mail straight from my email server using mutt -f
/var/spool/mail/user. My question is how do I know Amavis is working?
I mean I know I can send and receive email and I made all the changes
above however I don't know if Amavisd is now configured to work. Maybe
it is not working since I don't have Spamassassin or Clamav installed
yet? Thanks for any info and or help!

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to