postfix vs batv (Bounce address tag validation)

Discussion in 'Server Operation' started by Solairaj, Nov 3, 2016.

  1. Solairaj

    Solairaj New Member

    Dear Team,
    Is team ? have solution to implement batv in postfix or it really needed with private signature prvs=signature=[email protected] or we can by-pass using some other postfix stuffs, our preflight test has been passed with our VPS mail,but still some of our emails are spammed,while in search for the default,we tested our emails with [email protected] throws the output as below,allaboutspam suggest us to set batv tag in our emails which stop backscattering of domain,is there a special tool or package needed to configure BATV with postfix or postfix 3.5, that will support the prvs (Private Singature)syntax directly in rcpt to:syntax ,please guide us

    http://www.allaboutspam.com/email-server-test-report/?key=1257C3698969FEA9BFEE913C6390E3AE
    http://mipassoc.org/batv/BATV-Intro-02dc.pdf

    Regards,
    Solai.M
    Linux Admin
     
  2. Solairaj

    Solairaj New Member

    BATV can be achived by setting canonical maps in postfix
    create canonical file in path
    /etc/postfix/canonical
    with the tag as mentioned below
    @yourdomain.com <prvs=ASEFGH=3aac2a951cf9ecaf90552082df6a2441898a0f8fac0629eff3074ea38e6d8ec8@yourdomain.com>
    value=3aac2a951cf9ecaf90552082df6a2441898a0f8fac0629eff3074ea38e6d8ec8 ,here we used sasldb( cram-md5/digest-md5 )password value we can use any value,so that it wont bounce mails inside
    prvs=private signature its like first name/Lastname
    once edited canonical file create a call file in postfix main.cf
    as below
    canonical_maps = hash:/etc/postfix/canonical
    canonical_classes = envelope_sender
    This going to be Return path address rather than rcpt from:[email protected]
    update the db as
    postmap /etc/potsfix/canonical
    restart postfix service

    check your mail logs for the test link as below

    to=<[email protected]>, relay=mx.allaboutspam.com[96.126.107.60]:25, delay=531, delays=525/0.03/0.86/5.7, dsn=5.0.0, status=bounced (host mx.allaboutspam.com[96.126.107.60] said: 552-Thanks for using ALLABOUTSPAM.COM Email server test. Your test results are 552 available at http://www.allaboutspam.com/email-server-test-report/?key=D691E9785A839195E3AE156C91E3CE98 (in reply to end of DATA command))
     

Share This Page