[lug] Mailman/postfix problem help request

Chip Atkinson chip at pupman.com
Sun Oct 21 13:36:27 MDT 2007


Lol!  You're not the only one sending before seeing everything. Yep, it's
the permit_mynetworks that was the hitch.

Chip

On Sun, 21 Oct 2007, Hugh Brown wrote:

> Of course, right after I click send, I notice that I can relay from the 
> same machine because of:
> 
> smtpd_recipient_restrictions = 
> permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
> 
> So permit_mynetworks in smtpd_recipient_restrictions allows everyone 
> listed in $mynetworks to relay regardless of source/dest on the emails.
> 
> Hugh
> 
> Hugh Brown wrote:
> > chip1.pupman.com doesn't resolve to the outside world, so I'd make sure 
> > it resolves for postfix.
> > 
> > I'd try adding the -vv to smtpd in master.conf.
> > 
> > I've done some testing on my box and if I'm on the box, then all 
> > relaying is allowed (with a src of gmail.com and a dest of gmail.com) 
> > because the IP that I'm connecting from is listed in mynetworks (at 
> > least I think that's why).  When I try from remote, then the relaying is 
> > denied for a FROM/TO of gmail/gmail).
> > 
> > You could do a tail -f /var/log/mail.info, hit enter a few times, then 
> > run your "cat mailchat | netcat chip1.pupman.com 25" and watch what goes 
> > by on your tail screen ("xterm -sl 10000" is your friend).
> > 
> > Hugh
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 




More information about the LUG mailing list