Skip to contentSkip to conversation

Filter incoming mails by sender's address?

DISCUSSION Takacs Istvan 3 participants 3 messages Jun 10, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
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.

#2 lore raw
In reply to Takacs 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?

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