Config do Postfix falta algo ?
Pessoal pode parecer ignorância minha mas naum manjo nada de postfix e tô levando um baile pra configurar ele na minha rede interna, queria saber se depois de configurar o postfix tem que fazer mais alguma coisa tipo incluir os susários em algum lugar ou alguma outra configuração alem do main.cf ?
tipo quando tendo enviar açguma msg pelo outlook ele me retorna a seguinte msg :
A mensagem não pôde ser enviada porque um de seus destinatários foi recusado pelo servidor. O endereço eletrônico recusado foi ´[email protected]´. Assunto ´teste´, Conta: ´Server´, Servidor: ´10.24.100.3´, Protocolo: SMTP, Resposta do servidor: ´554 <[email protected]>: Recipient address rejected: Relay access denied´, Porta: 25, Segura (SSL): Não, Erro do servidor: 554, Nº do erro: 0x800CCC79
O que pode estar acontecendo ?
Abraço
Celosc
Config do Postfix falta algo ?
vc precisa liberar o relay de emails para a sua rede interna.. pois por default.. o postfix fecha o relay de emails..
verifique se vc tem isso aqui no seu main.cf:
mynetworks = 192.168.0.0/24, 127.0.0.0/8
mydestination = $myhostname, $mydomain, hash:/etc/postfix/relay_domains
e em todas as suas SMTP restrictions.. verifique se existe essa linha:
permit_mynetworks,
caso o seu postfix for atender mais de um dominio.. no arquivo relay_domains vc cadastra os dominios loacis para o postfix fazer relay..
nao esqueça de criar o mapa de pesquisa para o arquivo relay_domains tb..
postmap /etc/postfix/relay_domains
PS.: se vc nao conhece nada de SMTP.. com certeza é interessante vc estudar um pouquinho mais o conceito de um SMTP antes de implementar ele em uma Empresa ok.. senão.. como vc mesmo disse.. vc só irá bater cabeça.. e nao vai a lugar algum.
Config do Postfix falta algo ?
Danilo, sendo o IP da minha rede 10.24.100.0 o complemento seria /21 ?
Config do Postfix falta algo ?
Vou postar abaixo o meu arquivo de Log do maillog:
Aug 4 08:06:32 Server postfix-script: warning: group or other writable: /etc/postfix/./master.cf
Aug 4 08:06:32 Server postfix-script: warning: group or other writable: /etc/postfix/./access.db
Aug 4 08:06:32 Server postfix-script: warning: group or other writable: /etc/postfix/./canonical.db
Aug 4 08:06:32 Server postfix-script: warning: group or other writable: /etc/postfix/./aliases.db
Aug 4 08:06:32 Server postfix-script: warning: group or other writable: /etc/postfix/./access.rpmorig
Aug 4 08:06:32 Server postfix-script: warning: group or other writable: /etc/postfix/./aliases.rpmorig
Aug 4 08:06:32 Server postfix-script: warning: group or other writable: /etc/postfix/./canonical.rpmorig
Aug 4 08:06:32 Server postfix-script: warning: group or other writable: /etc/postfix/./master.cf.rpmorig
Aug 4 08:12:29 Server postfix/pickup[987]: 3CC771A3651: uid=0 from=<root>
Aug 4 08:12:29 Server postfix/cleanup[1380]: 3CC771A3651: message-id=<[email protected]>
Aug 4 08:12:29 Server postfix/qmgr[988]: 3CC771A3651: from=<[email protected]>, size=373, nrcpt=1 (queue active)
Aug 4 08:12:31 Server postfix/smtp[1382]: 3CC771A3651: to=<[email protected]>, relay=none, delay=3, status=bounced (Name service error for server.12becmb.com.br: Host not found)
Aug 4 08:12:31 Server postfix/cleanup[1380]: 715C71A3652: message-id=<[email protected]>
Aug 4 08:12:31 Server postfix/qmgr[988]: 715C71A3652: from=<>, size=2100, nrcpt=1 (queue active)
Aug 4 08:12:31 Server postfix/smtp[1382]: 715C71A3652: to=<[email protected]>, relay=none, delay=0, status=bounced (Name service error for server.12becmb.com.br: Host not found)
Aug 4 10:18:43 Server postfix-script: stopping the Postfix mail system
Aug 4 10:18:44 Server postfix/master[983]: terminating on signal 15
Aug 4 10:18:48 Server postfix-script: warning: group or other writable: /etc/postfix/./master.cf
Aug 4 10:18:49 Server postfix-script: warning: group or other writable: /etc/postfix/./access.db
Aug 4 10:18:49 Server postfix-script: warning: group or other writable: /etc/postfix/./canonical.db
Aug 4 10:18:49 Server postfix-script: warning: group or other writable: /etc/postfix/./aliases.db
Aug 4 10:18:49 Server postfix-script: warning: group or other writable: /etc/postfix/./access.rpmorig
Aug 4 10:18:49 Server postfix-script: warning: group or other writable: /etc/postfix/./aliases.rpmorig
Aug 4 10:18:50 Server postfix-script: warning: group or other writable: /etc/postfix/./canonical.rpmorig
Aug 4 10:18:50 Server postfix-script: warning: group or other writable: /etc/postfix/./master.cf.rpmorig
Aug 4 10:18:57 Server postfix-script: starting the Postfix mail system
Aug 4 10:18:58 Server postfix/master[3109]: daemon started
Aug 4 10:19:12 Server ipop3d[3120]: pop3 service init from 10.24.100.2
Aug 4 10:19:14 Server ipop3d[3120]: Login user=cbconterato host=[10.24.100.2] nmsgs=0/0
Aug 4 10:19:14 Server ipop3d[3120]: Logout user=cbconterato host=[10.24.100.2] nmsgs=0 ndele=0
Aug 4 10:19:48 Server ipop3d[3121]: pop3 service init from 10.24.100.2
Aug 4 10:19:49 Server ipop3d[3121]: Login user=cbconterato host=[10.24.100.2] nmsgs=0/0
Aug 4 10:19:49 Server ipop3d[3121]: Logout user=cbconterato host=[10.24.100.2] nmsgs=0 ndele=0
Aug 4 10:20:23 Server postfix/smtpd[3129]: connect from unknown[10.24.100.2]
Aug 4 10:20:24 Server postfix/smtpd[3129]: 257FC1A3651: client=unknown[10.24.100.2]
Aug 4 10:20:24 Server postfix/cleanup[3130]: 257FC1A3651: message-id=<000a01c35a8b$b6cd55d0$0264180a@SERVIDOR>
Aug 4 10:20:24 Server postfix/smtpd[3129]: disconnect from unknown[10.24.100.2]
Aug 4 10:20:25 Server postfix/qmgr[3117]: 257FC1A3651: from=<[email protected]>, size=1455, nrcpt=1 (queue active)
Aug 4 10:20:37 Server postfix/smtp[3132]: 257FC1A3651: to=<[email protected]>, relay=none, delay=13, status=bounced (Name service error for 12becmb.com.br: Host not found)
Aug 4 10:20:37 Server postfix/cleanup[3130]: D69411A3652: message-id=<[email protected]>
Aug 4 10:20:38 Server postfix/qmgr[3117]: D69411A3652: from=<>, size=3168, nrcpt=1 (queue active)
Aug 4 10:20:39 Server postfix/smtp[3132]: D69411A3652: to=<[email protected]>, relay=none, delay=2, status=bounced (Name service error for 12becmb.com.br: Host not found)
Se alguém puder dar uma olhada nele e me dizer o que pode estar dando erro.
Abraço
Celoscundefined
[ Esta mensagem foi editada por: celosc em 04-08-2003 10:26 ]