Novo em Linux/Postfix
Bom dia amigos, sou um analista ms e cisco, e estou me dedicando ao linux agora pois sei que um verdadeiro profissional nao defende bandeiras, ele tem que fazer o melhor no que há para sua empresa e alguns sistemas sao melhores que outros...
O problema;
De uma semana pra ca comecei a futucar alguns mtas, vi que o sendmail é muito engessado e pulei pro postfix, estou fazendo um laboratorio em casa porém, estou sem sucesso.
Estou com um dos problemas ou meu MX ta configurado errado ou meu postfix ta errado, a questão que nao to conseguindo identificar.
quando tento enviar email com o comando mail ou por telnet usando o Helo e me manda essa msg aqui;
segue dadosJan 11 16:06:25 localhost postfix/smtp[2694]: F1E4B120236: to=<[email protected]>, relay=srvmail.mendes.tk[189.106.128.41]:25, delay=0.62, delays=0.01/0/0.61/0, dsn=5.4.6, status=bounced (mail for mendes.tk loops back to myself)
Meu dominio é o MENDES.TK
estou usando como gerenciado o AFRAID.ORG
estou usando ddns no meu roteador que é ACESSO.DLINKDDNS.COM
Meus registros no AFRAID.ORG sao;
mendes.tk (G) MX 10:smtp.mendes.tk
email.mendes.tk (G) CNAME acesso.dlinkddns.com
smtp.mendes.tk (G) A 208.69.32.145
Esse é meu main.cf e hosts
myhostname = smtp.mendes.tk
#myhostname = felipemendes.no-ip.info
#
mydomain = mendes.tk
#
#myorigin = $myhostname
myorigin = $mydomain
# RECEIVING MAIL
# The inet_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on. By default,
# the software claims all active interfaces on the machine. The
# parameter also controls delivery of mail to user@[ip.address].
#
# See also the proxy_interfaces parameter, for network addresses that
# are forwarded to us via a proxy or network address translator.
#
# Note: you need to stop/start Postfix when this parameter changes.
#
inet_interfaces = all
#inet_interfaces = $myhostname
#inet_interfaces = $myhostname, localhost
#inet_interfaces = localhost
# The proxy_interfaces parameter specifies the network interface
# addresses that this mail system receives mail on by way of a
# proxy or network address translation unit. This setting extends
# the address list specified with the inet_interfaces parameter.
#
# You must specify your proxy/NAT addresses when your system is a
# backup MX host for other domains, otherwise mail delivery loops
# will happen when the primary MX host is down.
#
#proxy_interfaces =
#proxy_interfaces = 1.2.3.4
# The mydestination parameter specifies the list of domains that this
# machine considers itself the final destination for.
#
# These domains are routed to the delivery agent specified with the
# local_transport parameter setting. By default, that is the UNIX
# compatible delivery agent that lookups all recipients in /etc/passwd
# and /etc/aliases or their equivalent.
#
# The default is $myhostname + localhost.$mydomain. On a mail domain
# gateway, you should also include $mydomain.
#
# Do not specify the names of virtual domains - those domains are
# specified elsewhere (see VIRTUAL_README).
#
# Do not specify the names of domains that this machine is backup MX
# host for. Specify those names via the relay_domains settings for
# the SMTP server, or use permit_mx_backup if you are lazy (see
# STANDARD_CONFIGURATION_README).
#
# The local machine is always the final destination for mail addressed
# to user@[the.net.work.address] of an interface that the mail system
# receives mail on (see the inet_interfaces parameter).
#
# Specify a list of host or domain names, /file/name or type:table
# patterns, separated by commas and/or whitespace. A /file/name
# pattern is replaced by its contents; a type:table is matched when
# a name matches a lookup key (the right-hand side is ignored).
# Continue long lines by starting the next line with whitespace.
#
# See also below, section "REJECTING MAIL FOR UNKNOWN LOCAL USERS".
#
mydestination = $myhostname, localhost.$mydomain, localhost,
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
# mail.$mydomain, www.$mydomain, ftp.$mydomain
# REJECTING MAIL FOR UNKNOWN LOCAL USERS
#
# The local_recipient_maps parameter specifies optional lookup tables
# with all names or addresses of users that are local with respect
# to $mydestination, $inet_interfaces or $proxy_interfaces.
#
# If this parameter is defined, then the SMTP server will reject
# mail for unknown local users. This parameter is defined by default.
#
# To turn off local recipient checking in the SMTP server, specify
# local_recipient_maps = (i.e. empty).
#
# The default setting assumes that you use the default Postfix local
# delivery agent for local delivery. You need to update the
# local_recipient_maps setting if:
#
# - You define $mydestination domain recipients in files other than
# /etc/passwd, /etc/aliases, or the $virtual_alias_maps files.
# For example, you define $mydestination domain recipients in
# the $virtual_mailbox_maps files.
#
# - You redefine the local delivery agent in master.cf.
#
# - You redefine the "local_transport" setting in main.cf.
#
# - You use the "luser_relay", "mailbox_transport", or "fallback_transport"
# feature of the Postfix local delivery agent (see local(8)).
[/quote]
Ja tentei de tudo. se alguem puder me ajudar vou ficar feliz pra cacete.127.0.0.1 localhost.localdomain localhost
Valeu