Allow relay by email user

Discussion in 'General' started by WeaponX, Nov 29, 2012.

  1. WeaponX

    WeaponX New Member

    We have a customer that uses a printer that is able to send emails from.
    Email settings are setup on the printer.
    The printer is able to send email from the local mail domain network only, But is unable to send to another domain other than the mail domain.
    With their outlook using the same user settings they can send out to any domain just fine.
    I have setup Email relay recipient in ISPconfig 3 to allow relay from that user only but no dice. How can i set this one user to be allowed to relay.

    If i add the users ip to main.cf the issue is gone but i dont want that as it's a security issue.
    mynetworks = 192.168.1.0/24 127.0.0.0/8


    Excepted Example: amavis[22979]: (22979-12) Passed CLEAN, MYUSERS LOCAL [x.x.x.x] [x.x.x.x] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: YhslNK2ULlhb, Hits: 3.014, size: 78926, queued_as: 4CE432209E7, 368 ms

    Reject Example: postfix/smtpd[24076]: NOQUEUE: reject: RCPT from mydomain.com[x.x.x.x]: 554 5.7.1 <[email protected]>: Relay access denied; from=<[email protected]> to=<[email protected]> proto=SMTP helo=<[x.x.x.x]>
     
    Last edited: Nov 29, 2012
  2. pititis

    pititis Member

    The problem here is that your user is sending email from his outlook as authenticated user and the printer not. Authenticated = trusted = allowed to relay

    Just add the ip of the printer to mynetworks parameter in main.cf

    Cheers
     
  3. WeaponX

    WeaponX New Member

    unfortunately, thats not what i am looking for since this is a hosted mail server.
    The ips here are just changed for security.

    ISPConfig 3 has a ( Email relay recipient ) under Global Filters.

    Would this not do what i want. Just to allow that user to relay by email address?

    Email relay recipient

    Relay recipient

    Server: mydomain.com

    Relay recipient: [email protected]

    Active: check
     
  4. pititis

    pititis Member

    No, relay recipient is used for email routing.

    Does your printer support smtp authentication?
     
  5. WeaponX

    WeaponX New Member

    Ok thanks. No the printer does not use authentication. I ended up putting the ip into mynetworks.

    Thank you again.
     

Share This Page