I am using debian.
I have installed postfix, but when i try to send mail from my gmail.com accoungto my new mail address firstname.lastname@example.org
it dosent get delivered.
i have also installed procmail and doevcot.
The user "test" has been created by the useradd command, as i understood that is how a user is added to postfix.
I used dpkg-reconfugure postfix to setup postfix
my postfix main.cf file:
myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.myservername.com, localhost.localdomain, localhost.localdomain, localhost
mynetworks = 127.0.0.0/8 10.0.0.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
my /var/log/mail.log file:
Feb 11 19:02:15 mail postfix/smtpd: connect from nf-out-0910.google.com[220.127.116.11]
Feb 11 19:02:16 mail postfix/smtpd: NOQUEUE: reject: RCPT from nf-out-0910.google.com[18.104.22.168]: 554 <email@example.com>: Relay access denied; from=<firstname.lastname@example.org> to=<email@example.com> proto=ESMTP helo=<nf-out-0910.google.com>
Feb 11 19:02:16 mail postfix/smtpd: disconnect from nf-out-0910.google.com[22.214.171.124]
So a problem with relay access, however i havent got a clue what that is. Any help appreciated.
Also. i tried telnet to post 143 (imap) and i could not login to the dovecot imap server.
* OK dovecot ready.
a login <firstname.lastname@example.org> <pass>
a NO Authentication failed.
guess i need to have test added somewhere somwhow.