Need email relayed from one source only with no auth

Discussion in 'General' started by syco, Jun 29, 2016.

  1. syco

    syco New Member

    Here is the basics, ISPConfig 3.0.5.4p9, Centos 7 Perfect server setup via howtoforge.

    We have IBM mainframes on location that use IBM MVS SMTP CS V1R11 to send email to the server to be sent from there (RELAY)
    How in jumping christmas can I get the server to just allow the relay?
    Note: In all their infinite wisdom, I can not figure out how to tell this IBM monstrosity how to simply authenticate, so I need this thing to be able to send from the server without AUTH

    Debug snipet from Mainframe

    221 e-server.ddci.net.datadallas.com running IBM MVS SMTP CS V1R11 closing connection
    EZA5200I 06/28/16 09:06:52 1> Connecting to IP: x.x.x.x
    EZA5198I 06/28/16 09:06:53 1< 220 *********************************
    EZA5200I 06/28/16 09:06:53 1> HELO e-server.xxxxxxxxx.com
    EZA5198I 06/28/16 09:06:53 1< 250 mail.xxxxxxxxxx.com
    EZA5200I 06/28/16 09:06:53 1> MAIL FROM:<@e-server.xxxxxxxxxxxx.com:[email protected]>
    EZA5198I 06/28/16 09:06:53 1< 250 2.1.0 Ok
    EZA5200I 06/28/16 09:06:53 1> RCPT TO:<[email protected]>
    EZA5198I 06/28/16 09:06:53 1< 454 4.7.1 <[email protected]>: Relay access denied
    EZA5200I 06/28/16 09:06:53 1> QUIT
    EZA5198I 06/28/16 09:06:53 1< 221 2.0.0 Bye
     
    Last edited: Jun 29, 2016
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Add the IP address of the mainframe to the mynetworks line in postfix main.cf, then restart postfix.
     
  3. syco

    syco New Member

    Here is the snip from main.cf

    mynetworks = 199.xx.xx.xx/28, 127.0.0.0/8, 199.xx.xx.xx/32, 199.xx.xx.xx/32, 199.xx.xx.xx/32, 199.xx.xx.yy/32
    the one ending in yy/32 is the mainframe I want allowed. But still gets EZA5198I 06/28/16 09:06:53 1< 454 4.7.1 <[email protected]>: Relay access denied
     
  4. syco

    syco New Member

    I suspect it might be the server at the destination that is rejecting it. Thoughts?
     
  5. syco

    syco New Member

    Resolved with tweaks to master.cf, thanks for your time
     

Share This Page