can't recive mail

5 posts / 0 new
Last post
#1 Thu, 09/29/2011 - 16:29
sid

can't recive mail

I can send mail, but if i send mail to my server my mail bounce and it says:

This is the mail system at host 89.205.123.186.robi.com.mk.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system<stipkan1@stipka.com>: User unknown in virtual alias table
Final-Recipient: rfc822; stipkan1@stipka.com
Original-Recipient: rfc822;stipkan1@stipka.com
Action: failed Status: 5.0.0
Diagnostic-Code: X-Postfix; User unknown in virtual alias table

I read the help on https://www.virtualmin.com/documentation/email/faq Iread that the problem would be something with the hostname in /etc/hosts and /etc/postfix/main.cf when i ran hostname I get 89.205.123.186.robi.com.mk but on hostname -f I get only 89 how can I fix this? to receive mail?

Thu, 09/29/2011 - 17:01
andreychek

Howdy,

You would want your hostname to be a full FQDN... something like host.domain.tld.

You can try setting your hostname with "hostname host.domain.tld", then restart Postfix with "/etc/init.d/postfix restart".

If you go into System Settings -> Recheck Config, it should let you know during that system check if it thinks that email problem is occurring.

-Eric

Thu, 09/29/2011 - 17:52
sid

well i write 's1.stipka.com' and restart the postfix but when i run 'Recheck Config' I get the following error Your Postfix configuration is missing the system's mail hostname stipka.com from the mydestination line, which will cause mail to bounce.

Do I need to put all my domains in mydestination in /etc/postfix/main.cf ?

Tanks for the help

Thu, 09/29/2011 - 17:58
andreychek

Do I need to put all my domains in mydestination in /etc/postfix/main.cf ?

Nope! Just the systems hostname. Or actually, as it mentions above, the "mail hostname". Which is usually the systems hostname, but for some reason in your case is a regular domain name.

-Eric

Thu, 09/29/2011 - 18:25
sid

What to do now? Pleas can you explain in more detail because I'm a beginner at web hosting. My host is 89.205.123.186.robi.com.mk ant my /etc/postfix/main.cf looks like this 'mydestination = localhost.com, localhost, 89.205.123.186.robi.com.mk' My /etc/hosts is 127.0.0.1 localhost.localdomain localhost 89.205.123.186 89.205.123.186.robi.com.mk s1

Is this ok and what shuld i do next? to make mail receive mail?

Tanks

Topic locked