Link to home
Start Free TrialLog in
Avatar of aot2002
aot2002

asked on

sendmail and discarding incoming FROM address's

http://www.faqs.org/docs/securing/chap22sec178.html
im referring to this online info where i want to block incoming FROM: address's
i currently block incoming TO: address's already

like ....

jack@aol.com DISCARD
john@tootles.com DISCARD


but how does sendmail know whether its a from or to address ?
i just today wanted to add the from address from an address.

currently the access table discards all to address's above so it must be working

Question is how does it know if i add a new address to refer to it as a FROM address ?
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Hi,

> how does sendmail know whether its a from or to address
All the emails have "From: xxx@xxx.xxx" and "TO: yyy@yyy.yyy" fields, that's how sendmail to distingush where the email from
and whare it should send to.

   However, according to http://www.faqs.org/docs/securing/chap22sec178.html,
/etc/mail/access is for "From" not for "TO".

   So whatever email addresses you "DISCARD" in /etc/mail/access", your users will not receive "from" those email addresses.
It's sort of spam control.

Regards,

Wesly
Avatar of aot2002
aot2002

ASKER

>>>>/etc/mail/access is for "From" not for "TO".

ok but why would it be currently blocking to address's ?
hmm doesnt make any sense ?

can i block from address's or no ?




> how does sendmail know whether its a from or to address
>>All the emails have "From: xxx@xxx.xxx" and "TO: yyy@yyy.yyy" fields, that's how sendmail to distingush where the email >>from and whare it should send to.

No no i mean how does sendmail know it in the access.db file not the email ...

ASKER CERTIFIED SOLUTION
Avatar of wesly_chen
wesly_chen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial