LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-16-2005, 12:04 PM   #1
alexpopescu
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Postfix "554 Relay access denied"


Hello all,
I am trying to setup a mailserver on a machine that will host more virtual domains. As a consequence I want to setup Postfix to use virtual domains and virtual users.

The server receives emails and sends them to the right mailbox, and I also can get my mails using dovecot as a pop3 server.

But, I have a problem:

When I want to send an email using a client (Thunderbird) from info@thedomain.com to anotheraddress@server.com, I get an error:
554 <anotheraddress@server.com> Relay access denied



My configuration is:

/etc/postfix/main.cf
myhostname = localhost
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, ftp.$mydomain
relay_recipient_maps = hash:/etc/postfix/relay_recipients
virtual_mailbox_domains = /etc/postfix/vhosts
virtual_mailbox_base = /var/spool/vmail
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:504
virtual_gid_maps = static:504
virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/relay_recipients
@thedomain.com OK

/etc/postfix/vhosts
thedomain.com

/etc/postfix/vmailbox
info@thedomain.com thedomain.com/info
intr@thedomain.com thedomain.com/intr


The other options are missing or default. (I replaced the domain name with thedomain.com)

Please help, any help or suggestion will be appreciated as I worked on this for a week.

Last edited by alexpopescu; 10-16-2005 at 12:16 PM.
 
Old 10-17-2005, 04:22 AM   #2
alexpopescu
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy anyone ...

anyone ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 08:15 PM
Postfix - "Relay Access Denied" clickster Linux - Software 1 09-12-2005 05:28 PM
554 <xxxx@yahoo.com>: Relay access denied linuxkid Linux - Networking 1 03-30-2005 02:06 AM
postfix: Relay access denied SolidSnake Linux - Networking 4 02-20-2004 10:05 PM
Email Error - "Recipient address rejected: Relay access denied" ripcord Linux - Newbie 1 10-31-2002 04:00 PM


All times are GMT -5. The time now is 05:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration