Opps: Mail sent to non-existent user

Joel Hammer joel
Mon May 17 12:00:38 PDT 2004


>  What exactly did you do? What commands you used? Learning... :)

I have a sendmail server on my firewall. It routes
all outgoing mail to a comcast mail server. It also
unfortunately routes ALL mail to the comcast server,
including local mail. So, in sendmail.cf, I put in this:

DRhammer11

This makes the server send all local mail to my box
hammer11, which is what I use to read mail.

This mail server has been used to forward mail from my daughter's
old comcast mail account to her new aol account, like so:

1. The mail server pops her mail from comcast with fetchmail.

2. There is a .forward file in her home directory  (which
just contains hername at aol.com). Some program, I don't even
remember which one now, maybe procmail, sees the .forward
file and routes her local mail to aol.

However, after I added the DR macro above on the mail
server, sendmail sees it as local mail and was routing it
to hammer11, where she had no account. Thus, all her mail
was winding up in mqueue on hammer11.

I hope that is clear.

Joel



More information about the Linux-users mailing list