On 1 Dec 2007, at 06:26, Kevin O'Gorman wrote:

... my postfix setup.
...
My mailx mailer seems to put "localdomain" on the sender address when my crontab entries call it. Maybe because it sees that getdomainname(2) comes up empty.

Hi there,

I have encountered similar problems.

I don't use mailx, but just this instead:
for foo in `seq 10` ; do echo "Subject: test $foo of 10" | /usr/ sbin/sendmail [EMAIL PROTECTED] ; done

I was getting localdomain as part of the address, also, and consequent mailbounce. I had to set "myhostname = " in /etc/postfix/ main.cf in order to overcome this, and find the necessity annoying.

What's the right way to set this up? Should I just cobble my proper domain into setdomainname(2)? Is there a right way? Is there a better way?

I see you don't have any other replies here, so I'd be grateful if you could please keep us (well, me) posted if you experiment further or look for advice elsewhere.

Stroller.

--
[EMAIL PROTECTED] mailing list

Reply via email to