Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th November 2012, 22:18
WeaponX WeaponX is offline
Junior Member
 
Join Date: Dec 2010
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Default Allow relay by email user

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] <user@mydomain.com> -> <user2@mydomain.com>, Message-ID: <27566AA6.0000000E.00000001@mydomain.com>, 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 <support@otherdomain.net>: Relay access denied; from=<user@mydomain.com> to=<support@otherdomain.net> proto=SMTP helo=<[x.x.x.x]>

Last edited by WeaponX; 29th November 2012 at 23:01.
Reply With Quote
Sponsored Links
  #2  
Old 29th November 2012, 23:04
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 39
Thanked 90 Times in 68 Posts
Default

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
Reply With Quote
  #3  
Old 29th November 2012, 23:35
WeaponX WeaponX is offline
Junior Member
 
Join Date: Dec 2010
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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: user@mydomain.com

Active: check
Reply With Quote
  #4  
Old 30th November 2012, 01:04
pititis pititis is offline
Senior Member
 
Join Date: Dec 2010
Location: München
Posts: 364
Thanks: 39
Thanked 90 Times in 68 Posts
Default

No, relay recipient is used for email routing.

Does your printer support smtp authentication?
Reply With Quote
  #5  
Old 27th December 2012, 17:43
WeaponX WeaponX is offline
Junior Member
 
Join Date: Dec 2010
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

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

Thank you again.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3, relay access denied

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dovecot v2 with ISPConfig 3 CSsab Installation/Configuration 13 13th September 2012 19:01
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 10:56
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Unable to Receve Email walner8080 Installation/Configuration 8 30th September 2010 05:58
I am having problems with Email, and authenication savy2k General 10 14th January 2010 11:00


All times are GMT +2. The time now is 11:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.