How often does he
get email from the mailing list ? On a daily basis?
The trick here is
that the email has to come from a root account (Mailer-Daemon) so you can't
exactly do a bounce from the user's account..
The easiest way to
do it (and the way i would do it ) would be to write a script to send
the fake bounce message and just run it out of cron as frequently as he gets
email until the email stops. I would probably put the barrier at 20.
Less than 20 messages a day, run it out of cron once a day (at noon?). 20
to 40, run it out of cron twice a day (10am and 2pm?). 40 to 60, run it
out of cron 3 times a day and I would cap it there. Those are my choices
of frequency. Adjust to meet your own needs.
Much easier than
trying to trigger the script to run upon receipt of each email. (where
you'd probably end up using some sort of procmail combined with your homegrown
bouncemail script).
Ben Yau
================================= 310.235.2500
x232 Card Commerce International, Inc. http://www.cardcommerce.com =================================
Thank you very much.
In this case It will reject all the emails from
that domain....... but what I was wandering, is to make this option only for
that user, (username@xxxxxxxxxxxx and not for
the all users) otherwise nobody will receive any mail from that
domain.
Rudolf
----- Original Message -----
Sent: Thursday, January 22, 2004 1:36
PM
Subject: Re: Sendmail question
edit "/etc/mail/access" and add the follwing line
sender.com
REJECT
Hello,
I have mail server with my domain name, and I
have a username on that server, who has subscribed to a mailing
list, so now he receives lots of email from them, and there is no way
to get unsubscribed.
The point is that he not only does not want
to receive this emails, but also he wants this Emails to be bounced to
them again, to postmaster of sender's server, as returned email, as if it
was the USER IS UNKNOWN, so they can see that he did not
receive these emails form them.
otherwise he has to pay them definite amount
of money for each email he has got from them.
The question is how to do it on my RH9 mail
server?
The sendmail version is
sendmail-8.12.8-4.
Thanks in
advance
--
________________ Imtiaz
Ahmed Khan Sr. System Consultant ANTS Consultiing
Org: ANTS
Consulting URL: http://ants.com.pk/ Eml:
sendtoimtiaz@xxxxxxxxx Mob: +92300-2128278
___________________________________
Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try
it!
|