Obrigado amigo, funcionou.. agora eu consigo enviar.. porém, apresenta um erro novo, não chega os e-mails..
Nov 22 18:01:46 xxxcnn8164 amavis[15342]: (15342-03) Passed CLEAN, [209.85.161.181] <[email protected]> -> <[email protected]>, Message-ID: <CAF1jwZHj+Z4GH-Fv_yEBAxMT1rTKUxx9=KQ36Y34jvZwV= [email protected]>, mail_id: n1xmiihk0ZT4, Hits: -, size: 2640, queued_as: 4EFFE938D9, 168 ms Nov 22 18:01:46 xxxcnn8164 postfix/smtp[17998]: E09DC938D8: to=< [email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.57, delays=0.39/0.01/0.01/0.17, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 4EFFE938D9) Nov 22 18:01:46 xxxcnn8164 postfix/qmgr[17963]: E09DC938D8: removed Nov 22 18:01:46 xxxcnn8164 postfix/local[18001]: 4EFFE938D9: to=< [email protected]>, relay=local, delay=0.07, delays=0.02/0.02/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox) Nov 22 18:01:46 xxxcnn8164 postfix/qmgr[17963]: 4EFFE938D9: removed o log do syslog é esse: Nov 22 18:05:09 xxxcnn8164 postfix/smtpd[18052]: connect from mail-yw0-f53.google.com[209.85.213.53] Nov 22 18:05:10 xxxcnn8164 postfix/smtpd[18052]: setting up TLS connection from mail-yw0-f53.google.com[209.85.213.53] Nov 22 18:05:10 xxxcnn8164 postfix/smtpd[18052]: Anonymous TLS connection established from mail-yw0-f53.google.com[209.85.213.53]: TLSv1 with cipher RC4-SHA (128/128 bits) Nov 22 18:05:10 xxxcnn8164 postfix/smtpd[18052]: A2CA2938D8: client= mail-yw0-f53.google.com[209.85.213.53] Nov 22 18:05:10 xxxcnn8164 postfix/cleanup[18055]: A2CA2938D8: message-id=< caf1jwzh1_uoah2wnfvxuoqajmr2ecubsps4x5dsmvvf4wtc...@mail.gmail.com> Nov 22 18:05:10 xxxcnn8164 postfix/qmgr[17963]: A2CA2938D8: from=< [email protected]>, size=2631, nrcpt=1 (queue active) Nov 22 18:05:11 xxxcnn8164 postfix/smtpd[18058]: connect from localhost[127.0.0.1] Nov 22 18:05:11 xxxcnn8164 postfix/smtpd[18058]: 0D3AF938D9: client=localhost[127.0.0.1] Nov 22 18:05:11 xxxcnn8164 postfix/cleanup[18055]: 0D3AF938D9: message-id=< caf1jwzh1_uoah2wnfvxuoqajmr2ecubsps4x5dsmvvf4wtc...@mail.gmail.com> Nov 22 18:05:11 xxxcnn8164 postfix/smtpd[18058]: disconnect from localhost[127.0.0.1] Nov 22 18:05:11 xxxcnn8164 postfix/qmgr[17963]: 0D3AF938D9: from=< [email protected]>, size=3020, nrcpt=1 (queue active) Nov 22 18:05:11 xxxcnn8164 amavis[15343]: (15343-03) Passed CLEAN, [209.85.213.53] <[email protected]> -> <[email protected]>, Message-ID: < caf1jwzh1_uoah2wnfvxuoqajmr2ecubsps4x5dsmvvf4wtc...@mail.gmail.com>, mail_id: 4LqUa2n3j7aM, Hits: -, size: 2631, queued_as: 0D3AF938D9, 129 ms Nov 22 18:05:11 xxxcnn8164 postfix/smtp[18056]: A2CA2938D8: to=< [email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.54, delays=0.4/0/0/0.13, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 0D3AF938D9) Nov 22 18:05:11 xxxcnn8164 postfix/qmgr[17963]: A2CA2938D8: removed Nov 22 18:05:11 xxxcnn8164 postfix/local[18059]: 0D3AF938D9: to=< [email protected]>, relay=local, delay=0.05, delays=0.01/0.02/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox) Nov 22 18:05:11 xxxcnn8164 postfix/qmgr[17963]: 0D3AF938D9: removed Nov 22 18:05:16 xxxcnn8164 pop3d-ssl: Connection, ip=[::ffff:187.76.82.124] Nov 22 18:05:16 xxxcnn8164 pop3d-ssl: LOGIN, user=desenvolvimento, ip=[::ffff:187.76.82.124], port=[4286] Nov 22 18:05:16 xxxcnn8164 pop3d-ssl: LOGOUT, user=desenvolvimento, ip=[::ffff:187.76.82.124], port=[4286], top=0, retr=0, rcvd=12, sent=39, time=0 Nov 22 18:05:41 xxxcnn8164 postfix/smtpd[18052]: disconnect from mail-yw0-f53.google.com[209.85.213.53] Pelo log, parece que a msg chega e vai pro mailbox.. mas não aparece.. nem no squirrel nem no Thunderbird, parece que o amavis está certo, pois passou tudo certo.. o que pode estar dando erro? Obrigado T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares* *"Life is a game without Tutorial"* * * Analista e Desenvolvedor de Softwares for Win32 Linux Administrator Em 22 de novembro de 2011 17:39, Hamilton Vera <[email protected]>escreveu: > smtpd_recipient_restrictions = permit_mynetworks, > permit_sasl_authenticated, reject_unauth_destination, > > > Nesse caso o seu relay estaria aberto para sua rede e para os usuarios > autenticados, o reject_unauth_destination fecha o relay. > > On Tue, Nov 22, 2011 at 3:30 PM, Fellipe Henrique <[email protected]> > wrote: > > Amigos, estou terminando de configurar meu servidor postfix (como devem > ter > > notado, sou novato nisso).. configurei tudo, postfix, courier.. com > > autenticação sasl e conexao SSL com o POP3... no SMTP autenticacao usando > > STARTTLS.. porém ao enviar um email para o GMail por exemplo, apresenta o > > seguinte erro: Relay access denied; > > > > Como faço pra bloquear isso? > > > > Segue meu main.cf: > > > > smtpd_use_tls=yes > > smtp_tls_note_startls_offer = yes > > smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem > > smtpd_tls_loglevel = 1 > > smtpd_tls_received_header = yes > > smtpd_tls_session_cache_timeout = 3600s > > smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt > > smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key > > smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache > > smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache > > tls_random_source = dev:/dev/random > > > > myhostname = xxxcnn8164 > > alias_maps = hash:/etc/aliases > > alias_database = hash:/etc/aliases > > myorigin = /etc/mailname > > mydestination = pota.com.br, xxxcnn8164, localhost.localdomain, > localhost > > mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 > > relayhost = > > mailbox_size_limit = 0 > > recipient_delimiter = + > > inet_interfaces = all > > > > > > smtpd_sasl_local_domain = > > smtpd_sasl_auth_enable = yes > > smtpd_sasl_security_options = noanonymous > > broken_sasl_auth_clients = yes > > smtpd_recipient_restrictions = reject_invalid_hostname, > > reject_non_fqdn_sender,$ > > smtpd_tls_auth_only = no > > > > > > > > T.·.F.·.A.·. S+F > > > > *Fellipe Henrique P. Soares* > > > > *"Life is a game without Tutorial"* > > > > * > > * > > > > Analista e Desenvolvedor de Softwares for Win32 > > Linux Administrator > > _______________________________________________ > > Postfix-BR mailing list > > [email protected] > > http://listas.softwarelivre.org/mailman/listinfo/postfix-br > > > > > > -- > Hamilton Vera > int Administrator (char Network[],char ComputationalSystems[]) > http://hvera.wordpress.com > _______________________________________________ > Postfix-BR mailing list > [email protected] > http://listas.softwarelivre.org/mailman/listinfo/postfix-br > _______________________________________________ Postfix-BR mailing list [email protected] http://listas.softwarelivre.org/mailman/listinfo/postfix-br
