LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-15-2006, 08:01 PM   #1
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Rep: Reputation: 30
Postfix: Recipient address rejected: Relay access denied;


Iīm having this problem when someone tries to send me an e-mail. Whatīs happening?
 
Old 02-15-2006, 09:21 PM   #2
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Original Poster
Rep: Reputation: 30
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?
 
Old 02-15-2006, 09:28 PM   #3
scowles
Member
 
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
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.
 
Old 02-16-2006, 05:28 AM   #4
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Original Poster
Rep: Reputation: 30
Working.

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

Last edited by stormrider_may; 02-16-2006 at 08:38 AM.
 
Old 02-16-2006, 08:59 PM   #5
philix
Member
 
Registered: Sep 2005
Location: India
Distribution: Redhat Debian
Posts: 30

Rep: Reputation: 15
You can use the smtpd_banner = Your$Virtual-HostName which by default is $myhostname
 
Old 02-18-2006, 06:38 AM   #6
stormrider_may
Member
 
Registered: Sep 2005
Distribution: Debian
Posts: 304

Original Poster
Rep: Reputation: 30
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) ?
 
  


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 Relay Access Denied dwpondscum Linux - Networking 2 09-20-2007 05:37 AM
Postfix as a mail relay (getting relay access denied) hypexr Linux - Software 3 09-13-2005 08:15 PM
Postfix error - Recipient address rejected: Relay access denied robbiemorgan Linux - Newbie 1 10-01-2004 04:57 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 07:09 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