* OT - How to stop an account from receiving mail without deleting the account?
@ Jayson Smith
` Kyle
0 siblings, 1 reply; 6+ messages in thread
From: Jayson Smith @ UTC (permalink / raw)
To: Speakup
Hi,
I run a Linux server via VPS. The 'mail' account is getting tons and
tons of spam, so I'd like to start bouncing messages to that account. But I
presume bad things will happen if I outright delete the mail account, right?
My MTA is Sendmail. Is there any way to tell the system not to accept mail
for that account? I tried aliasing it to a nonexistent user, but the mail
still gets accepted, then it bounces since the alias points to total junk,
then more often than not the bounce bounces, so Postmaster gets the bounced
bounce, generated from a message I never even wanted in the first place! So
is there a way to tell it, as soon as it sees that the message is for mail,
error out right there?
Thanks,
Jayson
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OT - How to stop an account from receiving mail without deleting the account?
OT - How to stop an account from receiving mail without deleting the account? Jayson Smith
@ ` Kyle
` OT - How to stop an account from receiving mail without deletingthe account? Jayson Smith
0 siblings, 1 reply; 6+ messages in thread
From: Kyle @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi,
Could this work for you? Not sure, since I found it via Google looking for:
procmailrc bounce message
but it's worth a shot.
http://www.it.ca/software/procmail-bounce
I think it goes in a .procmailrc in the home directory for the account
whose mail you want to bounce. Of course, you will probably need to
modify it, but it looks like it should do the job you want after your
tweaks.
Kyle
--
Jesus you're my life.
I live only to serve You
Each and every day.
--Kyle
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OT - How to stop an account from receiving mail without deletingthe account?
` Kyle
@ ` Jayson Smith
` OT - How to stop an account from receiving mail withoutdeletingthe account? James Homuth
` OT - How to stop an account from receiving mail without deletingthe account? Kyle
0 siblings, 2 replies; 6+ messages in thread
From: Jayson Smith @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Hi,
What that looks like is that it accepts the message, then immediately
bounces it back. That's exactly what I don't want to happen. The reason is
simple. As you probably know, spammers often use totally bogus addresses. So
I bounce the message, and it turns out the original sender's address is also
invalid. That bounced bounce has to go somewhere, and that somewhere just
happens to be the Postmaster account I think it is, which is aliased to a
real account. So if there's a way to not accept the message in the first
place, or to possibly just accept it and then destroy it, I'd love to know.
I tried making /var/mail/mail a simlink to /dev/null, but that didn't last.
Thanks for any help.
Jayson
----- Original Message -----
From: "Kyle" <kyle4jesus@gmail.com>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Saturday, August 08, 2009 4:50 PM
Subject: Re: OT - How to stop an account from receiving mail without
deletingthe account?
> Hi,
> Could this work for you? Not sure, since I found it via Google looking
> for:
> procmailrc bounce message
> but it's worth a shot.
> http://www.it.ca/software/procmail-bounce
> I think it goes in a .procmailrc in the home directory for the account
> whose mail you want to bounce. Of course, you will probably need to modify
> it, but it looks like it should do the job you want after your tweaks.
>
> Kyle
>
> --
> Jesus you're my life.
> I live only to serve You
> Each and every day.
> --Kyle
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: OT - How to stop an account from receiving mail withoutdeletingthe account?
` OT - How to stop an account from receiving mail without deletingthe account? Jayson Smith
@ ` James Homuth
` Chuck Hallenbeck
` OT - How to stop an account from receiving mail without deletingthe account? Kyle
1 sibling, 1 reply; 6+ messages in thread
From: James Homuth @ UTC (permalink / raw)
To: 'Speakup is a screen review system for Linux.'
Why not just an alias entry?
In /etc/aliases, do:
Mail: /dev/null
-----Original Message-----
From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@braille.uwo.ca]
On Behalf Of Jayson Smith
Sent: Tuesday, August 11, 2009 3:24 PM
To: Speakup is a screen review system for Linux.
Subject: Re: OT - How to stop an account from receiving mail
withoutdeletingthe account?
Hi,
What that looks like is that it accepts the message, then immediately
bounces it back. That's exactly what I don't want to happen. The reason is
simple. As you probably know, spammers often use totally bogus addresses. So
I bounce the message, and it turns out the original sender's address is also
invalid. That bounced bounce has to go somewhere, and that somewhere just
happens to be the Postmaster account I think it is, which is aliased to a
real account. So if there's a way to not accept the message in the first
place, or to possibly just accept it and then destroy it, I'd love to know.
I tried making /var/mail/mail a simlink to /dev/null, but that didn't last.
Thanks for any help.
Jayson
----- Original Message -----
From: "Kyle" <kyle4jesus@gmail.com>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Saturday, August 08, 2009 4:50 PM
Subject: Re: OT - How to stop an account from receiving mail without
deletingthe account?
> Hi,
> Could this work for you? Not sure, since I found it via Google looking
> for:
> procmailrc bounce message
> but it's worth a shot.
> http://www.it.ca/software/procmail-bounce
> I think it goes in a .procmailrc in the home directory for the account
> whose mail you want to bounce. Of course, you will probably need to
> modify it, but it looks like it should do the job you want after your
tweaks.
>
> Kyle
>
> --
> Jesus you're my life.
> I live only to serve You
> Each and every day.
> --Kyle
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
_______________________________________________
Speakup mailing list
Speakup@braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
_____
avast! Antivirus <http://www.avast.com> : Outbound message clean.
Virus Database (VPS): 090810-0, 08/10/2009
Tested on: 8/11/2009 3:27:12 PM
avast! - copyright (c) 1988-2009 ALWIL Software.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OT - How to stop an account from receiving mail withoutdeletingthe account?
` OT - How to stop an account from receiving mail withoutdeletingthe account? James Homuth
@ ` Chuck Hallenbeck
0 siblings, 0 replies; 6+ messages in thread
From: Chuck Hallenbeck @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
You can always ask procmail to deliver it to /dev/null
On Tue, Aug 11, 2009 at 03:27:12PM -0400, James Homuth wrote:
> Why not just an alias entry?
>
> In /etc/aliases, do:
> Mail: /dev/null
>
> -----Original Message-----
> From: speakup-bounces@braille.uwo.ca [mailto:speakup-bounces@braille.uwo.ca]
> On Behalf Of Jayson Smith
> Sent: Tuesday, August 11, 2009 3:24 PM
> To: Speakup is a screen review system for Linux.
> Subject: Re: OT - How to stop an account from receiving mail
> withoutdeletingthe account?
>
> Hi,
>
> What that looks like is that it accepts the message, then immediately
> bounces it back. That's exactly what I don't want to happen. The reason is
> simple. As you probably know, spammers often use totally bogus addresses. So
> I bounce the message, and it turns out the original sender's address is also
> invalid. That bounced bounce has to go somewhere, and that somewhere just
> happens to be the Postmaster account I think it is, which is aliased to a
> real account. So if there's a way to not accept the message in the first
> place, or to possibly just accept it and then destroy it, I'd love to know.
> I tried making /var/mail/mail a simlink to /dev/null, but that didn't last.
> Thanks for any help.
> Jayson
>
> ----- Original Message -----
> From: "Kyle" <kyle4jesus@gmail.com>
> To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
> Sent: Saturday, August 08, 2009 4:50 PM
> Subject: Re: OT - How to stop an account from receiving mail without
> deletingthe account?
>
>
> > Hi,
> > Could this work for you? Not sure, since I found it via Google looking
> > for:
> > procmailrc bounce message
> > but it's worth a shot.
> > http://www.it.ca/software/procmail-bounce
> > I think it goes in a .procmailrc in the home directory for the account
> > whose mail you want to bounce. Of course, you will probably need to
> > modify it, but it looks like it should do the job you want after your
> tweaks.
> >
> > Kyle
> >
> > --
> > Jesus you're my life.
> > I live only to serve You
> > Each and every day.
> > --Kyle
> >
> > _______________________________________________
> > Speakup mailing list
> > Speakup@braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
>
>
>
> _____
>
> avast! Antivirus <http://www.avast.com> : Outbound message clean.
>
>
> Virus Database (VPS): 090810-0, 08/10/2009
> Tested on: 8/11/2009 3:27:12 PM
> avast! - copyright (c) 1988-2009 ALWIL Software.
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
The Moon is Waning Gibbous (70% of Full)
My web site: www.hallenbeck.ftml.net
For an accessible open source twitter service, see www.identi.ca
--------
Winning isn't everything, but losing really sucks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: OT - How to stop an account from receiving mail without deletingthe account?
` OT - How to stop an account from receiving mail without deletingthe account? Jayson Smith
` OT - How to stop an account from receiving mail withoutdeletingthe account? James Homuth
@ ` Kyle
1 sibling, 0 replies; 6+ messages in thread
From: Kyle @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
You can accept the message and then destroy it by delivering it directly
to /dev/null. Then it doesn't have to bounce or anything, it just gets
delivered to nowhere. I'm a little rusty at this, but something like
:0 *
/dev/null
in the .procmailrc for the account you want to delete messages for
should do it. Hopefully someone more familiar with procmail can help
correct my attempt.
Hope this helps,
Kyle
--
Jesus you're my life.
I live only to serve You
Each and every day.
--Kyle
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
OT - How to stop an account from receiving mail without deleting the account? Jayson Smith
` Kyle
` OT - How to stop an account from receiving mail without deletingthe account? Jayson Smith
` OT - How to stop an account from receiving mail withoutdeletingthe account? James Homuth
` Chuck Hallenbeck
` OT - How to stop an account from receiving mail without deletingthe account? Kyle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).