On 09.04.2015, Peter Ulrich Kruppa wrote:
but I can't receive mails from outside.
Do you have any DNS-record for your machine, is it reachable from the outside
world? If yes, you'll most likely have to forward the mail-port (usually 25) to
the internal IP your mailserver is listening on, as already mentioned in this
thread.
If it's a "one man only" system, you most likely want to poll your mail
with
something like getmail or fetchmail, which can hand your mail over to postfix
or deliver it directly into your maildir/mbox.