Segue o main.cf, lembrando que o IP desse local está no mynetworks do
servidor relay.
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
# TLS parameters
#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
#smtpd_use_tls=yes
#smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = mailhost.ouroverde.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost.localdomain, localhost,
201-55-232-1-amr.vivax.com.br
mynetworks = 127.0.0.0/8, 192.168.40.41
mailbox_size_limit = 20048
recipient_delimiter = +
inet_interfaces = all
maximal_queue_lifetime = 1h
# Autenticação SMTP externo
smtp_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
relayhost = mx1.dglnet.com.br
Em 26 de maio de 2010 18:09, Hamilton Vera <[email protected]>escreveu:
> É melhor mandar o seu main.cf.
>
>
> 2010/5/26 Cristiano Rogieri <[email protected]>:
> > Boa Noite Pessoal,
> >
> > Estou com o seguinte problema, tenho uma impressora que faz envio de
> > e-mails, porém não tenho servidor de e-mail localmente, mas estou
> tentando
> > criar um smtp local no meu firewall.
> > Estou quase lá, porém acredito que falta alguma configuração no main.cf,
> > pois está dando a mensagem abaixo.
> >
> > status=bounced (SASL authentication failed; server said: 535 5.7.8 Error:
> > authentication failed: )
> >
> > Estou fazendo relay em um servidor da empresa que fica fora...
> > Alguém podeir me ajudar?
> > Acredito que falta criaralgum usuário e senha no main.cf, porém não sei
> a
> > linha exata.
> > _______________________________________________
> > 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