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