On Tue, Oct 02, 2007 at 04:16:22PM -0700, Gregory K. Ruiz-Ade wrote:
> On Oct 2, 2007, at 4:02 PM, Stewart C. Strait wrote:
> 
> >I'm running postfix, mutt, and fetchmail on Ubuntu. The machine
> >only handles mail originating on it and/or addressed to an account
> >on it, i.e. it is a leaf node. I do not have a static ip address.
> >
> >Local email, from scs to scs (and also
> >notifications from postfix to scs), doesn't arrive at all if my
> >/etc/postfix/main.cf contains:
> >
> >mydestination = localhost.localdomain, localhost
> >
> >Local mail works but has san.rr.com in headers if I go back to the
> >ubuntu installation's choice:
> >
> >mydestination = san.rr.com, localhost.localdomain,  
> >localhost.localdomain, localhost
> 
> If you are using fetchmail to hand mail off to an MTA, the MTA needs  
> to understand that it is a final destination for the domain of the  
> recipient.
> 
> I.e., if you tell fetchmail to retreive all your mail from your  
> "[EMAIL PROTECTED]" account, and hand it off to your local SMTP  
> (postfix), then yes, postfix needs to understand that it IS supposed  
> to accept mail for "san.rr.com".  Otherwise, it will deny relaying.
> 
> This is as-designed behavior.
> 
> You should require no entries in /etc/postfix/generic.  What you are  
> attempting might be better handled by aliases.
> 
> What, exactly, are you trying to do?  I think you are overthinking  
> your configuration, or perhaps have run past your target. :)

1. I am trying to retrieve mail from my [EMAIL PROTECTED] account
with fetchmail and hand it over to postfix for delivery to my local
[EMAIL PROTECTED] account. (This works.)

2. I am trying to send mail (using mutt and postfix) from my local
[EMAIL PROTECTED] account via roadrunner to the outside world.   This
almost works.  My From: (and probably From_) headers say scs instead
of sstrait1. This was what I was trying to correct with
/etc/postfix/generic.

3. I am trying to receive local notification emails and test emails
that stay on localhost from beginning to end.  I can live
with incorrect headers here, but they suggest I'm running past
my target.

4. I am trying to send test emails from [EMAIL PROTECTED] to myself
via roadrunner by addressing them to [EMAIL PROTECTED] .
When I was using sendmail on another system this was a reliable way to see
whether my headers were right.  It also would test most
other issues and didn't require emails coming from someone else.

FWIW, I might be too used to being scs to change my local username to
sstrait1 .

6 or so years ago when I set up my email using sendmail I was able
to get all of these things working.  I'm assuming that trying
to duplicate my old methods will be too complicated but
if anyone wants to see them they are at:

http://www.speakeasy.org/~straits/kp_sma01509a.txt

and also may be at some sort of kplug archive.

Is it still true that some naive spam filters drop emails whose
From: doesn't match From_ ?  Getting From_ right was complicated
6 years ago on sendmail.

Thanks
Stewart Strait


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to