Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

/etc/aliases and .forward - what is the difference?

/etc/aliases and .forward - what is the difference?

/etc/aliases and .forward - what is the difference?

we have an address that is expanded out to several users. It seems that sendmail does processes the address the same regardless of whether the address is 'defined' in /etc/aliases  or in the address's /home/.forward file.

The goal is to have the address's list expanded out only after the message passes through the system wide procmailrc, which I thought could be accomplished by using the .forward instead of an entry in the /etc/aliases .

RE: /etc/aliases and .forward - what is the difference?

A .forward is normally used on a physical account while your Aliases file doesn't require a physical account.

For example:

Your UserA and own the domain MyDomain.com and instead of creating a user called info on the *nix box and adding a .forward to UserA@mydomain.com you could just add the alias to the alias file.

So all mail sent to info@mydomain.com is actually received by UserA@mydomain.com

RE: /etc/aliases and .forward - what is the difference?

So how can I have the names expansion only occur after the message has passed the anti-spam guantlet ?

RE: /etc/aliases and .forward - what is the difference?

Guess I am not understanding what you are saying... mail is received and deffered to what you have in your alias's table to .forward which either ends up in a mail box or forwarded to an external address.

Procmail is at the users end meaning each account would be setup for the filtering individually or that is how I am used to seeing it.

So the process would be:

Sendmail Recieves Email -> Drops the mail in the users mailbox -> Users Procmail config sorts it


RE: /etc/aliases and .forward - what is the difference?

I don't want the address expanded unless it passes through all the rules that are setup in sendmail and procmail.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close