OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Postfix relay access denied

From: El Neofito (elnuevopajaroyahoo.com)
Date: Mon Aug 01 2005 - 00:43:38 CDT


Hi Guys,

I tried to test my postfix which is under an NAT and hasnt pointed to any domain name. I tried using it to send to other external mail servers and it's ok. But when I tried to send a e-mail externally to my postfix server at validuser[my_postfix_server_public_ip] it fails and i get:

NOQUEUE: reject: RCPT from externalSMTPFQDN[externalip]: 554 <validuser[my_postfix_server_public_ip]>: Relay access denied; from=<my_external_email_accountdomain> to=<validuser[my_postfix_server_public_ip]> proto=SMTP helo=<externalSMTPFQDN>

I have tried:
mydestination=$myhostname, localhost.$domain, localhost, my_postfix_server_public_ip
but didnt work

So i also tried:
(main.cf)
     virtual_alias_domains=my_postfix_server_public_ip
     virtual_alias_maps=hash:/etc/postfix/virtual
(virtual)
     my_postfix_server_public_ip localhost
postmap virtual
postfx reload

But still didnt work. What can i do to accept all incoming emails to local users? And is it disabled by default?

Thanks a million

Send instant messages to your online friends http://uk.messenger.yahoo.com