Filter incoming mails by sender's address?
Hi,
Is there a way to filter incoming letters by the sender's address, or is it completely an MTA's function?
We have a server what has to receive mails and process their content automaically. We'd like to restrict the email addresses to those who just enabled to send mails to that address.
Can I do it somehow with netfilter?
Thanks in advance!
Regards;
Istvan
Quoted 5 lines · Takacs Istvan
Hi,
Is there a way to filter incoming letters by the sender's address, or is it completely an MTA's function?
Yes. That is the correct answer.
Quoted 7 lines
We have a server what has to receive mails and process their content automaically. We'd like to restrict the email addresses to those who just enabled to send mails to that address.
Can I do it somehow with netfilter?
No.
Antony.
Quoted 5 lines · Takacs Istvan
Hi,
Is there a way to filter incoming letters by the sender's address, or is it completely an MTA's function?
You're right here. It's completely an MTA's function.
Except for the fact that netfilter sees port 25 (which the world knows it's the smtp port) there is no specific knowledge about the contents of an smtp stream within netfilter.
You're better off doing this sort of filtering at the smtp layer.
Ramin
Quoted 15 lines
We have a server what has to receive mails and process their content automaically. We'd like to restrict the email addresses to those who just enabled to send mails to that address.
Can I do it somehow with netfilter?
Thanks in advance!
Regards;
Istvan