Eric:
Thanks again for your help; it's working again.

All:
While I've got the patience to work up to my final desired configuration
for smtpd, I don't know if any of the rest of you do :)

I'd like to write a section for mail setup in the FAQ. Whether it actually
gets included or not is ultimately not up to me; but I'll work under the
assumption that it will be anyway (but opinions still welcomed).

On the one hand I think I should try my best to complete my desired
configuration and ask on the list again when I can't get parts working.

On the other hand I want to ask as little as possible so that I can
experiment more and get clues from searching around. Chewing on the
information and struggling with it for a while makes it more permanent than
when it's just given to me right away. However, I suspect this might add a
lot of noise to the list.

 Either option assumes due diligence on my part, reading manpages,
searching the list, etc. before posting to list. But you tell me; which of
the two is a more preferred approach on misc?

Either way (or even if you tell me to take off), I respect everyone's time
and appreciate you spending it to help, especially with these "101" type
questions. As usual, thanks in advance.

-Scott



On Fri, May 17, 2013 at 10:41 PM, Eric Faurot <e...@faurot.net> wrote:

> On Fri, May 17, 2013 at 07:31:42PM -0700, Scott wrote:
> > The initial debug advice I got was helpful, so I thought I'd take the
> next
> > step and add relaying to gmail (back to that in a minute), but
> apparently I
> > just don't get it still. Rolling back to my previously working setup
> failed
> > also, this time with a new error: 421. I don't get much help looking for
> > explanations of 421 on the web.
>
> From the log you sent, it fails because the .forward file in your user
> dir is empty.  This is actually a bug that is fixed in the upcoming
> release.  Either rm it, or put the username in there, for now.
>
> > I wondered if somehow I gummed up my queue when I was diddling around
> with
> > the relay settings.
> >
> > # ls /var/spool/smtpd/
> > a0
> >
> > Ok, so that's my just-failed message, so I flush it, just to be sanitary:
> >
> > # smtpctl remove a0b31f71a4e509ff
> > (BTW, is there a way to flush ALL queued messages? smtpctl(8) doesn't
> > allude to it. If there isn't, what's the proper way to do so?)
>
> Get the envelope ids from the "mailq" output and pass them to "smtpctl
> remove".  Something like:
>
> # mailq | cut -d \| -f 1 | xargs -L 1 smtpctl remove
>
> Eric.

Reply via email to