Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Sep 22, 2007 2:06 pm 
Offline
Junior Member

Joined: Mon Feb 26, 2007 7:35 pm
Posts: 20
I'm having a problem with an email address that seems to be set up exactly the same way as every other email address on my Linode.

When I mail the address, I get the following bounce:

Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 13): 550 <name@domain.com>: Recipient address rejected: User unknown in local recipient table


(name@domain.com is obviously not the real email address).

In the /etc/postfix/virtusertable I have set up the following:

name@domain.com user

I've checked it using:

postmap -q name@domain.com /etc/postfix/virtusertable

Which returns "user".

I've also tested that "user" can receive email with the following:

mail user

Which successfully delivers a mail, but if I type:

mail name@domain.com

The mail does not arrive. When I check in /var/log/maillog I get the following:

Sep 22 11:09:35 li**** postfix/smtpd[19800]: NOQUEUE: reject: RCPT from localhost.localdomain[127.0.0.1]: 550 <name@domain.com>: Recipient address rejected: User unknown in local recipient table; from=<****@li****.members.linode.com> to=<name@domain.com> proto=ESMTP helo=<li****.members.linode.com>
Sep 22 11:09:35 li**** sendmail[19819]: l8MA9Z03019819: to=name@domain.com, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30084, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown

I've also tried setting up another virtual address pointing to the same user, and when I send to this, the mail is delivered without a hitch.

I'd appreciate if anyone has any ideas. I hope I've given all the necessary details. It's very frustrating because it seems like everything's set up as it the same way as every other email address, but this one isn't working.

Thanks in afvance,

James


Top
   
 Post subject:
PostPosted: Mon Sep 24, 2007 2:46 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
Guess: you have a trailing (or leading) invisible character in the username in the table (i.e. 'user@', where '@' is some non-printing character). This looks okay in
the postmap output, but fails when you actually try to lookup the username.

Try piping the output of the postmap -q command to 'od -a'. Or just delete the whole line and re-enter it.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
 Post subject:
PostPosted: Mon Sep 24, 2007 8:27 pm 
Offline
Junior Member

Joined: Mon Feb 26, 2007 7:35 pm
Posts: 20
Hey, that seems to have worked.

The "od -a" command didn't seem to show anything unusual, but wiping the line and reentering it seems to have done the trick. I had originally copied it into PuTTY, so this time I typed it manually. It's possible something got carried in the the pasting.

Thanks,

James


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group