LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 02-11-2007, 01:06 PM   #1
mvp
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 52

Rep: Reputation: 15
trouble with my postfix server


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.

Last edited by mvp; 02-11-2007 at 01:22 PM.
 
Old 02-11-2007, 01:54 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

Your mydestination variable should list 'myservername.com' as one of its valid destinations.

Dave
 
Old 02-11-2007, 02:05 PM   #3
mvp
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 52

Original Poster
Rep: Reputation: 15
Yep that helped a lot thanks Dave
 
  


Reply

Tags
mailserver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix is having trouble with missing queue directories Wonko the Sane Linux - Software 9 08-04-2008 05:48 PM
Trouble removing postfix OneBinary Debian 1 01-02-2006 09:25 AM
Relay Server<-> GatewayServer<->filtering server: PostFix, amavis,spamassassin, cyrus admore Linux - General 0 11-02-2004 08:46 AM
Postfix installation trouble. cirofren Linux - Newbie 0 10-25-2003 08:14 PM
move postfix mails from server to another postfix server onetwo Linux - Software 2 03-18-2003 02:22 PM


All times are GMT -5. The time now is 06:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration