LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Postfix: Recipient address rejected: Relay access denied; (https://www.linuxquestions.org/questions/linux-networking-3/postfix-recipient-address-rejected-relay-access-denied%3B-415896/)

stormrider_may 02-15-2006 07:01 PM

Postfix: Recipient address rejected: Relay access denied;
 
Iīm having this problem when someone tries to send me an e-mail. Whatīs happening?

stormrider_may 02-15-2006 08:21 PM

Ok, just to show all my troubles with postfix.

When i try to send e-mail to hotmail for example:

Code:

Feb 16 00:12:22 localhost courierpop3login: LOGIN, user=demorgan@demorgan.com.br, ip=[::ffff:192.168.0.4]
Feb 16 00:12:22 localhost courierpop3login: LOGOUT, user=demorgan@demorgan.com.br, ip=[::ffff:192.168.0.4], top=0, retr=0, time=0
Feb 16 00:15:06 localhost postfix/smtpd[1963]: connect from unknown[192.168.0.4]
Feb 16 00:15:06 localhost postfix/smtpd[1963]: DCE367D5C: client=unknown[192.168.0.4]
Feb 16 00:15:06 localhost postfix/cleanup[1971]: DCE367D5C: message-id=<05c201c632a6$bcb7a630$0400a8c0@C1>
Feb 16 00:15:06 localhost postfix/qmgr[1928]: DCE367D5C: from=<demorgan@demorgan.com.br>, size=1790, nrcpt=1 (queue active)
Feb 16 00:15:06 localhost postfix/smtpd[1963]: disconnect from unknown[192.168.0.4]
Feb 16 00:15:12 localhost postfix/smtp[1974]: DCE367D5C: to=<stormrider_may@hotmail.com>, relay=mx4.hotmail.com[65.54.244.232], delay=6, status=sent (250  <05c201c632a6$bcb7a630$0400a8c0@C1> Queued mail for delivery)
Feb 16 00:15:12 localhost postfix/qmgr[1928]: DCE367D5C: removed

Workink, it gets there.

When someone from gmail tries to send me and e-mail.
Thatīs what happens

Code:

Feb 16 00:23:30 localhost postfix/smtpd[2153]: connect from wproxy.gmail.com[64.233.184.206]
Feb 16 00:23:31 localhost postfix/smtpd[2153]: NOQUEUE: reject: RCPT from wproxy.gmail.com[64.233.184.206]: 554 <demorgan@demorgan.com.br>: Relay access denied; from=<stormrider.may@gmail.com> to=<demorgan@demorgan.com.br> proto=ESMTP helo=<wproxy.gmail.com>
Feb 16 00:23:31 localhost postfix/smtpd[2153]: disconnect from wproxy.gmail.com[64.233.184.206]

Whereis is the problem?

scowles 02-15-2006 08:28 PM

In /etc/postfix/main.cf, search for the "mydestination" and "relay_domains" parameters.

Each parameter has some associated documentation and examples just prior
to setting the parameters.

stormrider_may 02-16-2006 04:28 AM

Working. :)

Can you tell me how to send the virtual host name on smtp banner?

philix 02-16-2006 07:59 PM

You can use the smtpd_banner = Your$Virtual-HostName which by default is $myhostname

stormrider_may 02-18-2006 05:38 AM

hmmm something strange, $myhostname = localhost
My virtual domains are in...

virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf

If i put smtpd_banner = $virtual_mailbox_domains. then it showns

220 mysql:/etc/postfix/mysql_domains.cf


Also, can you tell me if i can translate postfix error messages to portuguese(br) ?


All times are GMT -5. The time now is 02:17 PM.