Linode Forum
https://forum.linode.com/

Sendmail/postfix inoperability
https://forum.linode.com/viewtopic.php?f=11&t=573
Page 1 of 1

Author:  Ashen [ Tue Dec 23, 2003 1:36 am ]
Post subject:  Sendmail/postfix inoperability

Ok, I've attempted to run both sendmail and postfix, and run into the same
problem with both.

Essentially, I can send mail outgoing but not recieve it incoming. I thought
this might be a problem with my MX records, but I checked them.

I get the following in my maillog too, and on screen when I've run
postfix in debug mode:

Dec 22 00:48:22 li3-194 postfix/nqmgr[10374]: fatal: open dictionary: need "type:name" form: moonlightglade.net
Dec 22 00:48:23 li3-194 postfix/master[9970]: warning: process /usr/libexec/postfix/nqmgr pid 10374 exit status 1
Dec 22 00:48:23 li3-194 postfix/master[9970]: warning: /usr/libexec/postfix/nqmgr: bad command startup -- throttling


I'm pretty sure I've got the config file settings right, I followed the guide at:
http://www.postfix.org/basic.html almost religiously, after several
attempts to do it myself failed.

Local mail outgoing however, works fine..... it's just incoming mail that never
gets delievered.

Any suggestions?

-Ashen

Author:  ca-uk [ Tue Dec 23, 2003 7:22 am ]
Post subject: 

looks like a configuration problem - maybe you could include your config so i can try and see where the problem is.

Author:  Ashen [ Sat Jan 03, 2004 7:41 pm ]
Post subject: 

Jan 3 18:24:16 li3-194 postfix/local[16593]: fatal: open database /etc/postfix/aliases.db: Invalid argument
Jan 3 18:24:17 li3-194 postfix/nqmgr[16581]: warning: premature end-of-input from private/local socket while reading input attribute name
Jan 3 18:24:17 li3-194 postfix/nqmgr[16581]: warning: private/local socket: malformed response
Jan 3 18:24:17 li3-194 postfix/nqmgr[16581]: warning: transport local failure -- see a previous warning/fatal/panic logfile record for the problem description
Jan 3 18:24:17 li3-194 postfix/master[16579]: warning: process /usr/libexec/postfix/local pid 16593 exit status 1
Jan 3 18:24:17 li3-194 postfix/master[16579]: warning: /usr/libexec/postfix/local: bad command startup -- throttling

Keeps coming up over and over again, no matter how may times I reinstall
and reconfigure postfix, even following the guides.

any ideas?

-Ashen

Author:  smerritt [ Sat Jan 03, 2004 7:43 pm ]
Post subject: 

It looks like your aliases.db file is corrupted or nonexistent. Try running "newaliases" to rebuild it.

Author:  gmt [ Sat Jan 03, 2004 8:32 pm ]
Post subject: 

I'm had a similar problem using the small redhat distro.

I'm using zoneedit to set up the DNS, webmin to do the configuration & I see the sendmail processes running. I can email from linux but external mail is not getting through.

Is there a log file I can look at to see what is happening?

Author:  Ashen [ Sun Jan 04, 2004 4:12 pm ]
Post subject: 

smerritt wrote:
It looks like your aliases.db file is corrupted or nonexistent. Try running "newaliases" to rebuild it.


done that, serveral times.... it still won't work, even if I comepletely uninstall
postfix, run newaliases, reinstall, reconfigure and run, or if I
reinstall, reconfigure, rerun newalises, and rerun.....

I'm foxed by it.

-Ashen

Author:  pclissold [ Mon Jan 05, 2004 7:19 am ]
Post subject: 

Postfix behaves like this when it tries to open a db file created with a version of Berkeley db other than the one it was compiled to support. Check that you (or your package maintainer) are compiling and linking for the same db version. Use ldd on postfix and newaliases to check what version of libdb is being used.

Author:  Ashen [ Mon Jan 05, 2004 5:20 pm ]
Post subject: 

I migrated to sendmail.

it was hard to configure and maintain though, I might just save my sendmail
settings, uninstall it, and reinstall/configure postfix right from sources,
to see if that works.

I used apt-get install postfix originally, maybe it got the wrong type for my OS
(I'm using redhat small 9.0)... or maybe it's just not compatible with RH?

-Ashen

Author:  pclissold [ Tue Jan 06, 2004 7:58 am ]
Post subject: 

RH9 ships with Postfix as the default MTA and I'm pretty sure it's in the big Linode distro so it's not a Postfix/RH problem.

RH9 ships with libdb 4.0. A lot of Debian style packages are created using older versions - a likely cause of your troubles.

Best solution is to build Postfix yourself and make sure you use the newaliases that Postfix installs.

Problems like this (and Red Hat's perverse decision to abandon RH9 so soon after release and make us choose between Fedora and the Enterprise stuff) are what made me switch to Gentoo for my Linode (and it's going on my home machine as well).

Author:  AppleRingo [ Wed Feb 04, 2004 9:06 pm ]
Post subject:  anyone got the recipe to get incoming mails for postfix?

I am a newbie with sysadmin and I can't believe it's such a beetch to get mail.

I got my linode running with RH9 small and webmin with virtual servers.

I disabled sendmail, apt-get install postfix from webmin. I followed the light docs on postfix.org and my server still can't receive mails. I get no message in my maillog.

My MX record is setup at godaddy.com with my Linode IP address.

can someone point me to step by step recipe for dummy..
thx

Author:  pclissold [ Thu Feb 05, 2004 6:48 am ]
Post subject: 

This got me sorted out when postfix just sat there after installation, apparently doing nothing:

http://sbserv.stahl.bau.tu-bs.de/~hilde ... gging.html

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/