Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail virtusertable problem with reroute to a user

Status
Not open for further replies.

Robert800

Programmer
Apr 6, 2006
52
SE
Iam trying to explain this as good as i can;

Iam trying to config my sendmail to reroute email that going in to on of my websites to a local user. That local user has a procmail perl file that puts the message in the right folder and then the picture is showing on the website.

I have config virtusertable file that look like this
@mydomain.com robert

I do the databas update;

makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable

But when i send a email message it says like this;

<robert@mydomain.com>:
XXX.XX.XX.XX does not like recipient.
Remote host said: 550 5.7.1 <robert@mydomain.com>... Relaying denied. IP name lookup failed [xxx.xx.xx.xxx] Giving up on XXX.XX.XX.XX.

What have i missed to configure?
 
I tested accually to edit access and write my ip number
in that file;

Then i got this answer;
The original message was received at Thu, 6 Apr 2006 17:44:11 +0200 from [xxx.xx.xx.xxx]

----- The following addresses had permanent fatal errors ----- <any@mydomain.com>
(reason: 553 5.3.5 system config error)

----- Transcript of session follows -----
553 5.3.5 myadomain. config error: mail loops back to me (MX problem?)
554 5.3.5 Local configuration error
 
Yup,

I think that sendmail is telling you that localhost is not allowed to relay or rather, if I understod correctly is that your apache users is not allowed to relay.

Are you receiving messages that are replies to apache server generated messages?

If so you probably need to look into your /etc/aliases file.

Please clarify your post.


Cheers
QatQat

Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top