in Education by
I've got a Debian Etch system running Exim4-daemon-heavy. The system is open to the internet, but the intention is that it will only receive legitimate mail coming from a spam-filtering service, which runs as a proxy ahead of it. (I can't just limit access to those IPs though, because I do have some authorized users who relay via my server on port 25. I know I should be using 587 - but currently I'm not.) The general way this works is: [Internet] -> [SMTP proxy] -> [My Server] Unfortunately I've got spammers sending mail directly to the mailserver, and ignoring the MX record(s). So it seems like my obvious solution is to either: Add a header to each processed message at the SMTP proxy. Add a header at my server for each incoming message unless the mail is coming from an authorized relayer. (ie. Somebody who has completed SMTP AUTH.) That way I could use procmail to just junk messages that came direct, via senders who ignored my MX records. I'm pretty sure that Exim4 could be coerced into adding a header such as "X-Submitter: $ip" - to record the remote IP which submitted the message, but I'm unsure how that should be done. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Be aware that debian repackages exim in a fairly unique way that makes their packaging and mainetance easier but makes using generic rules sometimes not plug in as smoothly. The correct way to handle this would be to reject mail that is not authorized and not from the proxy IP. Put something like this in your rcpt ACL: deny message = quit trying to bypass DNS !hosts = PROXY_IP_ADDRESS !authenticated = *

Related questions

0 votes
    Choose the correct alternative and complete the following statements. ____________ is an example of a Coming Together' ... India, UK, Portugal) Please answer the above question....
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    I wait for onCharacteristicChanged() callbacks to receive data via BLE. But if the BluetoothDevice sends too ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 18, 2022 in Education by JackTerrance
0 votes
    what is a program or hardware device that filters the info coming through internet connection into your private ... computer system Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    what is the syllabus of cbse class 10 Foundation of IT board exam ? Are some chapters left or are all chapters coming ? Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    A DoS attack coming from a large number of IP addresses, making it hard to manually filter or crash the ... -for-Cyber Security:,Cyber Security-Jobs:,Cyber Security Applications...
asked Oct 31, 2021 in Education by JackTerrance
0 votes
    It can be a software program or a hardware device that filters all data packets coming through the internet, a ... . it is known as the_______: Antivirus Firewall Cookies Malware...
asked Mar 4, 2021 in Technology by JackTerrance
0 votes
    I have yet another "Can't set headers after they are sent." problem. I've created a post router ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 30, 2022 in Education by JackTerrance
0 votes
    We switched from citrix to HAProxy for load balancing recently. The Problem is that for some requests ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 23, 2022 in Education by JackTerrance
0 votes
    In Twilio Rest API for each call there is a response which uniquely identify calls Twilio-Request-Id: ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 19, 2022 in Education by JackTerrance
0 votes
    I want to get the size of an http:/.../file before I download it. The file can be a webpage ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 21, 2022 in Education by JackTerrance
0 votes
    I'm trying to code a redirect checker, to check if a URL is search engine friendly. It has to ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    I want to get a list of the column headers from a pandas DataFrame. The DataFrame will come from user input so I don ... 'gdp', 'cap'] Select the correct answer from above options...
asked Jan 26, 2022 in Education by JackTerrance
0 votes
    i am trying to run a phtread program in visual studio 2010. in this code there is "sys/times.h", ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 16, 2022 in Education by JackTerrance
0 votes
    Can you exclude headers and footers from the input files before loading the data?...
asked Mar 23, 2021 in Technology by JackTerrance
0 votes
    In the layer hierarchy as the data packet moves from the upper to the lower layers, headers are ___________ Added Removed Rearranged Modified...
asked Jan 10, 2021 in Technology by JackTerrance
...