[lug] Mailman/postfix problem help request
Chip Atkinson
chip at pupman.com
Sun Oct 21 13:35:49 MDT 2007
Hi Hugh.
Yeah, chip1.pupman.com is an internal view. I think I got past the
relaying denied issue. It turned out that I needed to add
permit_mynetworks to smtpd_recipient_restrictions. Part of the problem
was having the smtpd_recipient_restrictions appear twice in master.cf.
Once I added it to the right place in master.cf the relaying problems went
away.
Now to figure out the rest of the mail man problems. Stay tuned...
Thanks for all your help too!
Chip
On Sun, 21 Oct 2007, 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
>
> Chip Atkinson wrote:
> > Man, talk about a mess. I turned up verbosity and get a lot of
> > "dict_eval..." things but it's rather difficult to see where the decisions
> > are actually being made.
> >
> > Any suggestions as to what service to give a -vv option in master.cf in
> > order to kind of trace the decision making process in postfix?
> >
> > On Sun, 21 Oct 2007, Hugh Brown wrote:
> >
> >> I'd turn up debugging and see if you could get any more info about why
> >> it is denying from the logs.
> >>
> >> Hugh
> >>
> >> Chip Atkinson wrote:
> >>> thanks for the reply. One thing I forgot to mention too is that if I
> >>> change www.pupman.com to chip1.pupman.com, pupman.com, or chip1 that the
> >>> relaying denied message is also returned.
> >>>
> >>> hostname returns "chip1", hostname --fqdn returns "chip1.pupman.com"
> >>>
> >>> Chip
> >>>
> >>> On Sun, 21 Oct 2007, Hugh Brown wrote:
> >>>
> >>>> It looks like postfix thinks of www.pupman.com as a foreign entity. I
> >>>> don't see it in your mydestination variable or listed as a virtual alias
> >>>> domain. I'd think adding it to the mydestination variable would take
> >>>> care of the problem.
> >>>>
> >>>> After a cursory look at the docs, I can't tell right away where the
> >>>> "right" place in main.cf is for enumerating the CNAMEs of the mailhost.
> >>>> I suspect it is mydestination and/or virtual_alias_domains. Could
> >>>> someone with more knowledge comment on this?
> >>>>
> >>>> 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