Já tente, mas não obtive uma ajuda que sanasse meus problemas. > Amigos. > > Porque não levar essa dúvida para a lista especializada no problema ? > > Tente na postfix-br ... o pessoal é muito acessível, com certeza irão lhe > ajudar. > http://listas.softwarelivre.org/mailman/listinfo/postfix-br > > Abraços! > Eduardo. > > > -------------------------------------------------- > From: <[EMAIL PROTECTED]> > Sent: Monday, November 17, 2008 9:53 AM > To: "Lista Brasileira deDiscussão sobre FreeBSD" <freebsd@fug.com.br> > Subject: Re: [FUG-BR] [OT] MailScanner não escaneia Postfix > >> Outra coisa também, quando eu dou um /usr/local/etc/rc.d/mta start, ele >> me >> dá a seguinte mesagem: >> >> Nov 17 09:48:50 vmteste postfix/sendmail[905]: fatal: open >> /etc/mail/sendmail.cf/main.cf: Not a directory >> >> >>> exatamente as mesmas que vc... >>> >>> cola umas 30 linhas do maillog onde aparece as linhas do MailScanner >>> por >>> favor ! >>> >>> falow... >>> >>> [EMAIL PROTECTED] >>> Skype -> daniloegea >>> Blog-> http://daniloegea.wordpress.com >>> >>> >>> --- Em sex, 14/11/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escreveu: >>> >>>> De: [EMAIL PROTECTED] <[EMAIL PROTECTED]> >>>> Assunto: Re: [FUG-BR] [OT] MailScanner não escaneia Postfix >>>> Para: "Lista Brasileira de Discussão sobre FreeBSD" >>>> <freebsd@fug.com.br> >>>> Data: Sexta-feira, 14 de Novembro de 2008, 19:41 >>>> Quais configurações você usa no postfix/mailscanner ? Só >>>> pra eu comparar >>>> com as minhas... >>>> >>>> Grato, >>>> >>>> >>>> > Sim ! >>>> > >>>> > [EMAIL PROTECTED] wrote: >>>> >> Cara, eu tô pirando aqui... Você usa o >>>> MailScanner com o Postfix ? >>>> >> >>>> >> >>>> >> >>>> >>> Certo, o problema que eu tive foi assim: >>>> tinham algumas regras no >>>> >>> SpamAssassin com erro de sintaxe, e o >>>> MailScanner ficava em loop >>>> >>> infinito como >>>> >>> vc citou, depois que eu corrigi os erros o >>>> MailScanner iniciou >>>> >>> normalmente... >>>> >>> >>>> >>> >>>> >>> [EMAIL PROTECTED] wrote: >>>> >>> >>>> >>>> Eu não inicio o spamassassin, pq como eu >>>> já faço no sendmail, eu deixo >>>> >>>> pro >>>> >>>> mailscanner chamar ele só quando >>>> precisa... >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>>> Hummmm já tive um problema parecido, >>>> no meu caso o spamd nao estava >>>> >>>>> rodando, ai o MailScanner ficava assim >>>> >>>>> até que eu iniciasse ele... >>>> >>>>> >>>> >>>>> Vc iniciou o spamassassin ? >>>> >>>>> >>>> >>>>> [EMAIL PROTECTED] wrote: >>>> >>>>> >>>> >>>>> >>>> >>>>>> Rodei sim... E ai, quando eu envio >>>> a mensagem, me dá só isso: >>>> >>>>>> >>>> >>>>>> Nov 14 13:19:11 vmteste >>>> postfix/cleanup[1048]: 805865C35: hold: >>>> >>>>>> header >>>> >>>>>> Received: from controller3 >>>> (unknown [192.168.1.3])??by >>>> >>>>>> vmeste.teste.com >>>> >>>>>> (Postfix) with SMTP id >>>> 805865C35??for <[EMAIL PROTECTED]>; Fri, >>>> >>>>>> 14 >>>> >>>>>> Nov >>>> >>>>>> 2008 13:19:11 +0000 (UTC) from >>>> unknown[192.168.1.3]; >>>> >>>>>> from=<[EMAIL PROTECTED]> >>>> to=<[EMAIL PROTECTED]> proto=SMTP >>>> >>>>>> helo=<controller3> >>>> >>>>>> Nov 14 13:19:11 vmteste >>>> postfix/cleanup[1048]: 805865C35: >>>> >>>>>> >>>> message-id=<[EMAIL PROTECTED]> >>>> >>>>>> Nov 14 13:19:11 vmteste >>>> postfix/smtpd[1044]: disconnect from >>>> >>>>>> unknown[192.168.1.3] >>>> >>>>>> >>>> >>>>>> E outro detalhe, é que o >>>> MailScanner tá num looping infinito com >>>> >>>>>> essa >>>> >>>>>> mensagem: >>>> >>>>>> >>>> >>>>>> Nov 14 13:19:14 vmteste >>>> MailScanner[1046]: Using SpamAssassin >>>> >>>>>> results >>>> >>>>>> cache >>>> >>>>>> Nov 14 13:19:16 vmteste >>>> MailScanner[1049]: MailScanner E-Mail Virus >>>> >>>>>> Scanner version 4.67.6 starting... >>>> >>>>>> Nov 14 13:19:16 vmteste >>>> MailScanner[1049]: Read 814 hostnames from >>>> >>>>>> the >>>> >>>>>> phishing whitelist >>>> >>>>>> Nov 14 13:19:16 vmteste >>>> MailScanner[1049]: Read 5511 hostnames from >>>> >>>>>> the >>>> >>>>>> phishing blacklist >>>> >>>>>> Nov 14 13:19:17 vmteste >>>> MailScanner[1049]: SpamAssassin temporary >>>> >>>>>> working >>>> >>>>>> directory is >>>> /var/spool/MailScanner/incoming/SpamAssassin-Temp >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>>> depois que vc alterou o >>>> arquivo header_checks vc rodou o postmap >>>> >>>>>>> >>>> /usr/local/etc/postfix/header_checks neh ? >>>> >>>>>>> >>>> >>>>>>> bom, fora isso, as >>>> configuracoes estao certas, eh pra funcionar, no >>>> >>>>>>> maillog nao da nada referente >>>> ao MailScanner ? >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> [EMAIL PROTECTED] wrote: >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>> >>>> >>>>>>>> Eu adicionei essa linha no >>>> main.cf header_checks > >>>> >>>>>>>> >>>> regexp:/usr/local/etc/postfix/header_checks, criei o >>>> respectivo >>>> >>>>>>>> arquivo >>>> >>>>>>>> e >>>> >>>>>>>> dentro dele coloquei >>>> /^Received:/ HOLD e alterei só essas linhas >>>> >>>>>>>> no >>>> >>>>>>>> MailScanner.conf: >>>> >>>>>>>> >>>> >>>>>>>> Run As User = postfix >>>> >>>>>>>> Run As Group > postfix >>>> >>>>>>>> Incoming Queue Dir > /var/spool/postfix/hold >>>> >>>>>>>> Outgoing Queue Dir > /var/spool/postfix/incoming >>>> >>>>>>>> MTA = postfix >>>> >>>>>>>> >>>> >>>>>>>> Essas configurações, eu >>>> segui a partir do site oficial do >>>> >>>>>>>> MailScanner >>>> >>>>>>>> em >>>> >>>>>>>> >>>> http://www.mailscanner.info/postfix.html >>>> >>>>>>>> >>>> >>>>>>>> Grato, >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>> >>>> >>>>>>>>> Como estao suas >>>> configuracoes do MailScanner ? >>>> >>>>>>>>> >>>> >>>>>>>>> envie as linhas que vc >>>> alterou por favor... >>>> >>>>>>>>> >>>> >>>>>>>>> abracos... >>>> >>>>>>>>> >>>> >>>>>>>>> [EMAIL PROTECTED] >>>> wrote: >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>> >>>> >>>>>>>>>> Bom dia, >>>> >>>>>>>>>> >>>> >>>>>>>>>> Estou migrando meu >>>> servidor sendmail para um postfix + mysql + >>>> >>>>>>>>>> mailscanner >>>> >>>>>>>>>> + courier... Está >>>> tudo funcionando perfeitamente, pop, imap, >>>> >>>>>>>>>> smtp, >>>> >>>>>>>>>> ele >>>> >>>>>>>>>> envia e recebe as >>>> mensagens tudo beleza, mas o unico problema, é >>>> >>>>>>>>>> que >>>> >>>>>>>>>> a >>>> >>>>>>>>>> mensagem não é >>>> verificada pelo mailscanner, o postfix passa ela >>>> >>>>>>>>>> direto >>>> >>>>>>>>>> sem >>>> >>>>>>>>>> tratamento algum. >>>> Depois de brigrar um pouco, ele já não passa >>>> >>>>>>>>>> mais >>>> >>>>>>>>>> a >>>> >>>>>>>>>> mensagem, >>>> simp´lesmente coloca em hold e não vai mai s pra canto >>>> >>>>>>>>>> nenhum... >>>> >>>>>>>>>> >>>> >>>>>>>>>> Ai está meu >>>> mail.cf : >>>> >>>>>>>>>> >>>> >>>>>>>>>> queue_directory > /var/spool/postfix >>>> >>>>>>>>>> program_directory >>>> = /usr/local/sbin >>>> >>>>>>>>>> command_directory >>>> = /usr/local/sbin >>>> >>>>>>>>>> daemon_directory > /usr/local/libexec/postfix >>>> >>>>>>>>>> mail_owner > postfix >>>> >>>>>>>>>> default_privs > nobody >>>> >>>>>>>>>> default_transport >>>> = smtp >>>> >>>>>>>>>> alias_maps > hash:/usr/local/etc/postfix/aliases >>>> >>>>>>>>>> alias_database > hash:/usr/local/etc/postfix/aliases >>>> >>>>>>>>>> readme_directory > no >>>> >>>>>>>>>> sample_directory > /usr/local/etc/postfix >>>> >>>>>>>>>> sendmail_path > /usr/local/sbin/sendmail >>>> >>>>>>>>>> manpage_directory >>>> = /usr/local/man >>>> >>>>>>>>>> newaliases_path > /usr/local/bin/newaliases >>>> >>>>>>>>>> mailq_path > /usr/local/bin/mailq >>>> >>>>>>>>>> smtpd_banner > $myhostname ESMTP "Version not Available" >>>> >>>>>>>>>> >>>> disable_vrfy_command = yes >>>> >>>>>>>>>> home_mailbox > Maildir/ >>>> >>>>>>>>>> myhostname > vmeste.teste.com >>>> >>>>>>>>>> mydomain > teste.com >>>> >>>>>>>>>> myorigin > $mydomain >>>> >>>>>>>>>> mydestination > $mydomain, $transport_maps >>>> >>>>>>>>>> mynetworks > 127.0.0.0/8 192.168.254.0/24 192.168.1.0/24 >>>> >>>>>>>>>> virtual_alias_maps >>>> >>> >>>> >>>>>>>>>> >>>> mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf >>>> >>>>>>>>>> >>>> virtual_mailbox_base = /usr/local/vmail >>>> >>>>>>>>>> >>>> virtual_mailbox_maps > >>>> >>>>>>>>>> >>>> mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf >>>> >>>>>>>>>> virtual_uid_maps >>>> = static:5001 >>>> >>>>>>>>>> virtual_gid_maps >>>> = static:5001 >>>> >>>>>>>>>> transport_maps >>>> >>>>>>> >>>> >>>>>>>>>> >>>> mysql:/usr/local/etc/postfix/mysql_transport_maps.cf >>>> >>>>>>>>>> >>>> virtual_mailbox_limit_inbox = no >>>> >>>>>>>>>> >>>> virtual_mailbox_limit_maps > >>>> >>>>>>>>>> >>>> mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_limit_maps.cf >>>> >>>>>>>>>> >>>> virtual_mailbox_limit_override = yes >>>> >>>>>>>>>> >>>> virtual_maildir_extended = yes >>>> >>>>>>>>>> >>>> virtual_create_maildirsize = yes >>>> >>>>>>>>>> >>>> virtual_mailbox_limit = 100000000 >>>> >>>>>>>>>> >>>> virtual_maildir_limit_message = Sorry, the user's >>>> maildir has >>>> >>>>>>>>>> overdrawn >>>> >>>>>>>>>> his diskspace >>>> quota, please try again later. >>>> >>>>>>>>>> >>>> virtual_overquota_bounce = yes >>>> >>>>>>>>>> >>>> smtpd_sasl_auth_enable = yes >>>> >>>>>>>>>> >>>> smtpd_sasl_security_options = noanonymous >>>> >>>>>>>>>> >>>> broken_sasl_auth_clients = yes >>>> >>>>>>>>>> >>>> smtpd_recipient_restrictions > >>>> permit_sasl_authenticated, >>>> >>>>>>>>>> >>>> permit_mynetworks, >>>> >>>>>>>>>> >>>> check_relay_domains >>>> >>>>>>>>>> fallback_transport >>>> = maildrop >>>> >>>>>>>>>> >>>> maildrop_destination_recipient_limit = 1 >>>> >>>>>>>>>> >>>> unknown_local_recipient_reject_code = 450 >>>> >>>>>>>>>> html_directory > no >>>> >>>>>>>>>> setgid_group > maildrop >>>> >>>>>>>>>> data_directory > /var/db/postfix >>>> >>>>>>>>>> >>>> >>>>>>>>>> O master.cf: >>>> >>>>>>>>>> >>>> >>>>>>>>>> maildrop unix - >>>> n n - - pipe >>>> >>>>>>>>>> flags=DRhu >>>> user=maildrop argv=/usr/local/bin/maildrop -w 90 -d >>>> >>>>>>>>>> ${recipient} >>>> >>>>>>>>>> vacation unix - >>>> n n - - pipe >>>> >>>>>>>>>> flags=DRhu >>>> user=vacation:vacation >>>> >>>>>>>>>> >>>> argv=/var/spool/postfix/vacation/vacation.pl -f ${sender} -- >>>> >>>>>>>>>> ${recipient} >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> >>>>>>>>>> >>>> -- >>>> Junior Pires >>>> Encarregado de TI >>>> Gujão Alimentos >>>> Tel: (75) 3244-2121 Ramal 218 > > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > > -- > Esta mensagem foi verificada pelo sistema de antivírus e > acredita-se estar livre de perigo. > >
-- Junior Pires Encarregado de TI Gujão Alimentos Tel: (75) 3244-2121 Ramal 218 -- Esta mensagem foi verificada pelo sistema de antivírus e acredita-se estar livre de perigo. ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd