Olá pessoal! estou numa briga travada aqui com esta configuração, mas é o seguinte, estou com o postfix instalado e não sei como fazer ao certo a configuração.
instalei também o qpopper para receber as mensagens consigo enviar mensagens para outros emails, por exemplo do terra, utilizando o meu gateway, mas não consigo receber nem mesmo de um usuário: [EMAIL PROTECTED] para [EMAIL PROTECTED] alguém pode me dar uma ajuda? acho que ou o postfix não está configurado corretamente ou tenho que fazer algo no qpopper para pegar as mensagens do lugar certo, mas como faço? mando em anexo o meu main.cf para possível análise (fim da mensagem). quando dou um telnet na porta 110 e posto o comando #user toninho #pass senha , tenho o retorno: +OK Qpopper (version 4.0.4) at pattynet.usinet.com.br starting. +OK Password required for toninho. +OK toninho has 0 visible messages (0 hidden) in 0 octets. Grato Leandro Fernandes Afonso #soft_bounce = no queue_directory = /var/spool/mail command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix #default_privs = nobody # INTERNET HOST AND DOMAIN NAMES #myhostname = host.domain.tld #myhostname = virtual.domain.tld mydomain = pattynet.com.br # SENDING MAIL #myorigin = $myhostname myorigin = $mydomain # RECEIVING MAIL inet_interfaces = all #inet_interfaces = $myhostname #inet_interfaces = $myhostname, localhost #mydestination = $myhostname, localhost.$mydomain #mydestination = $myhostname, localhost.$mydomain $mydomain mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain # TRUST AND RELAY CONTROL #mynetworks_style = class #mynetworks_style = subnet #mynetworks_style = host #mynetworks = 192.168.0.0/28, 127.0.0.0/8 #mynetworks = $config_directory/mynetworks #mynetworks = hash:/etc/postfix/network_table #relay_domains = $mydestination # INTERNET OR INTRANET #relayhost = $mydomain #relayhost = gateway.my.domain #relayhost = uucphost #relayhost = [an.ip.add.ress] # REJECTING UNKNOWN LOCAL USERS #local_recipient_maps = $alias_maps unix:passwd.byname # INPUT RATE CONTROL #in_flow_delay = 1s # ADDRESS REWRITING # ADDRESS REDIRECTION (VIRTUAL DOMAIN) # # Insert text from sample-virtual.cf if you need virtual domain support. # "USER HAS MOVED" BOUNCE MESSAGES # TRANSPORT MAP # ALIAS DATABASE # #alias_maps = dbm:/etc/aliases #alias_maps = hash:/etc/aliases #alias_maps = hash:/etc/aliases, nis:mail.aliases #alias_maps = netinfo:/aliases #alias_database = dbm:/etc/aliases #alias_database = dbm:/etc/mail/aliases #alias_database = hash:/etc/aliases #alias_database = hash:/etc/aliases, hash:/opt/majordomo/aliases # ADDRESS EXTENSIONS (e.g., user+foo) # #recipient_delimiter = + # DELIVERY TO MAILBOX #home_mailbox = Mailbox #home_mailbox = Maildir/ #mail_spool_directory = /var/mail #mail_spool_directory = /var/spool/mail #mailbox_command = /some/where/procmail #mailbox_command = /some/where/procmail -a "$EXTENSION" #mailbox_transport = lmtp:unix:/file/name #mailbox_transport = cyrus #fallback_transport = lmtp:unix:/file/name #fallback_transport = cyrus #fallback_transport = #luser_relay = [EMAIL PROTECTED] #luser_relay = [EMAIL PROTECTED] #luser_relay = admin+$local # JUNK MAIL CONTROLS #header_checks = regexp:/etc/postfix/header_checks # FAST ETRN SERVICE # #fast_flush_domains = $relay_domains #fast_flush_domains = # SHOW SOFTWARE VERSION OR NOT # #smtpd_banner = $myhostname ESMTP $mail_name #smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) # PARALLEL DELIVERY TO THE SAME DESTINATION # #local_destination_concurrency_limit = 2 #default_destination_concurrency_limit = 10 # DEBUGGING CONTROL debug_peer_level = 2 #debug_peer_list = 127.0.0.1 #debug_peer_list = some.domain debugger_command = PATH=/usr/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 # INSTALL-TIME CONFIGURATION INFORMATION sendmail_path = /usr/sbin/sendmail newaliases_path = /usr/bin/newaliases mailq_path = /usr/bin/mailq setgid_group = postdrop manpage_directory = /usr/local/man sample_directory = /etc/postfix readme_directory = /etc/postfix

