[CentOS] Postfix dont work

Thu Nov 15 20:32:25 UTC 2012
Mike McCarthy <sysop at w1nr.net>

On 11/15/2012 01:18 PM, Andrei Rolando León Salas wrote:
> Hi, i send a email to my server but i get
>
> Technical details of permanent failure:
> Google tried to deliver your message, but it was rejected by the recipient
> domain. We recommend contacting the other email provider for further
> information about the cause of this error. The error that the other server
> returned was: 554 554 5.7.1 <postmaster at mercadeoeficaz-cr.com>: Relay
> access denied (state 13).
>


You do not have MYDOMAIN set in main.cf to mercadeoeficaz-cr.com and/or 
it is not in the host list file. Sending mail needs lines that specify 
who is allowed to "relay" mail through your server. Setting a "tail -f 
/var/log/maillog" will also give you much information on what is 
happening when sending and receiving mail.

Postfix is a very complex animal and I would recommend studying the 
documents at http://www.postfix.com/documentation.html thoroughly.

Mike