nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Relay Access Denied Error 554

This is a discussion on Relay Access Denied Error 554 within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; I am running postfix on freebsd and anytime I try to send email out through Outlook I get an relay ...


Go Back   nixCraft Linux Forum > *BSD Operating systems > All about FreeBSD/OpenBSD/NetBSD

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-19-2006, 09:32 PM
Junior Member
 
Join Date: Jul 2006
Posts: 4
Rep Power: 0
rbizzell
Default Relay Access Denied Error 554

I am running postfix on freebsd and anytime I try to send email out through Outlook I get an relay access denied 554. I anc recieve email just fine I can even use the webmail client to send email out. This just started happening about two days ago. I haven't been editing any files. I recently had to take over email administration duties. I made sure the username and password are correct in Outlook and this is happening to other users as well. The mynetworks contains my local network. Does it matter that the main.cf.bak is configured instead of the main.cf. I am a little rusty on postfix and freebsd.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-19-2006, 10:33 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 481
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Quote:
Does it matter that the main.cf.bak is configured instead of the main.cf. I am a little rusty on postfix and freebsd.
Noop, postfix always use main.cf.

Postfix allows smtp relaying from users in your "mynetworks" directive only. Make sure mynetworks contains both localhost and your subnet.

Make sure permit_mynetworks is configured properly. For example here is how mynetworks looks:

Code:
mynetworks = 192.168.1.0/24, 127.0.0.0/8
So all clients 192.168.1.0/24 would be able to send emails
Reply With Quote
  #3 (permalink)  
Old 07-19-2006, 10:40 PM
Junior Member
 
Join Date: Jul 2006
Posts: 4
Rep Power: 0
rbizzell
Default Relay Access denied

The permit_mynetworks is that something that I just uncomment or do I have to add that in the main.cf. Where would the permit_mynetworks be located in the main.cf
Reply With Quote
  #4 (permalink)  
Old 07-20-2006, 02:48 AM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 0
tom is an unknown quantity at this point
Default Just

Hi!

If you allow your host (MTA) to act as an SMTP relay, you need to configure the relay options as follows:

# Allow local and remote network to relay through this machine (at least it working for me)
Code:
mynetworks = 192.168.10.0/24, 127.0.0.0/8
Just add or make correct changes to above line and restart postfix.

ALSO note that conifg is diffrent for virtual domains.. are you config virtual domains??
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Dovecot: Eror message access denied /etc/dovecot.conf kasimani Linux software 4 07-20-2006 10:08 PM
Invalid ICMP type 3 code 3 error to a broadcast -samba error raj Linux software 0 07-09-2006 04:38 AM
Sendmail control incoming email to accept, deny, or relay jerry All about FreeBSD/OpenBSD/NetBSD 1 06-22-2006 01:39 PM
get Access Denied ERRDOS -ERRnoaccess from linux into my XP neildave2004 Linux software 1 06-04-2006 04:12 PM
Debian recovery mode read only access make it write access Donavit Linux software 1 12-30-2005 12:49 AM


All times are GMT +5.5. The time now is 06:57 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36