Ubuntu: problema ao configurar o Mail Server

0

Eu estava seguindo o link do Guid @ . Mas me deparei com alguns problemas.

o primeiro problema foi: (mail.log)

Jan 19 21:52:07 ... imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 19 21:52:07 ... imapd: chdir example.eu/jan/: No such file or directory
Jan 19 21:52:07 ... imapd: [email protected]: No such file or directory

Depois de um tempo pesquisando, descobri que as pastas são criadas inicialmente quando eu recebo meu primeiro e-mail. - > Então eu mandei um: (mail.log)

Jan 19 21:55:51 ... postfix/smtpd[1315]: connect from mx1.uni-trier.de[136.199.224.17]
Jan 19 21:55:51 ... postfix/trivial-rewrite[1278]: warning: do not list domain example.eu in BOTH mydestination and virtual_mailbox_domains
Jan 19 21:55:51 ... postfix/smtpd[1315]: C0A1C231808A: client=mx1.uni-trier.de[136.199.224.17]
Jan 19 21:55:51 ... postfix/cleanup[1318]: C0A1C231808A: message-id=<[email protected]>
Jan 19 21:55:51 ... postfix/qmgr[1177]: C0A1C231808A: from=<[email protected]>, size=1179, nrcpt=1 (queue active)

Para mim, parece que o servidor de e-mail está recebendo meu e-mail, mas a conta de envio me diz:

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below[...]

Tem alguma ideia do porquê? Eu fiz exatamente o caminho de guia.

Obrigado antecipadamente.

EDITAR:

  • /etc/postfix/main.cf @ link
  • Configuração do Courier pode ser encontrado aqui: link
por Langusten Gustel 19.01.2013 / 22:12

1 resposta

1
  1. main.cf , modifique a linha 34, remova example.eu . Reinicie o postfix

  2. Existe algum diretório / home / vmail /?

  3. No servidor de email, o seguinte comando envia com êxito um email para o usuário?

    mail <username>
    

    Ou o passo 14 no P4 do seu link link

  4. Linha 43, erro potencial no tutorial

    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    

    Shoule seja

    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
    
  5. Crie o Maildir manualmente

    mkdir /home/vmail/<username>
    maildirmake /home/vmail/<username>/Maildir
    chown -R 5000:5000 /home/vmail/<username>
    
por 20.01.2013 / 08:03