/etc/aliases forwarding to wrong user 2003-06-20 - By Tom Rymes
Back The plot thickens. I updated the .forward file to be readable and writeable by the user only. If I send a message now (after removing the alias I created earlier and running newaliases), it still gets bounced to the local user. Here is the (disguised) log entry that seems relevant:
Jun 20 10:31:30 myserver sendmail[10126]: AUTH=server, relay=myrelayserver.dom [xxx.xxx.xxx.xxx] (may be forged), authid=user1, mech=PLAIN, bits=0 Jun 20 10:31:40 myserver sendmail[10126]: h5KEVQi4010126: from=<user1@(protected)>, size=365, class=0, nrcpts=1, msgid=<5585F8CE-A32B-11D7-845D-0003930123B2@(protected)>, proto=ESMTP, daemon=MTA, relay= myrelayserver.dom [xxx.xxx.xxx.xxx] (may be forged) Jun 20 10:31:40 myserver sendmail[10128]: h5KEVQi4010126: to=user1@(protected), ctladdr=<user1@(protected)> (500/100), delay=00:00:07, xdelay=00:00:00, mailer=local, pri=30620, dsn=2.0.0, stat=Sent
As I read this, the first two entries are for Sendmail receiving my test message from my mail client. The last one seems to be sendmail sending the forwarded message back to user1@(protected), but note the entries "ctladdr=" and "mailer=local". What could be causing this?
Tomas
On Friday, June 20, 2003, at 10:05 AM, Steven W. Orr wrote:
> On Friday, Jun 20th 2003 at 09:34 -0400, quoth Tom Rymes: > > =>Hi folks, new to the list, so let me know if I should post to a > =>different forum.... > => > =>I have a RedHat 8.0 server running Sendmail. I am trying to forward > =>mail addressed to local users and am having no luck. > => > =>If I create a .forward file in the users' home directories, nothing > =>happens, all mail is still delivered locally. If I create an alias in > =>/etc/aliases, I have a different problem. Basically, I put a line in > =>/etc/aliases as follows: > => > =>localuser: user1@(protected) > => > =>The problem is that if I send mail to localuser@(protected) it > is > =>forwarded to the local user user1, not to user1@(protected) > => > =>Any ideas? > => > =>Tom > Make sure the permission of the .forward file is user only. It's a > security violation to have people access a .forward file. The clues are > in your maillog file. > > -- > -Time flies like the wind. Fruit flies like a banana. Stranger things > have - > -happened but none stranger than this. Does your driver's license say > Organ > -Donor?Black holes are where God divided by zero. Listen to me! We are > all- > -individuals! What if this weren't a hypothetical question? > steveo at syslang.net > > > -- > Psyche-list mailing list > Psyche-list@(protected) > https://www.redhat.com/mailman/listinfo/psyche-list
Earn $52 per hosting referral at Lunarpages.
|
|