Servidor de email completo com Postfix

Este artigo é uma melhoria do "Postfix + Dovecot + MySQL + Squirrelmail no CentOS 5.5 64 bits". Testado e em produção, em um ambiente Centos 5.5 64 bits. Usaremos os seguintes pacotes: Postfix, MySQL, Dovecot, PostfixAdmin, Spamassassin, Clamav, Squirrelmail, Amavisd.

[ Hits: 101.788 ]

Por: Lucas Possamai em 22/02/2011


Configurando Clamav/Amavisd



Vamos editar o Clamav:

# joe /etc/clamd.conf

### /etc/clamd.conf
#
# Set the LocalSocket for clam
# Note this *MUST* match that set in /etc/amavisd.conf
#
LocalSocket /var/run/clamav/clamd.sock
#
# Comment out the TCPSocket setting:
# TCPSocket 3310

Agora abra o amavisd.conf para realizar a configuração do mesmo:

# joe /etc/amavisd.conf

use strict;
$max_servers = 2;            # num of pre-forked children (2..30 is common), -m
$daemon_user  = "amavis";     # (no default;  customary: vscan or amavis), -u
$daemon_group = "amavis";     # (no default;  customary: vscan or amavis), -g
$mydomain = 'exemplo.com.br';   # a convenient default for other settings
$MYHOME = '/var/amavis';   # a convenient default for other settings, -H
$TEMPBASE = "/var/amavis";   # working directory, needs to exist, -T
$ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR, used by SA, etc.
$QUARANTINEDIR = "/var/virusmails";
$db_home   = "$MYHOME/db";      # dir for bdb nanny/cache/snmp databases, -D
$helpers_home = "$MYHOME/var";  # working directory for SpamAssassin, -S
$lock_file = "$MYHOME/var/amavisd.lock";  # -L
$pid_file  = "$MYHOME/var/amavisd.pid";   # -P
$log_level = 0;              # verbosity 0..5, -d
$log_recip_templ = undef;    # disable by-recipient level-0 log entries
$DO_SYSLOG = 1;              # log via syslogd (preferred)
$syslog_facility = 'mail';   # Syslog facility as a string
           # e.g.: mail, daemon, user, local0, ... local7
$syslog_priority = 'debug';  # Syslog base (minimal) priority as a string,
           # choose from: emerg, alert, crit, err, warning, notice, info, debug
$enable_db = 1;              # enable use of BerkeleyDB/libdb (SNMP and nanny)
$enable_global_cache = 1;    # enable use of libdb-based cache if $enable_db=1
$nanny_details_level = 2;    # nanny verbosity: 1: traditional, 2: detailed
$enable_dkim_verification = 1;  # enable DKIM signatures verification
$enable_dkim_signing = 1;    # load DKIM signing code, keys defined by dkim_key
@local_domains_maps = ( [".$mydomain"] );  # list of all local domains
@mynetworks = qw( 127.0.0.0/8 [::1] [FE80::]/10 [FEC0::]/10
                  172.16.0.0/16 192.168.0.0/16 );
$unix_socketname = "$MYHOME/amavisd.sock";  # amavisd-release or amavis-milter
               # option(s) -p overrides $inet_socket_port and $unix_socketname
