I discovered and fixed another problem:
when :
Code:
$myhostname = mail.dedicated1234.hostingcompany.com
I couldn't send emails with outlook trough port 587 (504 5.5.2 Helo response), but I could receive mail from emailboxes when emails were sent with my ISP smtp.
when:
Code:
$myhostname = dedicated1234.hostingcompany.com
as I already told before I get a return to sender response "user" not found.
So I went almost crazy...
until I discovered
Code:
mydestination = $myhostname, $mydomain
Now this setup works perfect!:
Code:
myhostname = dedicated1234.hostingcompany.net
mydomain = dedicated1234.hostingcompany.local
myorigin = $myhostname
smtpd_banner = $myhostname ESMTP
setgid_group = postdrop
#
# Receiving messages parameters;
#
mydestination = mail.$myhostname, $mydomain