Jump to Navigation

Feed aggregator

Postfix – connect from unknown[ip.address]

David Goodwin - Wed, 29/10/2014 - 13:34

One server I poke around on, has a number of postfix instances

(see: postmulti).

Interestingly, one instance was logging things like :

Oct 26 22:02:05 mail postfix-blah/smtpd[59158]: connect from unknown[] Oct 26 22:02:05 mail postfix-blah/smtpd[59158]: CA9292EE2C0: client=unknown[]

Which makes you think perhaps Postfix isn’t able to do DNS lookups – even though it’s configured to do so.

After a bit of investigation —

  1. DNS resolution on the host itself works fine.
  2. Postfix is running smtpd in a chroot (see /etc/postfix-blah/master.cf)
  3. The ‘default’ Postfix instance (/etc/postfix, /var/spool/postfix) doesn’t have this problem.
  4. /var/spool/postfix-blah/lib doesn’t exist, but /var/spool/postfix/lib does and contains libnss_* files
  5. So, cp -a /var/spool/postfix/lib /var/spool/postfix-blah/lib fixes it.
  6. Turning off ‘chroot’ for the smtp daemon fixes it (edit: /etc/postfix-blah/master.cf).

The  server is Ubuntu Lucid, so perhaps it’s a bit long in the tooth now – and maybe this problem won’t crop up for anyone else…

Little man.

Dick Turpin - Tue, 28/10/2014 - 13:08
Me: "Your misses is fecking gorgeous, feck knows what she sees in you?"
Engineer: "I know, especially when I have such a small penis?"


Hit him with the clue stick!

Dick Turpin - Tue, 28/10/2014 - 09:31
So I've just taken a couple of days holiday from work to try and de-stress myself a bit.
My daughter needs a new headlamp for her car and given my job is management I rang the garage on Monday, my last day off, and asked them if they could do the work on the Tuesday, the following day.

"Sure, no problem."

Now boys and girls there's a reason I rang on the Monday, can you guess?

Came to work in my daughters car and my garage says the supplier hasn't got a headlight so the work cannot be done until Wednesday!


Automated twitter compilation up to 26 October 2014

David Goodwin - Sun, 26/10/2014 - 06:00

Arbitrary tweets made by TheGingerDog up to 26 October 2014

Subscribe to Wolverhampton Linux User Group aggregator

Main menu 2

by Dr. Radut