$inet_socket_port = 10024;   # listen on this local TCP port(s)
$policy_bank{'MYNETS'} = {   # mail originating from @mynetworks
  originating => 1,  # is true in MYNETS by default, but let's make it explicit
  os_fingerprint_method => undef,  # don't query p0f for internal clients
};
$interface_policy{'10026'} = 'ORIGINATING';
$policy_bank{'ORIGINATING'} = {  # mail supposedly originating from our users
  originating => 1,  # declare that mail was submitted by our smtp client
  allow_disclaimers => 1,  # enables disclaimer insertion if available
  # notify administrator of locally originating malware
  virus_admin_maps => ["virusalert\@$mydomain"],
  spam_admin_maps  => ["virusalert\@$mydomain"],
  warnbadhsender   => 1,
  # forward to a smtpd service providing DKIM signing service
  forward_method => 'smtp:[127.0.0.1]:10027',
  # force MTA conversion to 7-bit (e.g. before DKIM signing)
  smtpd_discard_ehlo_keywords => ['8BITMIME'],
  bypass_banned_checks_maps => [1],  # allow sending any file names and types
  terminate_dsn_on_notify_success => 0,  # don't remove NOTIFY=SUCCESS option
};
$interface_policy{'SOCK'} = 'AM.PDP-SOCK'; # only applies with $unix_socketname
$policy_bank{'AM.PDP-SOCK'} = {
  protocol => 'AM.PDP',
  auth_required_release => 0,  # do not require secret_id for amavisd-release
};
$sa_tag_level_deflt  = 2.0;  # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 6.2;  # add 'spam detected' headers at that level
$sa_kill_level_deflt = 6.9;  # triggers spam evasive actions (e.g. blocks mail)
$sa_dsn_cutoff_level = 10;   # spam level beyond which a DSN is not sent
$sa_crediblefrom_dsn_cutoff_level = 18; # likewise, but for a likely valid From
$penpals_bonus_score = 8;    # (no effect without a @storage_sql_dsn database)
$penpals_threshold_high = $sa_kill_level_deflt;  # don't waste time on hi spam
$bounce_killer_score = 100;  # spam score points to add for joe-jobbed bounces
$sa_mail_body_size_limit = 400*1024; # don't waste time on SA if mail is larger
$sa_local_tests_only = 0;    # only tests which do not require internet access?
$virus_admin               = "virusalert\@$mydomain";  # notifications recip.
$mailfrom_notify_admin     = "virusalert\@$mydomain";  # notifications sender
$mailfrom_notify_recip     = "virusalert\@$mydomain";  # notifications sender
$mailfrom_notify_spamadmin = "spam\@$mydomain"; # notifications sender
$mailfrom_to_quarantine = ''; # null return path; uses original sender if undef
@addr_extension_virus_maps      = ('virus');
@addr_extension_banned_maps     = ('banned');
@addr_extension_spam_maps       = ('spam');
@addr_extension_bad_header_maps = ('badh');
$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
$MAXLEVELS = 14;
$MAXFILES = 1500;
$MIN_EXPANSION_QUOTA =      100*1024;  # bytes  (default undef, not enforced)
$MAX_EXPANSION_QUOTA = 300*1024*1024;  # bytes  (default undef, not enforced)
$sa_spam_subject_tag = '***SPAM*** ';
$defang_virus  = 1;  # MIME-wrap passed infected mail
$defang_banned = 1;  # MIME-wrap passed mail containing banned name
$defang_by_ccat{+CC_BADH.",3"} = 1;  # NUL or CR character in header
$defang_by_ccat{+CC_BADH.",5"} = 1;  # header line longer than 998 characters
$defang_by_ccat{+CC_BADH.",6"} = 1;  # header field syntax error
$myhostname = 'mail.exemplo.com.br';  # must be a fully-qualified domain name!
$final_virus_destiny      = D_DISCARD;
$final_banned_destiny     = D_BOUNCE;
$final_spam_destiny       = D_BOUNCE;
$final_bad_header_destiny = D_PASS;
@keep_decoded_original_maps = (new_RE(
  qr'^MAIL$',   # retain full original message for virus checking
  qr'^MAIL-UNDECIPHERABLE$', # recheck full mail if it contains undecipherables
  qr'^(ASCII(?! cpio)|text|uuencoded|xxencoded|binhex)'i,
));
$banned_filename_re = new_RE(
  qr'^\.(exe-ms|dll)$',                   # banned file(1) types, rudimentary
  [ qr'^\.(rpm|cpio|tar)$'       => 0 ],  # allow any in Unix-type archives
  qr'.\.(pif|scr)$'i,                     # banned extensions - rudimentary
  qr'^application/x-msdownload$'i,        # block these MIME types
  qr'^application/x-msdos-program$'i,
  qr'^application/hta$'i,
  # block certain double extensions in filenames
  qr'\.[^./]*[A-Za-z][^./]*\.\s*(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)[.\s]*$'i,
  qr'.\.(exe|vbs|pif|scr|cpl)$'i,             # banned extension - basic
);
@score_sender_maps = ({ # a by-recipient hash lookup table,
                        # results from all matching recipient tables are summed
  ## site-wide opinions about senders (the '.' matches any recipient)
  '.' => [  # the _first_ matching sender determines the score boost
   new_RE(  # regexp-type lookup table, just happens to be all soft-blacklist
    [qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i         => 5.0],
    [qr'^(greatcasino|investments|lose_weight_today|market\.alert)@'i=> 5.0],
    [qr'^(money2you|MyGreenCard|new\.tld\.registry|opt-out|opt-in)@'i=> 5.0],
    [qr'^(optin|saveonlsmoking2002k|specialoffer|specialoffers)@'i   => 5.0],
    [qr'^(stockalert|stopsnoring|wantsome|workathome|yesitsfree)@'i  => 5.0],
    [qr'^(your_friend|greatoffers)@'i                                => 5.0],
    [qr'^(inkjetplanet|marketopt|MakeMoney)\d*@'i                    => 5.0],
   ),
   { # a hash-type lookup table (associative array)
     'nobody@cert.org'                        => -3.0,
     'cert-advisory@us-cert.gov'              => -3.0,
     'owner-alert@iss.net'                    => -3.0,
     'slashdot@slashdot.org'                  => -3.0,
     'securityfocus.com'                      => -3.0,
     'ntbugtraq@listserv.ntbugtraq.com'       => -3.0,
     'security-alerts@linuxsecurity.com'      => -3.0,
     'mailman-announce-admin@python.org'      => -3.0,
     'amavis-user-admin@lists.sourceforge.net'=> -3.0,
     'amavis-user-bounces@lists.sourceforge.net' => -3.0,
     'spamassassin.apache.org'                => -3.0,
     'notification-return@lists.sophos.com'   => -3.0,
     'owner-postfix-users@postfix.org'        => -3.0,
     'owner-postfix-announce@postfix.org'     => -3.0,
     'owner-sendmail-announce@lists.sendmail.org'   => -3.0,
     'sendmail-announce-request@lists.sendmail.org' => -3.0,
     'donotreply@sendmail.org'                => -3.0,
     'ca+envelope@sendmail.org'               => -3.0,
     'noreply@freshmeat.net'                  => -3.0,
     'owner-technews@postel.acm.org'          => -3.0,
     'ietf-123-owner@loki.ietf.org'           => -3.0,
     'cvs-commits-list-admin@gnome.org'       => -3.0,
     'rt-users-admin@lists.fsck.com'          => -3.0,
     'clp-request@comp.nus.edu.sg'            => -3.0,
     'surveys-errors@lists.nua.ie'            => -3.0,
     'emailnews@genomeweb.com'                => -5.0,
     'yahoo-dev-null@yahoo-inc.com'           => -3.0,
     'returns.groups.yahoo.com'               => -3.0,
     'clusternews@linuxnetworx.com'           => -3.0,
     lc('lvs-users-admin@LinuxVirtualServer.org')    => -3.0,
     lc('owner-textbreakingnews@CNNIMAIL12.CNN.COM') => -5.0,
     # soft-blacklisting (positive score)
     'sender@example.net'                     =>  3.0,
     '.example.net'                           =>  1.0,
   },
  ],  # end of site-wide tables
});
@decoders = (
  ['mail', \&do_mime_decode],
  ['asc',  \&do_ascii],
  ['uue',  \&do_ascii],
  ['hqx',  \&do_ascii],
  ['ync',  \&do_ascii],
  ['F',    \&do_uncompress, ['unfreeze','freeze -d','melt','fcat'] ],
  ['Z',    \&do_uncompress, ['uncompress','gzip -d','zcat'] ],
  ['gz',   \&do_uncompress,  'gzip -d'],
  ['gz',   \&do_gunzip],
  ['bz2',  \&do_uncompress,  'bzip2 -d'],
  ['lzo',  \&do_uncompress,  'lzop -d'],
  ['rpm',  \&do_uncompress, ['rpm2cpio.pl','rpm2cpio'] ],
  ['cpio', \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
  ['tar',  \&do_pax_cpio,   ['pax','gcpio','cpio'] ],
  ['deb',  \&do_ar,          'ar'],
  ['zip',  \&do_unzip],
  ['7z',   \&do_7zip,       ['7zr','7za','7z'] ],
  ['rar',  \&do_unrar,      ['rar','unrar'] ],
  ['arj',  \&do_unarj,      ['arj','unarj'] ],
  ['arc',  \&do_arc,        ['nomarch','arc'] ],
  ['zoo',  \&do_zoo,        ['zoo','unzoo'] ],
  ['lha',  \&do_lha,         'lha'],
  ['cab',  \&do_cabextract,  'cabextract'],
  ['tnef', \&do_tnef_ext,    'tnef'],
  ['tnef', \&do_tnef],
  ['exe',  \&do_executable, ['rar','unrar'], 'lha', ['arj','unarj'] ],
);
@av_scanners = (
['ClamAV-clamd',
\&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd.sock"],
qr/\bOK$/m, qr/\bFOUND$/m,
qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],
  ### http://www.kaspersky.com/  (kav4mailservers)
  ['KasperskyLab AVP - aveclient',
    ['/usr/local/kav/bin/aveclient','/usr/local/share/kav/bin/aveclient',
     '/opt/kav/5.5/kav4mailservers/bin/aveclient','aveclient'],
    '-p /var/run/aveserver -s {}/*',
    [0,3,6,8], qr/\b(INFECTED|SUSPICION|SUSPICIOUS)\b/m,
    qr/(?:INFECTED|WARNING|SUSPICION|SUSPICIOUS) (.+)/m,
  ],
  # NOTE: one may prefer [0],[2,3,4,5], depending on how suspicious,
  # currupted or protected archives are to be handled
  ### http://www.kaspersky.com/
  ['KasperskyLab AntiViral Toolkit Pro (AVP)', ['avp'],
    '-* -P -B -Y -O- {}', [0,3,6,8], [2,4],    # any use for -A -K   ?
    qr/infected: (.+)/m,
    sub {chdir('/opt/AVP') or die "Can't chdir to AVP: $!"},
    sub {chdir($TEMPBASE) or die "Can't chdir back to $TEMPBASE $!"},
  ],
  ### The kavdaemon and AVPDaemonClient have been removed from Kasperky
  ### products and replaced by aveserver and aveclient
  ['KasperskyLab AVPDaemonClient',
    [ '/opt/AVP/kavdaemon',       'kavdaemon',
      '/opt/AVP/AvpDaemonClient', 'AvpDaemonClient',
      '/opt/AVP/AvpTeamDream',    'AvpTeamDream',
      '/opt/AVP/avpdc', 'avpdc' ],
    "-f=$TEMPBASE {}", [0,8], [3,4,5,6], qr/infected: ([^\r\n]+)/m ],
    # change the startup-script in /etc/init.d/kavd to:
    #   DPARMS="-* -Y -dl -f=/var/amavis /var/amavis"
    #   (or perhaps:   DPARMS="-I0 -Y -* /var/amavis" )
    # adjusting /var/amavis above to match your $TEMPBASE.
    # The '-f=/var/amavis' is needed if not running it as root, so it
    # can find, read, and write its pid file, etc., see 'man kavdaemon'.
    # defUnix.prf: there must be an entry "*/var/amavis" (or whatever
    #   directory $TEMPBASE specifies) in the 'Names=' section.
    # cd /opt/AVP/DaemonClients; configure; cd Sample; make
    # cp AvpDaemonClient /opt/AVP/
    # su - vscan -c "${PREFIX}/kavdaemon ${DPARMS}"
  ### http://www.centralcommand.com/
  ['CentralCommand Vexira (new) vascan',
    ['vascan','/usr/lib/Vexira/vascan'],
    "-a s --timeout=60 --temp=$TEMPBASE -y $QUARANTINEDIR ".
    "--log=/var/log/vascan.log {}",
    [0,3], [1,2,5],
    qr/(?x)^\s* (?:virus|iworm|macro|mutant|sequence|trojan)\ found:\ ( [^\]\s']+ )\ \.\.\.\ /m ],
    # Adjust the path of the binary and the virus database as needed.
    # 'vascan' does not allow to have the temp directory to be the same as
    # the quarantine directory, and the quarantine option can not be disabled.
    # If $QUARANTINEDIR is not used, then another directory must be specified
    # to appease 'vascan'. Move status 3 to the second list if password
    # protected files are to be considered infected.
  ### http://www.avira.com/
  ### Avira AntiVir (formerly H+BEDV) or (old) CentralCommand Vexira Antivirus
  ['Avira AntiVir', ['antivir','vexira'],
    '--allfiles -noboot -nombr -rs -s -z {}', [0], qr/ALERT:|VIRUS:/m,
    qr/(?x)^\s* (?: ALERT: \s* (?: \[ | [^']* ' ) |
         (?i) VIRUS:\ .*?\ virus\ '?) ( [^\]\s']+ )/m ],
    # NOTE: if you only have a demo version, remove -z and add 214, as in:
    #  '--allfiles -noboot -nombr -rs -s {}', [0,214], qr/ALERT:|VIRUS:/,
  ### http://www.commandsoftware.com/
  ['Command AntiVirus for Linux', 'csav',
    '-all -archive -packed {}', [50], [51,52,53],
    qr/Infection: (.+)/m ],
  ### http://www.symantec.com/
  ['Symantec CarrierScan via Symantec CommandLineScanner',
    'cscmdline', '-a scan -i 1 -v -s 127.0.0.1:7777 {}',
    qr/^Files Infected:\s+0$/m, qr/^Infected\b/m,
    qr/^(?:Info|Virus Name):\s+(.+)/m ],
  ### http://www.symantec.com/
  ['Symantec AntiVirus Scan Engine',
    'savsecls', '-server 127.0.0.1:7777 -mode scanrepair -details -verbose {}',
    [0], qr/^Infected\b/m,
    qr/^(?:Info|Virus Name):\s+(.+)/m ],
    # NOTE: check options and patterns to see which entry better applies
  ### http://www.f-secure.com/products/anti-virus/  version 5.52
   ['F-Secure Antivirus for Linux servers',
    ['/opt/f-secure/fsav/bin/fsav', 'fsav'],
    '--virus-action1=report --archive=yes --auto=yes '.
    '--dumb=yes --list=no --mime=yes {}', [0], [3,4,6,8],
    qr/(?:infection|Infected|Suspected|Riskware): (.+)/m ],
    # NOTE: internal archive handling may be switched off by '--archive=no'
    #   to prevent fsav from exiting with status 9 on broken archives
  ['CAI InoculateIT', 'inocucmd',  # retired product
    '-sec -nex {}', [0], [100],
    qr/was infected by virus (.+)/m ],
  # see: http://www.flatmtn.com/computer/Linux-Antivirus_CAI.html
  ### http://www3.ca.com/Solutions/Product.asp?ID=156  (ex InoculateIT)
  ['CAI eTrust Antivirus', 'etrust-wrapper',
    '-arc -nex -spm h {}', [0], [101],
    qr/is infected by virus: (.+)/m ],
    # NOTE: requires suid wrapper around inocmd32; consider flag: -mod reviewer
    # see http://marc.theaimsgroup.com/?l=amavis-user&m=109229779912783
  ### http://mks.com.pl/english.html
  ['MkS_Vir for Linux (beta)', ['mks32','mks'],
    '-s {}/*', [0], [1,2],
    qr/--[ \t]*(.+)/m ],
  ### http://mks.com.pl/english.html
  ['MkS_Vir daemon', 'mksscan',
    '-s -q {}', [0], [1..7],
    qr/^... (\S+)/m ],
  ### http://www.eset.com/, version 3.0
  ['ESET Software ESETS Command Line Interface',
    ['/usr/bin/esets_cli', 'esets_cli'],
    '--subdir {}', [0], [1,2,3],
    qr/:\s*action="(?!accepted)[^"]*"\n.*:\s*virus="([^"]*)"/m ],
  ## http://www.nod32.com/,  NOD32LFS version 2.5 and above
  ['ESET NOD32 for Linux File servers',
    ['/opt/eset/nod32/sbin/nod32','nod32'],
    '--files -z --mail --sfx --rtp --adware --unsafe --pattern --heur '.
    '-w -a --action=1 -b {}',
    [0], [1,10], qr/^object=.*, virus="(.*?)",/m ],
  ### http://www.norman.com/products_nvc.shtml
  ['Norman Virus Control v5 / Linux', 'nvcc',
    '-c -l:0 -s -u -temp:$TEMPBASE {}', [0,10,11], [1,2,14],
    qr/(?i).* virus in .* -> \'(.+)\'/m ],
  ### http://www.pandasoftware.com/
  ['Panda CommandLineSecure 9 for Linux',
    ['/opt/pavcl/usr/bin/pavcl','pavcl'],
    '-auto -aex -heu -cmp -nbr -nor -nos -eng -nob {}',
    qr/Number of files infected[ .]*: 0+(?!\d)/m,
    qr/Number of files infected[ .]*: 0*[1-9]/m,
    qr/Found virus :\s*(\S+)/m ],
  # NOTE: for efficiency, start the Panda in resident mode with 'pavcl -tsr'
  # before starting amavisd - the bases are then loaded only once at startup.
  # To reload bases in a signature update script:
  #   /opt/pavcl/usr/bin/pavcl -tsr -ulr; /opt/pavcl/usr/bin/pavcl -tsr
  # Please review other options of pavcl, for example:
  #  -nomalw, -nojoke, -nodial, -nohackt, -nospyw, -nocookies
  ### http://www.nai.com/
  ['NAI McAfee AntiVirus (uvscan)', 'uvscan',
    '--secure -rv --mime --summary --noboot - {}', [0], [13],
    qr/(?x) Found (?:
        \ the\ (.+)\ (?:virus|trojan)  |
        \ (?:virus|trojan)\ or\ variant\ ([^ ]+)  |
        :\ (.+)\ NOT\ a\ virus)/m,
  # sub {$ENV{LD_PRELOAD}='/lib/libc.so.6'},
  # sub {delete $ENV{LD_PRELOAD}},
  ],
  # NOTE1: with RH9: force the dynamic linker to look at /lib/libc.so.6 before
  # anything else by setting environment variable LD_PRELOAD=/lib/libc.so.6
  # and then clear it when finished to avoid confusing anything else.
  # NOTE2: to treat encrypted files as viruses replace the [13] with:
  #  qr/^\s{5,}(Found|is password-protected|.*(virus|trojan))/
  ### http://www.virusbuster.hu/en/
  ['VirusBuster', ['vbuster', 'vbengcl'],
    "{} -ss -i '*' -log=$MYHOME/vbuster.log", [0], [1],
    qr/: '(.*)' - Virus/m ],
  # VirusBuster Ltd. does not support the daemon version for the workstation
  # engine (vbuster-eng-1.12-linux-i386-libc6.tgz) any longer. The names of
  # binaries, some parameters AND return codes have changed (from 3 to 1).
  # See also the new Vexira entry 'vascan' which is possibly related.
  ### http://www.cyber.com/
  ['CyberSoft VFind', 'vfind',
    '--vexit {}/*', [0], [23], qr/##==>>>> VIRUS ID: CVDL (.+)/m,
  # sub {$ENV{VSTK_HOME}='/usr/lib/vstk'},
  ],
  ### http://www.avast.com/
  ['avast! Antivirus', ['/usr/bin/avastcmd','avastcmd'],
    '-a -i -n -t=A {}', [0], [1], qr/\binfected by:\s+([^ \t\n\[\]]+)/m ],
  ### http://www.ikarus-software.com/
  ['Ikarus AntiVirus for Linux', 'ikarus',
    '{}', [0], [40], qr/Signature (.+) found/m ],
  ### http://www.bitdefender.com/
  ['BitDefender', 'bdscan',  # new version
    '--action=ignore --no-list {}', qr/^Infected files\s*:\s*0+(?!\d)/m,
    qr/^(?:Infected files|Identified viruses|Suspect files)\s*:\s*0*[1-9]/m,
    qr/(?:suspected|infected)\s*:\s*(.*)(?:\033|$)/m ],
  ### http://www.bitdefender.com/
  ['BitDefender', 'bdc',  # old version
    '--arc --mail {}', qr/^Infected files *:0+(?!\d)/m,
    qr/^(?:Infected files|Identified viruses|Suspect files) *:0*[1-9]/m,
    qr/(?:suspected|infected): (.*)(?:\033|$)/m ],
  # consider also: --all --nowarn --alev=15 --flev=15.  The --all argument may
  # not apply to your version of bdc, check documentation and see 'bdc --help'
  ### ArcaVir for Linux and Unix http://www.arcabit.pl/
  ['ArcaVir for Linux', ['arcacmd','arcacmd.static'],
    '-v 1 -summary 0 -s {}', [0], [1,2],
    qr/(?:VIR|WIR):[ \t]*(.+)/m ],
);
@av_scanners_backup = (
  ### http://www.clamav.net/   - backs up clamd or Mail::ClamAV
  ['ClamAV-clamscan', 'clamscan',
    "--stdout --no-summary -r --tempdir=$TEMPBASE {}",
    [0], qr/:.*\sFOUND$/m, qr/^.*?: (?!Infected Archive)(.*) FOUND$/m ],
  ### http://www.f-prot.com/   - backs up F-Prot Daemon, V6
  ['F-PROT Antivirus for UNIX', ['fpscan'],
    '--report --mount --adware {}',  # consider: --applications -s 4 -u 3 -z 10
    [0,8,64],  [1,2,3, 4+1,4+2,4+3, 8+1,8+2,8+3, 12+1,12+2,12+3],
    qr/^\[Found\s+[^\]]*\]\s+<([^ \t(>]*)/m ],
  ### http://www.f-prot.com/   - backs up F-Prot Daemon (old)
  ['FRISK F-Prot Antivirus', ['f-prot','f-prot.sh'],
    '-dumb -archive -packed {}', [0,8], [3,6],   # or: [0], [3,6,8],
    qr/(?:Infection:|security risk named) (.+)|\s+contains\s+(.+)$/m ],
  ### http://www.trendmicro.com/   - backs up Trophie
  ['Trend Micro FileScanner', ['/etc/iscan/vscan','vscan'],
    '-za -a {}', [0], qr/Found virus/m, qr/Found virus (.+) in/m ],
  ### http://www.sald.com/, http://drweb.imshop.de/   - backs up DrWebD
  ['drweb - DrWeb Antivirus',  # security LHA hole in Dr.Web 4.33 and earlier
    ['/usr/local/drweb/drweb', '/opt/drweb/drweb', 'drweb'],
    '-path={} -al -go -ot -cn -upn -ok-',
    [0,32], [1,9,33], qr' infected (?:with|by)(?: virus)? (.*)$'m ],
   ### http://www.kaspersky.com/
   ['Kaspersky Antivirus v5.5',
     ['/opt/kaspersky/kav4fs/bin/kav4fs-kavscanner',
      '/opt/kav/5.5/kav4unix/bin/kavscanner',
      '/opt/kav/5.5/kav4mailservers/bin/kavscanner', 'kavscanner'],
     '-i0 -xn -xp -mn -R -ePASBME {}/*', [0,10,15], [5,20,21,25],
     qr/(?:INFECTED|WARNING|SUSPICION|SUSPICIOUS) (.*)/m,
   ],
);
1;  # insure a defined return value

Altere os campos:
  • $myhostname
  • @mynetworks
  • $mydomain

O resto pode deixar como está.

Inclua a linha abaixo no seu main.cf:

content_filter=amavisfeed:[127.0.0.1]:10024

Inicie o clamav e o amavisd com os comandos:

# /etc/init.d/clamd start
# /etc/init.d/amavisd start


Você ainda pode realizar alguns testes para ver se está tudo ok:

# telnet localhost 10024
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready
ehlo localhost
250-[127.0.0.1]
250-VRFY
250-PIPELINING
250-SIZE
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 XFORWARD NAME ADDR PORT PROTO HELO SOURCE
quit
221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
Connection closed by foreign host.

# telnet localhost 10025
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.exemplo.com.br ESMTP
ehlo localhost
250-mail.exemplo.com.br
250-PIPELINING
250-SIZE 10485760
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye
Connection closed by foreign host.

Não esqueça de atualizar o seu clamav (a base de anti-vírus):

# freshclam

Página anterior     Próxima página

Páginas do artigo
   1. Instalação de pacotes
   2. Configuração do banco de dados, apache e postfix
   3. Criando usuário 'vmail' e arquivos MySQL
   4. Configurando Dovecot, PostfixAdmin
   5. Configuração e personalização do seu WEBMAIL
   6. Configurando Clamav/Amavisd
   7. Gerando SSL e conclusão
Outros artigos deste autor

MSN-PROXY no CentOS 5.5 64 bits

Mais um telecentro feliz!

Firewall + Proxy autenticado + Apache (Centos 5.5 32/64 bits)

Postfix + Dovecot + MySQL + Squirrelmail no CentOS 5.5 32/64 bits

Instalação e configuração do Squid 2.6 Stable

Leitura recomendada

Instalação e configuração do sendmail

Como acessar contas do Hotmail no seu cliente de e-mail Linux

Zimbra - Como rastrear um e-mail dentro do log

Fazendo backup no Gmail via cliente de e-mail e IMAP

Postfix - Integração AD e autenticação

  
Comentários
[1] Comentário enviado por grandmaster em 23/02/2011 - 08:00h

Valeu o ter refeito várias vezes, ficou muito bom o artigo / guia.

Você chegou a utilizar SPF e greylist?

Sds,
---
Renato de Castro Henriques
CobiT Foundation 4.1 Certified ID: 90391725
ITILv3 Foundation Certified
http://www.renato.henriques.nom.br

[2] Comentário enviado por lpossamai em 23/02/2011 - 09:47h

Bom dia. Muito obrigado !
Sim, uso SPF em meu DNS server.
Mas greylist ainda não utilizo.


Obrigado !
Lucas

[3] Comentário enviado por Naison Souza em 23/02/2011 - 15:07h

Excelente artigo psys....


Att,
Naison Souza

http://www.hostim.com.br/

[4] Comentário enviado por removido em 23/02/2011 - 15:31h

Muito bom o artigo.


Abraço.

[5] Comentário enviado por lpossamai em 23/02/2011 - 15:45h

Muito obrigado !

Lucas

[6] Comentário enviado por himfea em 23/02/2011 - 20:51h

Muito interessante o artigo, ainda não pude ler ele com bastante calma.

uma dica: você pode utilizar também o comando "chkconfig" para que o serviço inicie com o servidor, já que o CentOS é baseado no SysV. claro, utilizar o mesmo comando para desabilitar serviços não utilizados cmo "bluetooth".
abraços

[7] Comentário enviado por lpossamai em 24/02/2011 - 22:25h

opa ! Obrigado himfea !

Sim.. tens razão sobre o chkconfig ! obrigado pela dica !

Abraços

[8] Comentário enviado por eduardo em 25/02/2011 - 14:58h

Bom artigo. Apesar de ter sido uma melhora do outro, deve ter dado trabalho.

Parabéns.

Abraços

[9] Comentário enviado por lpossamai em 25/02/2011 - 15:25h

Realmente. Sempre dá trabalho. e sempre aprendemos mais e mais. hehehe
Obrigado !

Abraço

[10] Comentário enviado por carlos.renato em 20/03/2011 - 15:06h

Bom artigo, parabéns....segui seu artigo e funcionou tudo até criar o email do administrador no setup do postfixadmin, mas não estou conseguindo criar emails ou entrar, preciso de sua ajuda. Obrigado.

Abraço,

Carlos

[11] Comentário enviado por lpossamai em 20/03/2011 - 22:42h

Boa noite carlos.renato.
Obrigado!

Quanto a ajuda.. sim.. vamos ver o que está acontecendo.
Sabes que erro dá? monitore o maillog e veja se aparece alguma coisa

Verifique também se TODOS os serviços estão iniciado.

/etc/init.d/mysqld status
/etc/init.d/postfix status
/etc/init.d/dovecot status
/etc/init.d/saslauth status
/etc/init.d/amavisd status
/etc/init.d/clamav status

Obrigado!

[12] Comentário enviado por lpossamai em 22/03/2011 - 07:47h

Bom dia a todos!
Acabei de fazer um servidor de e-mail utilizando este tutorial.
funcinou perfeitamente, mais uma vez.

Apenas para conhecimento.


Att;
Lucas

[13] Comentário enviado por carlos.renato em 23/03/2011 - 18:02h

Boa tarde,

meu dovecot está dando erro ao inciar, montei tudo pelo seu artigo anterior.
Iniciando Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 45: Unknown section type (section changed in /etc/dovecot.conf at line 44)
Fatal: Invalid configuration in /etc/dovecot.conf
[FALHOU]
vou postar meu dovecot.conf

base_dir = /var/run/dovecot/
protocols = imap imaps pop3 pop3s
log_path = /var/log/dovecot/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S"
syslog_facility = mail
ssl_listen = localhost
ssl_cert_file = /etc/postfix/mail-cert.pem
ssl_key_file = /etc/postfix/mail-key.pem
ssl_parameters_regenerate = 168
verbose_ssl = no
mail_location = maildir:/var/vmail/%d/%u
mail_access_groups = mail
mail_debug = no
first_valid_uid = 150
last_valid_uid = 150
maildir_copy_with_hardlinks = yes
protocol imap {
mail_plugins = quota imap_quota
listen = *
}

protocol pop3 {
login_executable = /usr/libexec/dovecot/pop3-login
mail_executable = /usr/libexec/dovecot/pop3
mail_plugins = quota
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
postmaster_address = postmaster@exemplo.com.br
mail_plugin_dir = /usr/lib/dovecot/lda
mail_plugins = quota
sendmail_path = /usr/lib/sendmail
auth_socket_path = /var/run/dovecot/auth-master
}
auth_verbose = no
auth_debug = no
auth default {
mechanisms = plain
passdb pam {
}
passdb sql {
args = /etc/dovecot-sql.conf
}
} TIREI ESSA LINHA E NÃO DEU MAIS O ERRO
userdb sql {
args = /etc/dovecot-sql.conf
}
user = nobody
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
group = mail
}
client {
path = /var/run/dovecot/auth-client
mode = 0660
user = vmail
group = mail
}
}
}
dict {
quotadict = mysql:/etc/dovecot-dict-quota.conf
}
plugin {
quota = maildir:User quota
quota_rule = Trash:ignore
}

Um abraço,
Carlos

[14] Comentário enviado por carlos.renato em 23/03/2011 - 18:55h

Psyscrew, tirei a linha 44 e não deu mais o erro....a única coisa que falta é criar as contas de email para funcionar no squirremail, entro normal no postfixadmin e pede o email do admin coloco postmaster@..... e a senha mas não entra dá que não foi possível localizar a pagina da web.

Abraço,
Carlos

[15] Comentário enviado por sixtensixone em 29/03/2011 - 21:39h

Oi Lucas,

Como recebi seu convite, vim ver mais este artigo. Como estou querendo fazer funcionar o Outlook e postfix achei que esta atualização ajudava. Ainda não estou na fase do spamassassim.... rsrsrs Bom, recebi alguns erros e achando que era minha digitação, peguei todo o seu dovecot.conf e tentei reiniciar o serviço. Bem, recebi os mesmos erros:
service dovecot restart
Stopping Dovecot Imap: [FAILED]
Starting Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 51: Unknown setting: user
Fatal: Invalid configuration in /etc/dovecot.conf
[FAILED]
#userdb sql {
#args = /etc/dovecot-sql.conf
#}
#user = nobody

Primeiro ele reclama desta seção userdb, ao retirá-la ele reclama do setting "user", ao retirá-lo ele continua reclamando de line 45: Unknown section type.

Bem voltei a versão anterior. Mas sou teimoso e vou continuar pesquisando. Continuo achando que este postfix precisa urgente de um script de instalação e configuração, estou a dias tentando fazer isso ir para a frente. O pessoal nas baias próximas já apelidaram meu trabalho de coisa... "Ele tá trabalhando com aquela coisa!!", como se fosse aquele homem de pedra do quarteto fantástico, hehehehehe.

Vou constinuar pesquisando, uma hora acho o que é que eu tenho que fazer para enviar e receber pelo Outlook, aí os caras me dão sinal verde para instalar um webmail. Como é um servidor novo, queria que isso funcionasse... Mas vamos ver.

Muito bom o TRABALHÃO que você teve. Se tiver facil algo que me ajude, eu já conecto via Outlook só não envio e recebo. Voltei a versão anterior do dovecot.conf, do seu artigo anterior. Vamos ver.

Abração,
Ernani.


[16] Comentário enviado por sixtensixone em 29/03/2011 - 22:18h

Oi Lucas,

Eu de novo, os erros desapareceram. Fiz o seguinte: há uma chave que está na Linha 45, logo após passdb sql {
args = /etc/dovecot-sql.conf
}
}

No script original está chave fecha a função auth default, bem retirei ela da linha 45 e coloquei fechando a auth default no final, após socket listen {. Fazendo isso os erros de reinicialização do serviço pararam. Mas ainda não envia via Outlook e também não recebe.

Veja se o que eu disse acima sobre as chaves faz sentido, eu posso estar errado. Você sabe, minha ferramenta de trabalho é a borracha...

Abraços,
Ernani.

[17] Comentário enviado por sixtensixone em 29/03/2011 - 23:49h

So far, so good...

Estou conseguindo enviar do outlook para outra conta do meu domínio, mas receber não. O log do /var/log/maillog, diz assim:

warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: No such file or directory
warning: unknown[189.4.128.112]: SASL LOGIN authentication failed: authentication failure
lost connection after AUTH from unknown[189.4.228.112]
disconnect from unknown[189.4.228.112]
warning: 189.4.228.112: hostname bd04e375.virtua.com.br verification failed: Name or service not known

Quando eu envio do Outlook para fora, um email do Hotmail por exemplo, volta um e-mail de administração, dizendo:
'contadefora@hotmail.com' em 29/03/2011 23:44
454 4.7.1 <contadefora@hotmail.com>: Relay access denied

Se for fácil uma ajuda eu agradeço.

Obrigado,
Sixten

[18] Comentário enviado por lpossamai em 30/03/2011 - 15:51h

Boa tarde, sixtensixone.


o servidor, funciona perfeitamente com POP3 e IMAP na sua rede local.
Seguindo este artigo, o seu servidor está APTO a suportar estes protocolos.
Caso não funcione, claro, tem algum erro. Vamos tentar resolver...

Quanto ao erro do dovecot.conf na linha 51,

passdb sql {
args = /etc/dovecot-sql.conf
}

Isto TEM que estar descomentado. para que o dovecot consiga acesso às bases mysql.
Na linha 51 do seu dovecot.conf tem isso?



Outra coisa.
Para poder enviar/receber sem precisar de autenticação, você terá que por a sua cadeia de ip ou o seu ip no mynetwork no seu main.cf.

Exemplo.
vamos supor que a sua rede interna seja 192.168.60.0 / 255.255.255.0

Ficaria assim, no seu main.cf:

mynetworks = 127.0.0.0/8, 192.168.60.0/24



Abraços

[19] Comentário enviado por rafa_bss em 14/04/2011 - 12:49h

Olá amigo, como faço para criar as tabelas no banco de dados mysql. No tutorial não vi falando sobre esse ponto.

Desde já agradeço pelo tutorial, está execelente. Parabéns!

Aguardo contato para ver se consegue me ajudar.

Abraço.

[20] Comentário enviado por lpossamai em 14/04/2011 - 13:13h

Boa tarde!
Quem fará esta parte é o postfixadmin.

Logue-se no postfixadmim para criar as mailboxes e domínios...


Lucas

[21] Comentário enviado por XBlade41 em 19/04/2011 - 10:35h

Boas!!!

Muito bem montado o artigo, se possivel tire uma duvida minha, com este servidor posso acessa-lo de fora e utilizar smartphones com acesso 3G ou ADSL para recebimento e envio de mensagens?

[22] Comentário enviado por lpossamai em 19/04/2011 - 10:41h

Bom dia!!!
Obrigado pelos parabéns!

Pode sim.
Eu, inclusive, uso em meu smartphone.
Você terá que somente habilitar SMTP autenticado em seu dispositivo móvel.

Abraços!

[23] Comentário enviado por marcoscanada em 24/04/2011 - 02:25h

Boa noite,

Primeiramente, parabens pelo tutorial.

Psyscrew, sequi a risca o tutorial, testei os servicos com telnet e tudo esta funcionando, porem quando envio uma mensagem para outro usuario a caixa de mensagem esta sempre vazia. Oq pode ser isso?

Valeu.



[24] Comentário enviado por lpossamai em 24/04/2011 - 13:33h

Bom dia. Obrigado!

Bem.. é dificil dize o que pode estar acontecendo, pois podem ser várias coisas...

Tente fazer o seguinte:
Mande um e-mail de teste, pra uma outra conta do seu servidor.
E ao mesmo tempo, fique monitorando os logs. Com o comando:

tail -f /var/log/maillog

E poste aqui o resultado.


Valeu!

[25] Comentário enviado por marcoscanada em 24/04/2011 - 14:48h

Eh bem extenso, dar uma olhadinha e depois eu apago.


Apr 24 13:17:17 projetfinal postfix/smtpd[28972]: initializing the server-side TLS engine
Apr 24 13:17:17 projetfinal postfix/smtpd[28972]: connect from server1[127.0.0.1]
Apr 24 13:17:17 projetfinal postfix/smtpd[28972]: EBF08198F4F: client=server1[127.0.0.1]
Apr 24 13:17:18 projetfinal postfix/cleanup[28978]: EBF08198F4F: message-id=<51342.192.168.3.6.1303665437.squirrel@192.168.3.6>
Apr 24 13:17:18 projetfinal postfix/qmgr[27727]: EBF08198F4F: from=<marcos@projetfinal.com>, size=744, nrcpt=1 (queue active)
Apr 24 13:17:18 projetfinal postfix/smtpd[28972]: disconnect from server1[127.0.0.1]
Apr 24 13:17:19 projetfinal amavis[4452]: (04452-01) Net::Server: 2011/04/24-13:17:19 CONNECT TCP Peer: "127.0.0.1:38858" Local: "127.0.0.1:10024"
Apr 24 13:17:19 projetfinal amavis[4452]: (04452-01) idle_proc, hi : was idle, 43587309.1 ms, total idle 43587.355 s, busy 171.806 s
Apr 24 13:17:19 projetfinal amavis[4452]: (04452-01) loaded base policy bank
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-01) lookup_ip_acl (inet_acl): key="127.0.0.1" matches "127.0.0.1", result=1
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-01) process_request: fileno sock=12, STDIN=0, STDOUT=1
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-01) switch_to_my_time 480 s, new request
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-01) process_request: suggested_protocol="" on TCP
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) SMTP> 220 [127.0.0.1] ESMTP amavisd-new service ready
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 4: was busy, 701.6 ms, total idle 43587.355 s, busy 172.507 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 5: was idle, 0.3 ms, total idle 43587.355 s, busy 172.507 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) SMTP< LHLO mail.projetfinal.com\r\n
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_my_time 480 s, SMTP LHLO received
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250-[127.0.0.1]
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250-VRFY
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250-PIPELINING
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250-SIZE
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250-ENHANCEDSTATUSCODES
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250-8BITMIME
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250-DSN
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250 XFORWARD NAME ADDR PORT PROTO HELO SOURCE
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 6: was busy, 60.6 ms, total idle 43587.355 s, busy 172.568 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 5: was idle, 102.9 ms, total idle 43587.458 s, busy 172.568 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP< XFORWARD NAME=server1 ADDR=127.0.0.1\r\n
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_my_time 480 s, SMTP XFORWARD received
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250 2.5.0 Ok XFORWARD
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 6: was busy, 13.3 ms, total idle 43587.458 s, busy 172.581 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 5: was idle, 0.1 ms, total idle 43587.458 s, busy 172.581 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP< XFORWARD PROTO=ESMTP HELO=192.168.3.6 SOURCE=LOCAL\r\n
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_my_time 480 s, SMTP XFORWARD received
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250 2.5.0 Ok XFORWARD
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 6: was busy, 0.8 ms, total idle 43587.458 s, busy 172.582 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 5: was idle, 0.1 ms, total idle 43587.458 s, busy 172.582 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP< MAIL FROM:<marcos@projetfinal.com> SIZE=744 BODY=8BITMIME\r\n
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_my_time 480 s, SMTP MAIL received
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) check_mail_begin_task: task_count=2
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) lookup_ip_acl: key="127.0.0.1" matches "127.0.0.0/8", result=1
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) loaded policy bank "MYNETS"
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) lookup [debug_sender] => undef, "marcos@projetfinal.com" does not match
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250 2.1.0 Sender <marcos@projetfinal.com> OK
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 6: was busy, 216.6 ms, total idle 43587.458 s, busy 172.799 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 5: was idle, 0.1 ms, total idle 43587.458 s, busy 172.799 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP< RCPT TO:<mariana@projetfinal.com> ORCPT=rfc822;mariana@projetfinal.com\r\n
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_my_time 480 s, SMTP RCPT received
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 250 2.1.5 Recipient <mariana@projetfinal.com> OK
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 6: was busy, 13.4 ms, total idle 43587.458 s, busy 172.812 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) idle_proc, 5: was idle, 0.2 ms, total idle 43587.459 s, busy 172.812 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP< DATA\r\n
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_my_time 480 s, SMTP DATA received
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP::10024 /var/amavis/tmp/amavis-20110424T010802-04452: <marcos@projetfinal.com> -> <mariana@projetfinal.com> SIZE=744 BODY=8BITMIME Received: from mail.projetfinal.com ([127.0.0.1]) by localhost (mail.projetfinal.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP for <mariana@projetfinal.com>; Sun, 24 Apr 2011 13:17:20 -0400 (EDT)
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP> 354 End data with <CR><LF>.<CR><LF>
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, receiving data
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) switch_to_my_time 480 s, data-end received
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) LMTP< .<CR><LF>
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) smtp connection cache, dt: 43588.7, state: 1
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) smtp connection cache, dt: 43588.7 -> disabling
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) prolong_timer digest_init: timer set to 480 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) get_body_digest: reading header section
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) prolong_timer digest_hdr: timer set to 480 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) get_body_digest: reading mail body
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) prolong_timer digest_body: timer set to 480 s
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) body type (ESMTP BODY): labeled 8BITMIME unnecessarily (h=0, b=0)
Apr 24 13:17:20 projetfinal amavis[4452]: (04452-02) body hash: 6408d72fa7a83d706529938677adf41d
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) Original mail size: 744; quota set to: 372000 bytes
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) Checking: Pgit9tC+xktf MYNETS [127.0.0.1] <marcos@projetfinal.com> -> <mariana@projetfinal.com>
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) 2822.From: <marcos@projetfinal.com>
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) lookup_acl(mariana@projetfinal.com) matches key ".projetfinal.com", result=1
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) lookup [local_domains] => true, "mariana@projetfinal.com" matches, result="1", matching_key=".projetfinal.com"
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) query_keys: mariana@projetfinal.com, mariana@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) lookup_hash(mariana@projetfinal.com), no matches
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) lookup [bypass_virus_checks] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) query_keys: mariana@projetfinal.com, mariana@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) lookup_hash(mariana@projetfinal.com), no matches
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) lookup [bypass_banned_checks] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) query_keys: mariana@projetfinal.com, mariana@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) lookup_hash(mariana@projetfinal.com), no matches
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) lookup [bypass_spam_checks] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:17:21 projetfinal amavis[4452]: (04452-02) Extracting mime components
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) Issued a new file name: p001
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) Charging 7 bytes to remaining quota 372000 (out of 372000, (0%)) - by mime_decode
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) p001 1 Content-Type: text/plain, size: 7 B, name:
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) prolong_timer mime_decode: remaining time = 479 s
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) prolong_timer mime_decode-1: remaining time = 479 s
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) inspect_dsn: parts: text/plain
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) inspect_dsn: not a bounce
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) prolong_timer dsn_parse: remaining time = 479 s
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) decode_parts: level=1, #parts=1 : p001
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) running file(1) on 1 files, arglist size 18
Apr 24 13:17:22 projetfinal amavis[4452]: (04452-02) run_command: [28998] /usr/bin/file p001 </dev/null 2>&1
Apr 24 13:17:22 projetfinal amavis[28998]: (04452-02) open_on_specific_fd: target fd0 closing, to become < /dev/null
Apr 24 13:17:22 projetfinal amavis[28998]: (04452-02) open_on_specific_fd: target fd1 closing, to become > &=16
Apr 24 13:17:22 projetfinal amavis[28998]: (04452-02) open_on_specific_fd: target fd1 dup2 from fd16 > &=16
Apr 24 13:17:22 projetfinal amavis[28998]: (04452-02) open_on_specific_fd: source fd16 closed
Apr 24 13:17:22 projetfinal amavis[28998]: (04452-02) open_on_specific_fd: target fd2 closing, to become > &1
Apr 24 13:17:22 projetfinal amavis[28998]: (04452-02) open_on_specific_fd: target fd2 dup2 from fd1 > &1
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) result line from file(1): p001: ASCII text\n
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup_re("ASCII text") matches key "(?i-xsm:^(ASCII|text)\b)", result="asc"
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup [map_full_type_to_short_type] => true, "ASCII text" matches, result="asc", matching_key="(?i-xsm:^(ASCII|text)\\b)"
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) File-type of p001: ASCII text; (asc)
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) do_ascii: Decoding part p001
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) do_ascii: Setting sigaction handler, was 0
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) timer set to 318 s (was 478 s)
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) do_ascii: Decoding part p001 (0 items), uulib V0.5pl20
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) prolong_timer do_ascii: timer set to 478 s
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) decompose_part: p001 - atomic
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) prolong_timer parts_decode: remaining time = 478 s
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) query_keys: mariana@projetfinal.com, mariana@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup_hash(mariana@projetfinal.com), no matches
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup [bypass_header_checks] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) check_header: 0, OK
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) query_keys: mariana@projetfinal.com, mariana@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup_hash(mariana@projetfinal.com), no matches
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup [bypass_header_checks] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) Checking for banned types and filenames
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="DEFAULT"
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup [banned_filename], 1 matches for "mariana@projetfinal.com", results: "(constant:DEFAULT)"=>"DEFAULT"
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) collect banned table[0]: mariana@projetfinal.com, tables: DEFAULT=>Amavis::Lookup::RE=ARRAY(0x97cdeac)
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) starting banned checks - traversing message structure tree
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) check_for_banned (p001) text/plain,.asc
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) doing banned check for mariana@projetfinal.com on text/plain,.asc
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup_re(["text/plain",".asc"]), no matches
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup [check_bann:mariana@projetfinal.com] => undef, ["text/plain",".asc"] does not match
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup [banned_namepath_re] => undef, "P=p001\tL=1\tM=text/plain\tT=asc" does not match
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) p.path mariana@projetfinal.com: "P=p001,L=1,M=text/plain,T=asc"
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) banned check: any=0, all=N (1)
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup_re("MAIL") matches key "(?-xism:^MAIL$)", result="1"
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) lookup [keep_decoded_original] => true, "MAIL" matches, result="1", matching_key="(?-xism:^MAIL$)"
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) Issued a new file name: p002
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) presenting full original message to scanners as /var/amavis/tmp/amavis-20110424T010802-04452/parts/p002
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) (!!)WARN: all primary virus scanners failed, considering backups
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) Calling virus scanners, 2 files to scan in /var/amavis/tmp/amavis-20110424T010802-04452/parts
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) run_av (ClamAV-clamscan): query template(0,1): --stdout --no-summary -r --tempdir=/var/amavis/tmp {}
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) prolong_timer run_av: timer set to 478 s
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) prolong_timer run_av: timer set to 382 s
Apr 24 13:17:23 projetfinal amavis[4452]: (04452-02) run_av Using (ClamAV-clamscan): /usr/bin/clamscan --stdout --no-summary -r --tempdir=/var/amavis/tmp /var/amavis/tmp/amavis-20110424T010802-04452/parts
Apr 24 13:17:25 projetfinal amavis[28999]: (04452-02) open_on_specific_fd: target fd0 closing, to become < /dev/null
Apr 24 13:17:25 projetfinal amavis[28999]: (04452-02) open_on_specific_fd: target fd1 closing, to become > &=16
Apr 24 13:17:25 projetfinal amavis[28999]: (04452-02) open_on_specific_fd: target fd1 dup2 from fd16 > &=16
Apr 24 13:17:25 projetfinal amavis[28999]: (04452-02) open_on_specific_fd: source fd16 closed
Apr 24 13:17:25 projetfinal amavis[28999]: (04452-02) open_on_specific_fd: target fd2 closing, to become > &1
Apr 24 13:17:25 projetfinal amavis[28999]: (04452-02) open_on_specific_fd: target fd2 dup2 from fd1 > &1
Apr 24 13:17:25 projetfinal amavis[4452]: (04452-02) run_command: [28999] /usr/bin/clamscan --stdout --no-summary -r --tempdir=/var/amavis/tmp /var/amavis/tmp/amavis-20110424T010802-04452/parts </dev/null 2>&1
Apr 24 13:20:57 projetfinal amavis[4452]: (04452-02) collect_results from [28999] (ClamAV-clamscan), 120 bytes, (limit 204800)
Apr 24 13:20:57 projetfinal amavis[4452]: (04452-02) prolong_timer run_av: timer set to 264 s
Apr 24 13:20:57 projetfinal amavis[4452]: (04452-02) run_av: /usr/bin/clamscan exit 0, /var/amavis/tmp/amavis-20110424T010802-04452/parts/p001: OK\n/var/amavis/tmp/amavis-20110424T010802-04452/parts/p002: OK
Apr 24 13:20:58 projetfinal amavis[4452]: (04452-02) run_av (ClamAV-clamscan): CLEAN
Apr 24 13:20:58 projetfinal amavis[4452]: (04452-02) run_av (ClamAV-clamscan) result: clean
Apr 24 13:20:59 projetfinal amavis[4452]: (04452-02) wbl: checking sender <marcos@projetfinal.com>
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup [blacklist_recip<mariana@projetfinal.com>] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) query_keys: marcos@projetfinal.com, marcos@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup_hash(marcos@projetfinal.com), no matches
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup [blacklist_sender<marcos@projetfinal.com>,blacklist_sender] => undef, "marcos@projetfinal.com" does not match
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup [whitelist_recip<mariana@projetfinal.com>] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) query_keys: marcos@projetfinal.com, marcos@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup_hash(marcos@projetfinal.com), no matches
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup [whitelist_sender<marcos@projetfinal.com>,whitelist_sender] => undef, "marcos@projetfinal.com" does not match
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) query_keys: mariana@projetfinal.com, mariana@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup_hash(mariana@projetfinal.com) matches keys: "."=>ARRAY(0x97ce2b4)
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup [score_recip<mariana@projetfinal.com>,score_sender], 1 matches for "mariana@projetfinal.com", results: "."=>[Amavis::Lookup::RE=ARRAY(0x97ce0a4),HASH(0x97ce110)]
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup_re("marcos@projetfinal.com"), no matches
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) query_keys: marcos@projetfinal.com, marcos@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup_hash(marcos@projetfinal.com), no matches
Apr 24 13:21:00 projetfinal amavis[4452]: (04452-02) lookup [score_sender<marcos@projetfinal.com>] => undef, "marcos@projetfinal.com" does not match
Apr 24 13:21:03 projetfinal amavis[4452]: (04452-02) SpamControl: calling spam scanner SpamAssassin
Apr 24 13:21:04 projetfinal amavis[4452]: (04452-02) timer set to 172 s for SA (was 258 s)
Apr 24 13:21:04 projetfinal amavis[4452]: (04452-02) calling SA parse, SA version 3.2.5, 3.002005, data as GLOB
Apr 24 13:21:08 projetfinal amavis[4452]: (04452-02) CALLING SA check
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) prolong_timer spam_scan_sa_finish: timer set to 233 s
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) spam_scan: score=9.804 autolearn=no tests=[ALL_TRUSTED=-1.44,FH_DATE_PAST_20XX=3.384,TVD_RCVD_IP=1.617,TVD_RCVD_IP4=3.344,TVD_SPACE_RATIO=2.899]
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) prolong_timer spam_scan: remaining time = 233 s
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) enqueue: stat is not numeric: ""
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) enqueue: deleting: 4c57890c4a162e7dc639bea0cd4c6de0
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) enqueue: stat is not numeric: ""
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) enqueue: deleting: e1b3659cc7a357f6e5ab0fc779990cd4
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="2"
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup [spam_tag_level] => true, "mariana@projetfinal.com" matches, result="2", matching_key="(constant:2)"
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="6.2"
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup [spam_tag2_level] => true, "mariana@projetfinal.com" matches, result="6.2", matching_key="(constant:6.2)"
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup [spam_tag3_level] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="6.9"
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup [spam_kill_level] => true, "mariana@projetfinal.com" matches, result="6.9", matching_key="(constant:6.9)"
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) query_keys: mariana@projetfinal.com, mariana@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup_hash(mariana@projetfinal.com), no matches
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) lookup [Lovers2,spam_lovers] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:21:28 projetfinal amavis[4452]: (04452-02) blocking contents category is (6) for mariana@projetfinal.com
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) blocking ccat=6, SMTP response: 554 5.7.0 Reject, id=04452-02 - SPAM
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) do_notify_and_quar: ccat=Spam (6,0) ("6":Spam, "5":Spammy, "1,1":CleanTag, "1":Clean, "0":CatchAll) ccat_block=(6), qar_mth=
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="2"
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup [spam_tag_level] => true, "mariana@projetfinal.com" matches, result="2", matching_key="(constant:2)"
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="6.2"
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup [spam_tag2_level] => true, "mariana@projetfinal.com" matches, result="6.2", matching_key="(constant:6.2)"
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="6.9"
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup [spam_kill_level] => true, "mariana@projetfinal.com" matches, result="6.9", matching_key="(constant:6.9)"
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="spam-quarantine"
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup [spam_quarantine_to] => true, "mariana@projetfinal.com" matches, result="spam-quarantine", matching_key="(constant:spam-quarantine)"
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup [spam_quarantine_cutoff_level] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) query_keys: mariana@projetfinal.com, mariana@, projetfinal.com, .projetfinal.com, .com, .
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup_hash(mariana@projetfinal.com), no matches
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup [spam_admin] => undef, "mariana@projetfinal.com" does not match
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) lookup [spam_quarantine_bysender_to] => undef, "marcos@projetfinal.com" does not match
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: X-Spam-Flag: YES\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: X-Spam-Score: 9.804\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: X-Spam-Level: *********\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: X-Spam-Status: Yes, score=9.804 tag=2 tag2=6.2 kill=6.9\n\ttests=[ALL_TRUSTED=-1.44, FH_DATE_PAST_20XX=3.384, TVD_RCVD_IP=1.617,\n\tTVD_RCVD_IP4=3.344, TVD_SPACE_RATIO=2.899] autolearn=no\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: X-Quarantine-ID: <Pgit9tC+xktf>\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: X-Envelope-To-Blocked: <mariana@projetfinal.com>\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: X-Envelope-To: <mariana@projetfinal.com>\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: X-Envelope-From: <marcos@projetfinal.com>\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) header: Received: from mail.projetfinal.com ([127.0.0.1])\n\tby localhost (mail.projetfinal.com [127.0.0.1]) (amavisd-new, port 10024)\n\twith LMTP id Pgit9tC+xktf for <mariana@projetfinal.com>;\n\tSun, 24 Apr 2011 13:17:20 -0400 (EDT)\n
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) DO_QUARANTINE, local:spam-%m.gz, <> -> spam-quarantine
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) dkim: not signing mail which is not originating from inside
Apr 24 13:21:29 projetfinal amavis[4452]: (04452-02) local delivery: <> -> spam-quarantine, mbx=/var/virusmails/spam-Pgit9tC+xktf.gz
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) header: Delivered-To: spam-quarantine\n
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) header: Return-Path: <>\n
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) write_header: 0, Amavis::IO::Zlib=HASH(0xb87a214)
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) one_response_for_all <>: success, r=0,b=0,d=0, ndn_needed=0, '250 2.6.0 Ok, delivered to /var/virusmails/spam-Pgit9tC+xktf.gz, id=04452-02'
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) DO_QUARANTINE done
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) SPAM, <marcos@projetfinal.com> -> <mariana@projetfinal.com>, Yes, score=9.804 tag=2 tag2=6.2 kill=6.9 tests=[ALL_TRUSTED=-1.44, FH_DATE_PAST_20XX=3.384, TVD_RCVD_IP=1.617, TVD_RCVD_IP4=3.344, TVD_SPACE_RATIO=2.899] autolearn=no, quarantine Pgit9tC+xktf (spam-quarantine)
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) skip admin notification, no administrators
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) do_notify_and_quarantine - done
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) prolong_timer quar+notif: remaining time = 231 s
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) DSN: sender is credible (orig), SA: 9.804, <marcos@projetfinal.com>
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="18"
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) lookup => true, "marcos@projetfinal.com" matches, result="18", matching_key="(constant:18)"
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) dsn: . 554 Spam <marcos@projetfinal.com> -> <mariana@projetfinal.com>: on_succ=0, on_dly=1, on_fail=1, never=0, warn_sender=, DSN_passed_on=, mta_resp: "554 5.7.0 Reject, id=04452-02 - SPAM"
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) lookup: (scalar) matches, result="18"
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) lookup => true, "mariana@projetfinal.com" matches, result="18", matching_key="(constant:18)"
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) DSN: NOTIFICATION: Action:failed, LOCAL 554 Spam, spam level 9.804, <marcos@projetfinal.com> -> <mariana@projetfinal.com>
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) fish_out_ip_from_received: 192.168.3.6
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) lookup_ip_acl (publicnetworks): key="192.168.3.6" matches "!192.168.0.0/16", result=0
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) fish_out_ip_from_received: 127.0.0.1
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) lookup_ip_acl (publicnetworks): key="127.0.0.1" matches "!127.0.0.0/8", result=0
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) parse_ip_address_from_received: 127.0.0.1
Apr 24 13:21:30 projetfinal amavis[4452]: (04452-02) first_received_from: 192.168.3.6 SquirrelMail authenticated user marcos@projetfinal.com
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) header: Subject: Considered UNSOLICITED BULK EMAIL, apparently from you\n
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) build_mime_entity Subject: Considered UNSOLICITED BULK EMAIL, apparently from you
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) header: In-Reply-To: <51342.192.168.3.6.1303665437.squirrel@192.168.3.6>\n
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) build_mime_entity In-Reply-To: <51342.192.168.3.6.1303665437.squirrel@192.168.3.6>
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) header: Message-ID: <SSPgit9tC+xktf@mail.projetfinal.com>\n
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) build_mime_entity Message-ID: <SSPgit9tC+xktf@mail.projetfinal.com>
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) build_mime_entity: attaching original header section
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) one_response_for_all <marcos@projetfinal.com>: mixed, r=0,b=1,d=0, ndn_needed=1, '250 2.5.0 Ok, id=04452-02, BOUNCE'
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) notif=Y, suppressed=0, ndn_needed=1, exit=99, 250 2.5.0 Ok, id=04452-02, BOUNCE
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) dkim: candidate originators: 2822.From:<postmaster@mail.projetfinal.com>, 2821.mail_from:<>
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) lookup => undef, "postmaster@mail.projetfinal.com", no lookup tables
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) dkim: not signing, no applicable private key for domains mail.projetfinal.com, s=, From: <postmaster@mail.projetfinal.com>
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) (about to connect to [127.0.0.1]:10025) SEND via SMTP: <> -> <marcos@projetfinal.com>
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) smtp session reuse, 1 transactions so far
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) establish_or_refresh, state: ehlo
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) smtp cmd> NOOP
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: needline=0, flush=1, wr=1, timeout=15
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: receiving
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop read 56 chars< 421 4.4.2 mail.projetfinal.com Error: timeout exceeded\r\n
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: sending
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop sent 6> NOOP\r\n
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) smtp resp to NOOP (idle 43840.6 s): 421 4.4.2 mail.projetfinal.com Error: timeout exceeded
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) Amavis::Out::SMTP::Session close, disconnecting
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) smtp creating socket by IO::Socket::INET to [127.0.0.1]:10025
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: needline=1, flush=0, wr=0, timeout=35
Apr 24 13:21:31 projetfinal postfix/smtpd[29140]: initializing the server-side TLS engine
Apr 24 13:21:31 projetfinal postfix/smtpd[29140]: connect from server1[127.0.0.1]
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: receiving
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop read 32 chars< 220 mail.projetfinal.com ESMTP\r\n
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) smtp resp to greeting: 220 mail.projetfinal.com ESMTP
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) smtp cmd> EHLO localhost
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: needline=0, flush=1, wr=1, timeout=229.051856040955
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: sending
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop sent 16> EHLO localhost\r\n
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: needline=1, flush=0, wr=0, timeout=229.051856040955
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop: receiving
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) rw_loop read 143 chars< 250-mail.projetfinal.com\r\n250-PIPELINING\r\n250-SIZE 10485760\r\n250-VRFY\r\n250-ETRN\r\n250-STARTTLS\r\n250-ENHANCEDSTATUSCODES\r\n250-8BITMIME\r\n250 DSN\r\n
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) smtp resp to EHLO: 250 mail.projetfinal.com\nPIPELINING\nSIZE 10485760\nVRFY\nETRN\nSTARTTLS\nENHANCEDSTATUSCODES\n8BITMIME\nDSN
Apr 24 13:21:31 projetfinal amavis[4452]: (04452-02) Remote host presents itself as: mail.projetfinal.com, handles DSN, handles PIPELINING
Apr 24 13:21:32 projetfinal amavis[4452]: (04452-02) AUTH not needed, user='', MTA offers ''
Apr 24 13:21:32 projetfinal amavis[4452]: (04452-02) smtp cmd> MAIL FROM:<> ENVID=AM..20110424T172132Z@mail.projetfinal.com
Apr 24 13:21:32 projetfinal amavis[4452]: (04452-02) smtp cmd> RCPT TO:<marcos@projetfinal.com> ORCPT=rfc822;marcos@projetfinal.com
Apr 24 13:21:32 projetfinal amavis[4452]: (04452-02) smtp cmd> DATA
Apr 24 13:21:32 projetfinal amavis[4452]: (04452-02) rw_loop: needline=0, flush=1, wr=1, timeout=120
Apr 24 13:21:32 projetfinal amavis[4452]: (04452-02) rw_loop: sending
Apr 24 13:21:32 projetfinal amavis[4452]: (04452-02) rw_loop sent 138> MAIL FROM:<> ENVID=AM..20110424T172132Z@mail.projetfinal.com\r\nRCPT TO:<marcos@projetfinal.com> ORCPT=rfc822;marcos@projetfinal.com\r\nDATA\r\n
Apr 24 13:21:32 projetfinal amavis[4452]: (04452-02) rw_loop: needline=1, flush=0, wr=0, timeout=229
Apr 24 13:21:37 projetfinal postfix/smtpd[29140]: A2C9A198F59: client=server1[127.0.0.1]
Apr 24 13:21:37 projetfinal amavis[4452]: (04452-02) rw_loop: receiving
Apr 24 13:21:37 projetfinal amavis[4452]: (04452-02) rw_loop read 65 chars< 250 2.1.0 Ok\r\n250 2.1.5 Ok\r\n354 End data with <CR><LF>.<CR><LF>\r\n
Apr 24 13:21:37 projetfinal amavis[4452]: (04452-02) smtp resp to MAIL (pip): 250 2.1.0 Ok
Apr 24 13:21:37 projetfinal amavis[4452]: (04452-02) smtp resp to RCPT (pip) (<marcos@projetfinal.com>): 250 2.1.5 Ok
Apr 24 13:21:37 projetfinal amavis[4452]: (04452-02) smtp resp to DATA: 354 End data with <CR><LF>.<CR><LF>
Apr 24 13:21:37 projetfinal amavis[4452]: (04452-02) write_header: 1, Amavis::Out::SMTP::Protocol=HASH(0xb883cbc)
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) smtp cmd> QUIT
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) rw_loop: needline=0, flush=1, wr=1, timeout=223
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) rw_loop: sending
Apr 24 13:21:38 projetfinal postfix/cleanup[29144]: A2C9A198F59: message-id=<SSPgit9tC+xktf@mail.projetfinal.com>
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) rw_loop sent 3481> Content-Type: multipart/report; report-type=delivery-status;\r\n boundary="----------=_1303665690-4452-1"\r\nContent-Transfer-Encoding: 7bit\r\nMIME-Version: 1.0\r\nSubject: Considered UNSOLICITED BULK EMAIL, [...]
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) rw_loop: needline=1, flush=0, wr=0, timeout=223
Apr 24 13:21:38 projetfinal postfix/smtpd[29140]: disconnect from server1[127.0.0.1]
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) rw_loop: receiving
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) rw_loop read 52 chars< 250 2.0.0 Ok: queued as A2C9A198F59\r\n221 2.0.0 Bye\r\n
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) smtp resp to data-dot (<marcos@projetfinal.com>): 250 2.0.0 Ok: queued as A2C9A198F59
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) Amavis::Out::SMTP::Session close, disconnecting
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) prolong_timer fwd-end-chkpnt: timer set to 223 s
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) SEND via SMTP: <> -> <marcos@projetfinal.com>,ENVID=AM..20110424T172132Z@mail.projetfinal.com 250 2.0.0 Ok, id=04452-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A2C9A198F59
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) one_response_for_all <>: success, r=0,b=0,d=0, ndn_needed=0, '250 2.0.0 Ok, id=04452-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as A2C9A198F59'
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) prolong_timer delivery-notification: remaining time = 223 s
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) fish_out_ip_from_received: 192.168.3.6
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) lookup_ip_acl (publicnetworks): key="192.168.3.6" matches "!192.168.0.0/16", result=0
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) fish_out_ip_from_received: 127.0.0.1
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) lookup_ip_acl (publicnetworks): key="127.0.0.1" matches "!127.0.0.0/8", result=0
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) parse_ip_address_from_received: 127.0.0.1
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) Blocked SPAM, MYNETS LOCAL [127.0.0.1] [127.0.0.1] <marcos@projetfinal.com> -> <mariana@projetfinal.com>, quarantine: spam-Pgit9tC+xktf.gz, Message-ID: <51342.192.168.3.6.1303665437.squirrel@192.168.3.6>, mail_id: Pgit9tC+xktf, Hits: 9.804, size: 744, 259489 ms
Apr 24 13:21:38 projetfinal postfix/qmgr[27727]: A2C9A198F59: from=<>, size=3652, nrcpt=1 (queue active)
Apr 24 13:21:38 projetfinal amavis[4452]: (04452-02) prolong_timer main_log_entry: remaining time = 223 s
Apr 24 13:21:39 projetfinal amavis[4452]: (04452-02) updating snmp variables
Apr 24 13:21:39 projetfinal postfix/local[29145]: A2C9A198F59: to=<marcos@projetfinal.com>, relay=local, delay=7.8, delays=6.6/0.73/0/0.44, dsn=5.1.1, status=bounced (unknown user: "marcos")
Apr 24 13:21:39 projetfinal postfix/qmgr[27727]: A2C9A198F59: removed
Apr 24 13:21:40 projetfinal amavis[4452]: (04452-02) prolong_timer check done: remaining time = 222 s
Apr 24 13:21:40 projetfinal amavis[4452]: (04452-02) LMTP response for <mariana@projetfinal.com>: "250 2.5.0 Ok <mariana@projetfinal.com>, DSN was sent (554 5.7.0 Reject, id=04452-02 - SPAM)"
Apr 24 13:21:40 projetfinal amavis[4452]: (04452-02) LMTP> 250 2.5.0 Ok <mariana@projetfinal.com>, DSN was sent (554 5.7.0 Reject, id=04452-02 - SPAM)
Apr 24 13:21:40 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:21:40 projetfinal amavis[4452]: (04452-02) TempDir::strip: /var/amavis/tmp/amavis-20110424T010802-04452
Apr 24 13:21:40 projetfinal amavis[4452]: (04452-02) rmdir_recursively: /var/amavis/tmp/amavis-20110424T010802-04452/parts, excl=1
Apr 24 13:21:40 projetfinal postfix/lmtp[28980]: EBF08198F4F: to=<mariana@projetfinal.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=263, delays=0.99/0.02/1.9/261, dsn=2.5.0, status=sent (250 2.5.0 Ok <mariana@projetfinal.com>, DSN was sent (554 5.7.0 Reject, id=04452-02 - SPAM))
Apr 24 13:21:40 projetfinal postfix/qmgr[27727]: EBF08198F4F: removed
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) TIMING [total 261695 ms] - SMTP greeting: 700 (0%)0, SMTP LHLO: 61 (0%)0, SMTP pre-MAIL: 142 (0%)0, SMTP pre-DATA-flush: 217 (0%)0, SMTP DATA: 78 (0%)0, check_init: 89 (0%)0, digest_hdr: 238 (0%)1, digest_body_dkim: 51 (0%)1, gen_mail_id: 225 (0%)1, mime_decode: 1084 (0%)1, get-file-type1: 1048 (0%)2, decompose_part: 188 (0%)2, parts_decode: 0 (0%)2, check_header: 43 (0%)2, AV-scan-1: 214639 (82%)84, spam-wb-list: 2854 (1%)85, SA parse: 7081 (3%)87, SA check: 20313 (8%)95, update_cache: 393 (0%)95, decide_mail_destiny: 331 (0%)95, notif-quar: 405 (0%)96, stat-mbx: 322 (0%)96, open-mbx: 135 (0%)96, write-header: 76 (0%)96, save-to-local-mailbox: 29 (0%)96, prepare-dsn: 1068 (0%)96, fwd-connect: 824 (0%)97, fwd-mail-pip: 5780 (2%)99, fwd-rcpt-pip: 1 (0%)99, fwd-data-chkpnt: 0 (0%)99, write-header: 34 (0%)99, fwd-data-contents: 382 (0%)99, fwd-end-chkpnt: 247 (0%)99, main_log_entry: 489 (0%)99, update_snmp: 521 (0%)99, SMTP pre-response: 758 (0%)100, SMTP...
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) ... response: 367 (0%)100, unlink-2-files: 145 (0%)100, rundown: 338 (0%)100
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) idle_proc, 6: was busy, 260649.2 ms, total idle 43587.459 s, busy 433.461 s
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) idle_proc, 5: was idle, 56.7 ms, total idle 43587.515 s, busy 433.461 s
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) LMTP< QUIT\r\n
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) switch_to_my_time 480 s, SMTP QUIT received
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) LMTP> 221 2.0.0 [127.0.0.1] amavisd-new closing transmission channel
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) switch_to_client_time 480 s, smtp response sent
Apr 24 13:21:41 projetfinal amavis[4452]: (04452-02) SMTP session over, timer stopped
Apr 24 13:21:43 projetfinal amavis[4452]: (04452-02) exiting process_request
Apr 24 13:21:43 projetfinal amavis[4452]: (04452-02) post_process_request_hook: timer was not running
Apr 24 13:21:43 projetfinal amavis[4452]: (04452-02) idle_proc, bye: was busy, 2527.0 ms, total idle 43587.515 s, busy 435.988 s
Apr 24 13:21:43 projetfinal amavis[4452]: (04452-02) load: 1 %, total idle 43587.515 s, busy 435.988 s

