I have set postfix in localhost. but why it reject to use the other username except my computer name. i've set the main.cf as follow:
myhostname = yuki
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = yuki.com yuki localhost.localdomain localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
home_mailbox = Maildir/
when i type from terminal:
sudo telnet localhost 25 ==>the result is ok, as follow:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 yuki ESMTP Postfix (Ubuntu)
but when i type from terminal:
sudo telnet yuki.com 25==>the result is:
telnet: could not resolve yuki.com/25: Name or service not known
but when i type from terminal:
sudo telnet yuki-PC 25==> the result is:
Trying 127.0.1.1...
Connected to yuki-PC.
Escape character is '^]'.
220 yuki ESMTP Postfix (Ubuntu)
Note:yuki-PC is my computer name.
and also when I send email, the email is sent, but when i look in /home/yuki/Maildir/new
there is no email there.
help me please, i'm really newbie in network.