Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: email forwarding



Alex, thanks for the response.  I am hosting a number of sites here.  I
want to take everything such as for example, site1.com and site2.com.
Every email that gets sent to them for any reason (email@hidden,
email@hidden - whatever) needs to go to the proverbial trash compactor
with no one but Luke Skywalker to ever see it again.

This applies to anything and everything incoming, based on the domain
extension @site1.com so to speak.

I don't want to fill up a spot on the system with files.  It looks like I
was on the right path, /dev/null appears to be where I would send it to.

So how do I do this?  Just vi /etc/aliases and put in an entry such as



@site1.com      /dev/null
@site2.com      /dev/null

???

Thanks,

Marc







Axel Luttgens <email@hidden>
Sent by: macos-x-server-bounces+mmaxwell=email@hidden
09/28/07 05:46 PM
Please respond to OSXS

        To:     OSXS <email@hidden>
        cc:
        Subject:        Re: email forwarding


On 28/09/07 18:54, Marc L Maxwell wrote:

> Hi,
>
> I want to forward all emails from certain web site domains to a place on
> the system that will not fill up with space and will not ever have to be
> looked at again. Can I just do entries in /etc/aliases that send them to
> /dev/null? /dev/urandom? Is there a preferred place to send mail to that
> I won't have to manage?
>
>
>
> Thanks,
>
> Marc
>
>
>
>
>
> Hi,
>
> I want to forward all emails from certain web site domains to a place on
> the system that will not fill up with space and will not ever have to be
> looked at again.  Can I just do entries in /etc/aliases that send them
to
> /dev/null?  /dev/urandom?  Is there a preferred place to send mail to
that
> I won't have to manage?
>
>
> Thanks,
>
> Marc


Ouch! I feared some kind of recursive email: an email that contains
itself that contains itself that...

Having a look at the man page for aliases(5), which is part of the
Postfix system, one has:

/file/name
Mail  is  appended  to  /file/name.  See local(8) for
details of
delivery to file.  Delivery is not  limited  to  regular
files.
For  example,  to  dispose  of  unwanted  mail,  deflect
it  to
/dev/null.

Now, the aliases table is related to mail recipients, not to mail
senders; it allows you to say that emails for user "thatguy" are to be
trashed, not to say that emails from "thisguy" are to be trashed.

So, could you be more precise about "certain web sites domains"?
Because the solution may heavily depend on that.

Axel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden



This email sent to email@hidden


Alex, thanks for the response.  I am hosting a number of sites here.  I
want to take everything such as for example, site1.com and site2.com.
Every email that gets sent to them for any reason (email@hidden,
email@hidden - whatever) needs to go to the proverbial trash compactor
with no one but Luke Skywalker to ever see it again.

This applies to anything and everything incoming, based on the domain
extension @site1.com so to speak.

I don't want to fill up a spot on the system with files.  It looks like I
was on the right path, /dev/null appears to be where I would send it to.

So how do I do this?  Just vi /etc/aliases and put in an entry such as


@site1.com        /dev/null
@site2.com        /dev/null

???

Thanks,

Marc
|+----------------------------------+-------------------------------------|
||   Axel Luttgens                  |                                     |
||   <email@hidden>          |           To:        OSXS           |
||   Sent by:                       |   <email@hidden>  |
||   macos-x-server-bounces+mmaxwell|           cc:                       |
||   =email@hidden  |           Subject:        Re: email |
||                                  |   forwarding                        |
||   09/28/07 05:46 PM              |                                     |
||   Please respond to OSXS         |                                     |
|+----------------------------------+-------------------------------------|









On 28/09/07 18:54, Marc L Maxwell wrote:

> Hi,
>
> I want to forward all emails from certain web site domains to a place on
> the system that will not fill up with space and will not ever have to be
> looked at again. Can I just do entries in /etc/aliases that send them to
> /dev/null? /dev/urandom? Is there a preferred place to send mail to that
> I won't have to manage?
>
>
>
> Thanks,
>
> Marc
>
>
>
>
>
> Hi,
>
> I want to forward all emails from certain web site domains to a place on
> the system that will not fill up with space and will not ever have to be
> looked at again.  Can I just do entries in /etc/aliases that send them to
> /dev/null?  /dev/urandom?  Is there a preferred place to send mail to
that
> I won't have to manage?
>
>
> Thanks,
>
> Marc


Ouch! I feared some kind of recursive email: an email that contains
itself that contains itself that...

Having a look at the man page for aliases(5), which is part of the
Postfix system, one has:

/file/name
Mail  is  appended  to  /file/name.  See local(8) for
details of
delivery to file.  Delivery is not  limited  to  regular
files.
For  example,  to  dispose  of  unwanted  mail,  deflect
it  to
/dev/null.

Now, the aliases table is related to mail recipients, not to mail
senders; it allows you to say that emails for user "thatguy" are to be
trashed, not to say that emails from "thisguy" are to be trashed.

So, could you be more precise about "certain web sites domains"?
Because the solution may heavily depend on that.

Axel

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.