[26] Comentário enviado por XBlade41 em 11/05/2011 - 15:39h

Boa tarde,

Uma ajuda!!!, estou tentando implementar o servidor conforme seu tutorial, mas acho que estou com algum probleminha de permissao.

Quando entro no webmail, ele diz que o usuario é desconhecido ou a senha incorreta... no dovecot.log

me retorna o seguinte:

dovecot: 2011-05-11 15:33:02Info: imap-login: Aborted login: user=<user1@meudominio.com.br>, method=PLAIN, rip=200.200.200.1, lip=200.200.200.1, secured

dovecot: 2011-05-11 15:36:22Info: imap-login: Aborted login: user=<user2@meudominio.com.br>, method=PLAIN, rip=200.200.200.1, lip=200.200.200.1, secured

onde o 200.200.200.1 é o IP da maquina.

O que pode ser ??? fico no aguardo e agradeço desde já.

[27] Comentário enviado por lpossamai em 11/05/2011 - 15:43h

poste aqui o seu dovecot.conf sem os comentários, e o seu dovecot-sql.conf.


poste também, o resultado do comando: postconf -m



Lucas

[28] Comentário enviado por XBlade41 em 11/05/2011 - 17:39h

valeu!!!!

[29] Comentário enviado por XBlade41 em 12/05/2011 - 11:46h

