I am using debian.
I have installed postfix, but when i try to send mail from my gmail.com accoungto my new mail address email@example.com
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[188.8.131.52]
Feb 11 19:02:16 mail postfix/smtpd: NOQUEUE: reject: RCPT from nf-out-0910.google.com[184.108.40.206]: 554 <firstname.lastname@example.org>: Relay access denied; from=<email@example.com> to=<firstname.lastname@example.org> proto=ESMTP helo=<nf-out-0910.google.com>
Feb 11 19:02:16 mail postfix/smtpd: disconnect from nf-out-0910.google.com[220.127.116.11]
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 <email@example.com> <pass>
a NO Authentication failed.
guess i need to have test added somewhere somwhow.