Forward = Spoofing? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Forward = Spoofing? (/thread-4334.html) Pages: 1 2 |
Forward = Spoofing? - HSorgYves - 09-23-2008 08:15 PM When I receive a mail from abc@pt.lu for test@mydomain.com which forwards it to xyz@pt.lu; they reject it as spoofing! Any idea how to bypass their protection? Best Regards, Yves RE: Forward = Spoofing? - aseques - 09-23-2008 08:40 PM They are using SPF with their domains, so they don't expect to receive mail for pt.lu from outside of their networks. v=spf1 +ip4:194.154.192.0/25 ~all Your mail probably gets lost cause it's send outside of their networks (specially if it's sent from a home DSL), also some spam points could be added for the route of the mail. If it's blocked due to your IP+SPF the only solution you'd have would be to enable SRS, wich is difficult in postfix. RE: Forward = Spoofing? - HSorgYves - 09-24-2008 04:28 PM No, the error does not seem to come due to IP+SPF, but because they reject mail from: *@pt.lu which is not delivered through their mailserver. BTW for mailinglists it is working fine. Maybe I could just add some header (which one?) to get it working! Thanks for your help. Yves RE: Forward = Spoofing? - aseques - 09-24-2008 06:40 PM HSorgYves Wrote:No, the error does not seem to come due to IP+SPF, but because they reject mail from: *@pt.lu which is not delivered through their mailserver.Oh, I saw it now, "500 5.1.7 Spoofing denied", the server is not allowing mail from their domain originated externally, they are breaking forwarding functionallity. One solution as I commented would be to use SRS (Sender Rewriting Schema), but altough it's almost the only solution, it doesn't have the approval of Wietse Venema from postfix. HSorgYves Wrote:BTW for mailinglists it is working fine. Maybe I could just add some header (which one?) to get it working!Could you post some extract of the headers of one of this mails? If the mailing list admin is sending it something like users@example.com there's no reason the sender should be blocked. Cheers RE: Forward = Spoofing? - HSorgYves - 09-24-2008 07:54 PM Here is the RAW mail when sent through a mailinglist: Code: Return-Path: <mailing-bounces@glcr.lu> Why does this mail get accepted while the forward one does not? RE: Forward = Spoofing? - aseques - 09-24-2008 08:31 PM HSorgYves Wrote:Here is the RAW mail when sent through a mailinglist: Usually the mailing list server sends the "mail from" command with it's own address "mailing-bounces@glcr.lu", or a something like "bugtraq-return-identifier@bugtrack.com" In any case the mail comes from another domain (glcr.lu in this case), and it's send to the destinations within pt.lu, with just the headers that state the original sender of the mail, so you can see it fine from your mail reader, and receive, since the mail from states that is being sent from another domain. Unless you create a new mail originating from you with an temporary address from your domain (that's what SRS is about) to keep track of that mail in case you receive a bounce, you won't be able to forward to pt.lu Hope it helps RE: Forward = Spoofing? - HSorgYves - 09-24-2008 09:25 PM Both domains are on the same server and configured the same way. That is certainly not the difference! So you think it comes from the fact that the list server sends another "mail from"? How can it afterwards set the "mail from" to the original one then? Best Regards, Yves RE: Forward = Spoofing? - aseques - 09-25-2008 06:49 PM HSorgYves Wrote:Both domains are on the same server and configured the same way. That is certainly not the difference!Yup, no problem there HSorgYves Wrote:So you think it comes from the fact that the list server sends another "mail from"? How can it afterwards set the "mail from" to the original one then?If you receive a mail in your server from that mailing lis, and you look in the logs, you'll see the sender of the message that is using the mailing list server (basically search for the ESMTP id) If you want to change that, it means that you have to rewrite the message headers as if the mail was generated from your domain, giving a real return path (in case the destination server needs to verify anything or giving a bounce), that's what the mailing lists are doing. RE: Forward = Spoofing? - HSorgYves - 09-25-2008 08:09 PM The log you are refering to should be: Code: Sep 23 12:23:26 castor postfix/smtpd[2188]: 31CAB2912C: client=localhost[127.0.0.1] Code: Sep 25 12:03:08 castor postfix/smtpd[13602]: 4D66668061: client=smtpout2.pt.lu[194.154.192.94] Can I rewrite these headers on my side for forwards? Best Regards, Yves RE: Forward = Spoofing? - aseques - 09-25-2008 08:22 PM HSorgYves Wrote:Can I rewrite these headers on my side for forwards?Unless you can apply SRS, or some other feature of postfix to rewrite headers, I don't think so. You could go for exim, or silently discart all the mail you are forwarding to pt.lu (their policy is not to accept forwards, so shouldn't be your problem) |