Bom dia,

Ao criar uma conta de mail com o postfixadmin, tem o campo:
COTA DE ESPAÇO vem como default 0, q que é realmente essa cota ? é o tamanho máximo da mensagem ou o tamanho que o usuario poderá usar no disco???

[30] Comentário enviado por lpossamai em 12/05/2011 - 13:18h

Boa tarde.
A quota, é para quanto a caixa postal terá de espaço.

Quanto ao erro..
Vamos por parte.


O erro de certificado, é porque vc configurou a conexão via ssl.
E o seu computador não possui o certificado instalado.
É a mesma coisa para quando você acessa um site via https..


Resposta do servidor: 535 5.7.0 Error: authentication failed: authentication failure
o seu saslauth está iniciado?


Lucas

[31] Comentário enviado por XBlade41 em 12/05/2011 - 13:50h

Sim o saslauth esta iniciado...
saslauthd (pid 2898 2897 2896 2895 2894) está rodando...

---

Uma coisa que eu vi nos logs...

postfix/smtpd[7847]: sql_select option missing

postfix/smtpd[7847]: auxpropfunc error no mechanism available

postfix/smtpd[7847]: auxpropfunc error invalid parameter supplied


[32] Comentário enviado por XBlade41 em 12/05/2011 - 18:12h

