Hi!
I am trying to get postfix to work but it is not that simple.
Background: there is a domain provider, similar to dyndns.com . I have a registered account. The MX record of their system is pointing to my computer. What I have so far:
/etc/hostname:
/etc/hosts:
Code:
192.168.0.119 danis.myip.hu danis
127.0.0.1 localhost.localdomain localhost
/etc/resolv.conf
Code:
search theirnameserver.ext
nameserver 123.123.123.123
The MX record is mail.danis.myip.hu.
My computer is behind a router but I forwarded all possible ports to the local computer. Eg: 53, 25, 143, 110, 80, 23, 22, 21
And what I am trying to do right now is only local delivery.
I have a debian Edgy core system installed, so not even the standard packages. I have postfix also installed. This is what I have in my main.cf file:
Code:
myorigin = $mydomain
mydestination = $myhostname localhost.$mydomain localhost $mydomain
myhostname = mail
mydomain = danis.myip.hu
mynetworks_style = host
mynetworks = 127.0.0.0/8 192.168.0.0/24
relay_domains = $mydestination
relayhost = $mydomain
notify_classes = policy, protocol, resource, software
inet_interfaces = all
After restarting postfix I tried to send a mail to another user:
mail -s test dani@localhost (I was root)
Test
Ctrl+D
CC:
Enter
And nothing happens. :S
I chked the mail as the other user su - dani -> mail
So what are the things that I messed up? Pls help me