Re: Wrong aliases?

This is a discussion on Re: Wrong aliases? within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Bryce (Work) wrote: > Getting the following in my /var/log/maillog (RedHat 8.0) when trying > to relay ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-26-2003
Thomas Spuhler
 
Posts: n/a
Default Re: Wrong aliases?

Bryce (Work) wrote:

> Getting the following in my /var/log/maillog (RedHat 8.0) when trying
> to relay a messagel
>
> postfix/smtpd[3007]: connect from
> xx-xxx-xxx-xxx.sss.ssssssss.com[xx.xxx.xxx.xxx]
> postfix/smtpd[3007]: 659D015379:
> client=xx-xxx-xxx-xxx.sss.ssssssss.com[xx-xxx-xxx-xxx]
> postfix/cleanup[3035]: 659D015379:
> message-id=<20030725201940.659D015379@dddddddddd.com>
> postfix/nqmgr[2993]: 659D015379: from=<some_user@eeeeeee.com>,
> size=399, nrcpt=1 (queue active)
> postfix/local[3055]: fatal: open database /etc/aliases.db: No such
> file or directory
> postfix/nqmgr[2993]: warning: premature end-of-input from
> private/local socket while reading input attribute name
> postfix/nqmgr[2993]: warning: private/local socket: malformed response
> postfix/nqmgr[2993]: warning: transport local failure -- see a
> previous warning/fatal/panic logfile record for the problem
> description
> postfix/master[1647]: warning: process /usr/libexec/postfix/local pid
> 3055 exit status 1
> postfix/master[1647]: warning: /usr/libexec/postfix/local: bad command
> startup -- throttling
>
> Am trying to set up my postfix to allow relaying from my work and home
> computers only. I've listed my work computer
> in the mynetworks = in my main.cf. I noticed that it tried to open
> the aliases.db at /etc/aliases.db. Not sure where
> its getting this, as I've listed it below in my alias_database =
> below.
>
> Here is my postconf -n text:
> alias_database = hash:/etc/postfix/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> default_privs = nobody
> inet_interfaces = all
> luser_relay = bryce
> mail_owner = postfix
> mailbox_command = /usr/bin/procmail
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> mydestination = $myhostname, localhost.$mydomain, $mydomain
> mynetworks = xx.xxx.xxx.xxx
> myorigin = $mydomain
> newaliases_path = /usr/bin/newaliases.postfix
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix-1.1.11/README_FILES
> sample_directory = /usr/share/doc/postfix-1.1.11/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)



I guess if you work long enough on a problem you cannot see the forest
anymore

compare the path in the config and in the error message:

/etc/aliases.db vs. /alias_database = hash:/etc/postfix/aliases
you may need to change the path in the main.cf

Tom

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:15 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0