Re: sendmail Broken Pipe Error

2014-03-29 Thread Lucius Rizzo
* Willy Offermans wi...@offermans.rompen.nl [2014-03-24 14:36]:
 Dear FreeBSD friends,
 
 Lately I have setup a new FreeBSD server with 10.0-STABLE. Most of it went
 smoothly. However I have an issue with sendmail. Some of the mails can be
 sent out correctly, some of them stay in /var/spool/mqueue/. The provided
 error messages are in the latter case:
 
 Mar 24 14:16:01 MyServer sm-mta[11725]: s2ODCWT4011717: SYSERR(root): timeout
 writing message to MyProvider.com: Broken pipe Mar 24 14:16:01 MyServer
 sm-mta[11725]: s2ODCWT4011717: to=someaddr...@example.com, delay=00:03:29,
 xdelay=00:03:26, mailer=relay, pri=1284849, relay=MyProvider.com
 [XXX.XXX.XXX.XXX], dsn=4.0.0, stat=Deferred
 
 I'm using Version 8.14.7 All was fine when I was using Version 8.14.5.

Could be a number of things -- maybe even TLS? I am currently on 8.14.8 which
is the latest. I have a pretty complex setup including milters galore with zero
problems. Have you considered updating to the latest release? That might
help.

You can also try sending an email via debug in sendmail to MyProvider.com and
see if there is something going on or perhaps provide us with a few more
details..

-- 

| _o_ |_)o_ _  _  
|_|_|(_||_|_ | \|/_/_(_) - Lucius.Tel
--
++ What the hell is it good for? ++
++  -- Robert Lloyd (engineer of the Advanced Computing Systems ++
++ Division of IBM), to colleagues who insisted that the ++
++ microprocessor was the wave of the future, c. 1968 ++
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: libinit idea

2014-02-24 Thread Lucius Rizzo
* Don Lewis truck...@freebsd.org [2014-02-24 00:56]:
 On 23 Feb, Lucius Rizzo wrote:
  * Andreas Nilsson andrn...@gmail.com [2014-02-23 09:33]:
  Imho, the replacement to init and rc-scripts I sometimes think about
  would be to import SMF from opensolaris/illumos. There one can at
  least get the commands run and config used without looking at the
  source code.
  
  I like SMF from Solaris 11 onwards and even SmartOS. However, I have
  found to like systemd and use via systemctl on Arch far nicer than any
  other rc scripts to date. 
  
  Anyone care to share their thoughts on the pros and cons of something
  like systemd the way Arch does?
 
 I've got a Fedora server here that has systemd and I've come to dislike
 it.  It seems to be one of those Do not open.  No user serviceable
 parts inside. sorts of things.

I had an entirely different experience - albeit on Arch. I had to use
systemd via systemctl for pretty much everything to build on the
machine. I use btrfs + linux-ck on Arch with systemd. In order to get
stuff to work, I had a pretty detailed  learning  experience with
systemd when I helped on the sendmail AUR port for Arch including
writing/enabling scripts to work with journald and systemd. 

Naturally, I'm somewhat surprised to see the the author's attitude
towards licensing and non-Linux support. Its rare to come across devs
who are zealous to such a degree. 

However, there seems to be an agreement at least in part to modernize or
optimize the boot-up/rc env in FreeBSD.

I don't know for most of you but for me, while this is interesting...I
almost never really reboot that often for me to actually see a real
advantage of a 3 sec boot-up difference by throwing away what we have and
migrating to something else. 

Which is why we should also consider more than just boot-up times -- for
me having a newer more intelligent way to manage rc environment might
bear more interest than a few second boot difference that I only see
once in a blue moon.

Though, now I am also at a point where I know commands in -
Debian/CentOS/Arch, BSD (FreeBSD/NetBSD) and Solaris 10/11/SmartOS (all
with different ways of doing thing). What's annoying is that each of
these OS/flavors have nuances in use of their rc scripts and while
^now^ it doesn't bother me at all, I imagine it may for a newb. 

In most cases, everything works. But when it doesn't, its  annoying to
remember svcadmin vs systemctl vs /etc/init.d vs service vs /etc/rc.d/
along with all the other commands just to check the logs...

-- 

| _o_ |_)o_ _  _  
|_|_|(_||_|_ | \|/_/_(_) - Lucius.Tel
--
++ New members are urgently needed in the Society for Prevention of ++
++  Cruelty to Yourself.  Apply within. ++
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Import of DragonFly Mail Agent

2014-02-24 Thread Lucius Rizzo
* Bryan Drewery bdrew...@freebsd.org [2014-02-24 09:40]:
 
 Remembering the time I spent trying to configure sendmail to not accept
 inbound mail, and trying to get it to behave how I want, I fully support
 this. Of all the years I've messed with sendmail, I still have little
 understanding of how to configure it or if I've done it right.

Hush! No sendmail hating :P. I remember it being a right of passage to
graduate to a ^real^ UNIX admin when you had lost half of your hair
while working on sendmail.cf. In a era now long gone, I remember
carrying the sendmail bible (thick with detailed instructions on cf
vars) as protection vs. say a baseball bat. 

The Sendmail manual was thick, heavy and while I never did use it as a
weapon; I had imagined many times throwing it at a server and see if
that maybe fixed the problem with sendmail.cf.

I've worked with MTA's a lot. I have hated and loved Sendmail. ATM, I am
back in my I 3 Sendmail mode and have it running quite well -- with a
lot of cool milters on some of my servers. But sendmail is not for the
faint of heart, or ones who are at risk of hair loss. In fact, I would
highly discourage sendmail use in the latter case. 

 My exaggerated view of sendmail as a user:

[...]

Poof..that's easy :P

  # Uncomment if you want STARTTLS support (only used in combination
  with # SECURETRANSFER) #STARTTLS
 
 Yes please. Simple.
 
 I'm not sure where to even start with sendmail to enable those
 options.


See! That wasn't hard at all!! I don't get why people get so worried.
What you posted was mostly mc stuff anyways. I would be far more
impressed if you would have debugged that in the cf or via sendmail
flags. :)))

I often use ssmtp on servers that run Wordpress etc and collect most
mail to a mailhub which routes it internally and externally. 

I 3 Sendmail.

-- 

| _o_ |_)o_ _  _  
|_|_|(_||_|_ | \|/_/_(_) - Lucius.Tel
--
++ The greatest griefs are those we cause ourselves. ++
++  -- Sophocles ++
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: libinit idea

2014-02-23 Thread Lucius Rizzo
* Andreas Nilsson andrn...@gmail.com [2014-02-23 09:33]:
 Imho, the replacement to init and rc-scripts I sometimes think about
 would be to import SMF from opensolaris/illumos. There one can at
 least get the commands run and config used without looking at the
 source code.

I like SMF from Solaris 11 onwards and even SmartOS. However, I have
found to like systemd and use via systemctl on Arch far nicer than any
other rc scripts to date. 

Anyone care to share their thoughts on the pros and cons of something
like systemd the way Arch does?

-- 

| _o_ |_)o_ _  _  
|_|_|(_||_|_ | \|/_/_(_) - Lucius.Tel
--
++ Q:   How many Bell Labs Vice Presidents does it take to change a light bulb? 
++
++ A:   That's proprietary information.  Answer available from ATT on payment 
++
++  of license fee (binary only). ++
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org