LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Postfix "554 Relay access denied" (https://www.linuxquestions.org/questions/linux-software-2/postfix-554-relay-access-denied-373616/)

alexpopescu 10-16-2005 11:04 AM

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.

alexpopescu 10-17-2005 03:22 AM

anyone ...
 
anyone ?


All times are GMT -5. The time now is 07:10 PM.