Hello, im trying to configure my system to work with procmail.
I have many mail accounts in my system, and quotas are working.
but i want to implement procmail to work with quotas.
I have already put procmail working, but it isn´t the way that y want.
In this moment when a mail arrive's if the user have not quota to receive mail
than the mail is not delivered
in is mail account, but the mail is put in admin account, and y don't want it !!
i would like to implement like this way:
when a mail arrives, if the user have not quota to receive the mail, then the
mail goes to (i dont know, maybe, /dev/null )
and the person who have sent the mail, will receive a mail explaining that the
mail sent was not delivered because the user
have not quota to receive the mail ..
So: in this moment i have the following configuration in my sendmail.cf :
Mlocal, P=/usr/bin/procmail, F=SAw5:|/@qglDFMPhsfn, S=10/30, R=20/40,
T=DNS/RFC822/X-Unix,
A=mail $u
Mprog, P=/usr/libexec/smrsh, F=lsDFMoqeu9, S=10/30, R=20/40, D=$z:/,
T=X-Unix,
A=sh -c $u
so what do i need to make that if a user have not quota, the mail is not
delivered in my system, and the person who have sent the mail will receive a
mail telling im that the mail that e have sent have not been delivered because
user have not quota to receive the mail.
tanks a lot.