Falha na autenticação
Resposta do servidor: 535 5.7.0 Error: authentication failed: authentication failure

Resolvido!!!

[33] Comentário enviado por lpossamai em 30/08/2011 - 17:29h

XBlade41, se der poste o que você fez.. para que os outros usuários tenham conhecimento.
Obrigado

[34] Comentário enviado por Cezio137 em 21/11/2011 - 16:49h

Na hora de iniciar o dovecot aparece o seguinte erro -->>


Starting Dovecot Imap: Error: Error in configuration file /etc/dovecot.conf line 1028: Plugin section not allowed here (section changed in /etc/dovecot.conf at line 933)
Fatal: Invalid configuration in /etc/dovecot.conf


ja conferi a tal linha, está assim :


# SQL database <doc/wiki/AuthDatabase.SQL.txt>
userdb sql {
args = /etc/dovecot-sql.conf
}

Pode me ajudar, por favor !!!

[35] Comentário enviado por UnsigneD em 10/07/2012 - 11:55h

Boas tardes,

será que alguém me pode ajudar, alguém ainda ve este topic?

abraço

[36] Comentário enviado por lpossamai em 02/09/2012 - 20:55h

Boa noite USIGNED. Qual é o seu problema?

[37] Comentário enviado por jgrudek em 29/01/2013 - 18:09h

boa tarde fiz todo o procedimento do Tutorial
porem na hora que envio e-mails para fora volta um e-mail
com o seguinte erro:
<joaogustavo@meuemail.com.br>: host meuemail.com.br[x.x.x.x] said: 550 SMTP
AUTH is required for message submission on port 587 (in reply to RCPT TO
command)

preciso de uma ajuda obrigado.

[38] Comentário enviado por geovanepc em 29/07/2016 - 01:52h

Excelente tutorial, parabéns pela iniciativa!

No meu caso estou tentando instalar e configurar um servidor de email (que envie para fora), usando o Debian 8.0.5, Postfix,
Courier e Squirrelmail, mas não estou encontrando um Tutorial como esse (passo a passo).

Alguém poderia me ajudar.

Desde já agradeço.

Um forte abraço à todos.


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts