LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] More Postfix questions

[ILUG] More Postfix questions

Niall O Broin niall at magicgoeshere.com
Sat Sep 2 01:31:57 IST 2000


OK - Postfix installed and working - ish ! It's happily receiving mails for
the relevant domains and sending but I can't get it to relay. Before I
explain the relaying I've another quickie - is it possible to modify
myorigin for virtual domains ? I currently have

myorigin = mail.wherever.com

Every mail which goes out gets a Return-Path header like:

Return-Path: <user at mail.wherever.com>

which I presume is caused by myorigin whereas I'd prefer that they have 

Return-Path: <user at hisowndomain.com>

I suppose this probably violates RFC822/1123/1521/whatever although the bat
book says that this is usually the same as the From address (though I know
it's often not). Anyway, that was question 1. More important is question 2
which is how the fsck do I get relaying to work ? I have

smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination

which are the default but I put them in anyway and I have

relay_domains = whatever.com

 From my understanding of the "Postfix Configuration - UCE Controls" page,
that should be what's needed to allow relaying from hosts in whatever.com.

But when I telnet to the server and try to relay mail, I get

554 <niall at online.ie>: Relay access denied

and in the maillog I see the following

Sep  1 22:57:05 penguin postfix/smtpd[18162]: connect from
unknown[123.456.162.109]
Sep  1 22:59:09 penguin postfix/smtpd[18162]: AEE7D28DBF:
client=unknown[123.456.162.109]
Sep  1 22:59:27 penguin postfix/smtpd[18162]: reject: RCPT from
unknown[123.456.162.109]: 554 <niall at online.ie>: Relay access denied;
from=<niall at magicgoeshere.com> to=<niall at online.ie>

Now 123.456.162.109 is the address of my box, and resolves to
somehost.whatever.com, so my understanding is that this host should be
allowed to relay, but it's not, as the log shows. What am I doing wrong ?

Regards,


Niall





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell