LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2006, 01:23 AM   #1
mkeith
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
postfix problem


Hello everybody, this is my first post so please bear with me.
My problem is when I recieve an email from someone the email will be delevered to me ok but the person mailing it to me will get a return message stating "This message was created automatically by mail delvery mail software. A message that you sent could not be delevered to one or more of it's recipients. This is a permanent error. The following addresses failed. mkeithm@localhost smtp error 550 mkeithm@localhost recipient address rejected user unknown at local recipient table.
Can anybody help me out on this?
Thanks
Michael Keith
 
Old 06-12-2006, 10:02 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
First, welcome to LQ, mkeith.

About your question, please post the output of
Code:
postfconf -n
and the contents of your aliases file, the location of which is given by
Code:
postconf alias_database
 
Old 06-12-2006, 11:14 PM   #3
mkeith
LQ Newbie
 
Registered: May 2004
Posts: 2

Original Poster
Rep: Reputation: 0
here is my /etc/aliases file

root: mkeith
# Basic system aliases that MUST be present.
postmaster: root
mailer-daemon: postmaster
# amavis
virusalert: root
# General redirections for pseudo accounts in /etc/passwd.
administrator: root
daemon: root
lp: root
news: root
uucp: root
games: root
man: root
at: root
postgres: root
mdom: root
amanda: root
ftp: root
wwwrun: root
squid: root
msql: root
gnats: root
nobody: root
# "bin" used to be in /etc/passwd
bin: roott: mkeith
# Basic system aliases that MUST be present.
postmaster: root
mailer-daemon: postmaster
# amavis
virusalert: root
# General redirections for pseudo accounts in /etc/passwd.
administrator: root
daemon: root
lp: root
news: root
uucp: root
games: root
man: root
at: root
postgres: root
mdom: root
amanda: root
ftp: root
wwwrun: root
squid: root
msql: root
gnats: root
nobody: root
# "bin" used to be in /etc/passwd
bin: root
# Further well-known aliases for dns/news/ftp/mail/fax/web/gnats.
newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
hostmaster: root
mail: postmaster
postman: postmaster
post_office: postmaster
# "abuse" is often used to fight against spam email
abuse: postmaster
spam: postmaster
faxadm: root
faxmaster: root
webmaster: root
gnats-admin: root
mailman: root
mailman-owner: mailman

# Further well-known aliases for dns/news/ftp/mail/fax/web/gnats.
newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
hostmaster: root
mail: postmaster
postman: postmaster
post_office: postmaster
# "abuse" is often used to fight against spam email
abuse: postmaster
spam: postmaster
faxadm: root
faxmaster: root
webmaster: root
gnats-admin: root
mailman: root
mailman-owner: mailman

# /var/spool/mlmmj/myownlist (remember full path):
# myownlist: "| /usr/bin/mlmmj-recieve -L /var/spool/mlmmj/myownlist"
# Majordomo can be used to have mailinglists on your site.
#majordomo: "|/usr/lib/majordomo/wrapper majordomo"
#owner-majordomo: root,
#majordomo-owner: root,
# sample entry for a majordomo mailing-list called "test"
# read /usr/doc/packages/majordomo/README.linux for more information
# replace "test" with a new name and put the administrator into
# the "owner-test" alias instead of "root".
#
#test: "|/usr/lib/majordomo/wrapper resend -l test test-outgoing"
#test-outgoing: :include:/var/lib/majordomo/lists/test
#test-request: "|/usr/lib/majordomo/wrapper majordomo -l test"
#test-approval: owner-test,
#owner-test-outgoing: owner-test,
#owner-test-request: owner-test,
#owner-test: root,
#
# if you have bulk_mailer installed, you can replace the above
# "test-outgoing" line with the following:
#test-outgoing: "|/usr/bin/bulk_mailer owner-test@host.com /var/lib/majordomo/lists/test"
 
Old 06-13-2006, 01:42 AM   #4
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
This syntax is wrong in the following two lines:
Code:
bin: roott: mkeith
...
/var/lib/majordomo/lists/test"
Did you cut and paste the file properly? You should use the "code" tags when you post to preserve the format.

Anyway, your error message (quoted below) indicates that mail is directed to mkeithm, a nonexistent user:
Quote:
...mkeithm@localhost recipient address rejected user unknown at local recipient table
 
Old 06-14-2006, 11:04 AM   #5
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
Berhanie thanks for the info I changed the statment and now all is well.. thanks
again
Mike
You're welcome. Scratch what I said about the majordomo line. It must have been too long in the browser I used before, so it wrapped around.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix send mail problem(In RH9, kernal 2.4.20, postfix 2.1.5) minor Linux - General 4 07-11-2005 10:12 PM
Postfix Problem bigdogg Linux - Software 5 10-23-2003 04:49 PM
postfix problem cccc Linux - Networking 0 10-10-2003 06:12 PM
problem with postfix and db.4.1.25 cron19 Linux - Software 1 10-06-2003 12:02 PM
Please Help Me ------ Postfix Problem joseph Linux - Networking 0 08-22-2003 11:57 PM


All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration