On Sat, 02 Jun 2012, Andrew Elian wrote:

> Hi,
> 
> On Sat, Jun 02, 2012 at 10:36:19AM -0500, Steve Jones wrote:
> > 
> > This a test to see if it can get through.
> > I think lfs lists might be /dev/null-ing me because Return-Path does not
> > match my subscribed email.  If this does get through then that shoud be
> > the case.
> 
> > Dose anybody know how to force mutt -> postfix -> "smptd relay host" to
> > make the Return-Path header match the From header?
> Although I haven't used postfix for a while, I do remember trying to
> solve this gotcha.
> 
> In your ~/.muttrc add this line:
> set reply_to=no
> 
> In /etc/postfix/sender_canonical:
> [email protected]       [email protected]
> 
> And if needed for authentication in
> /etc/postfix/sasl_passwd
> smtp.hisisp.net  [email protected]:superduperpasswd
> 
>   postmap sasl_passwd
>   postmap sender_canonical
> Which should create sasl_passwd.db and sender_canonical.db
> 
> Check /etc/postfix/main.cf and add the following, if needed:
> 
> # look like hisisp
> masquerade_domains = hisisp.net
> masquerade_classes = envelope_sender, header_sender, 
> header_recipient,envelope_recipient
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_auth_enable = yes
> smtp_sasl_security_options =
> start_tls = yes
> smtp_tls_note_starttls_offer = yes
> tls_random_source = dev:/dev/urandom
> smtp_use_tls = yes
> relayhost = smtp.hisisp.net
> 
> And then restart postfix.  If all goes well, mutt will leave the headers
> alone and when the email is sent out, postfix will rewrite them to the
> right thing.  Since it has been a while, some of the above might be a
> tad dated, but I hope it will point you in the right direction
> regardless.
> 
> You might consider a lighter smtp program like msmtp (or other fine ones
> too) if your needs are more modest.  
> 
> Best of luck!
> ae

That already has been the setup.  The issue is that I have multiple
hosted email accounts dedicated for various purposes: mailing lists,
filling out online forms (junk), friends and family, ...

My original canonical file pointed to the junk address.  I changed that
one to the mailing list address and my LFS message made it through.  I
tried ssmtp on my laptop and could not get it to work with godaddy's
secureserver.net email hosting.

Unless I can solve this it will stay is it is now since I don't email
out on but one other account, and personal emails shouldn't be filtered
that often on the Return-Path header.

-- 
Steve Jones
[email protected]
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to