OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: no aliases.db file

From: Albert Zosa (azosaprodatanet.com.ph)
Date: Sat Mar 27 2004 - 15:49:54 CST


Hi,

You have problems on amavisd not with the postfix. Maybe you should check if
your amavisd daemon is running?

can i see your main.cf with the content-filter field regarding amavis and
your master.cf too.

kroywen :)

> Just did the change:
> #====my config =====
> #smtp-amavis unix - - n - 2 smtp
> smtp inet n - n - - smtpd -v
>
> The following is the msg from /var/log/maillog:
>
> Mar 27 13:51:34 fbsd postfix/smtpd[2589]: master_notify: status 1
> Mar 27 13:51:34 fbsd postfix/smtpd[2589]: connection closed
> Mar 27 13:51:34 fbsd postfix/smtpd[2589]: watchdog_stop: 0x807c488
> Mar 27 13:51:34 fbsd postfix/smtpd[2589]: watchdog_start: 0x807c488
> Mar 27 13:51:46 fbsd postfix/qmgr[2573]: warning: connect to transport
> smtp-amavis: Connection refused
>
> >>Albert Zosa wrote:
> >>
> >>
> >>
> >>>try supply comman #postalias /etc/aliases ; postfix reload
> >>>
> >>>kroywen :)
> >>>
> >>>
> >>>
> >>>
> >>>
> >>I have done:
> >>#postalias /etc/mail/aliases; postfix reload
> >>then try local mail command, but still not seeing any mail send to the
> >>mail box.
> >>there is no error in the /var/log/messages now.
> >>
> >>
> >>
> >>>
> >>>
> >>>>samwun wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>samwun wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi,
> >>>>>>
> >>>>>>I got this erro msg from Postfix when I tried to test it using the
> >>>>>>"mail" client to send mail:
> >>>>>>postfix/smtpd[233]: fatal: open database /etc/aliases.db: No such
> >>>>>>file or directory
> >>>>>>
> >>>>>>What might be the problem?
> >>>>>>
> >>>>>>I use the the following command to start postfix:
> >>>>>>/usr/local/sbin/postfix -c /usr/local/etc/postfix start
> >>>>>>
> >>>>>>Thanks
> >>>>>>sam
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>I found that aliases.db is in the directory /etc/mail/
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>the mail command caused the following processes running:
> >>>>
> >>>>rootfbsd [1:10pm] [...etc/postfix]# !ps
> >>>>ps auxww | grep postfix
> >>>>root 2052 0.0 0.2 1064 796 ?? Ss 1:09PM 0:00.02
> >>>>/usr/local/libexec/postfix/master
> >>>>postfix 2053 0.0 0.2 1068 808 ?? S 1:09PM 0:00.01
pickup -l
> >>>>-t fifo -u
> >>>>postfix 2054 0.0 0.2 1112 880 ?? S 1:09PM 0:00.01 qmgr -l
> >>>>-t fifo -u
> >>>>postfix 2065 0.0 0.3 1196 1000 ?? S 1:10PM 0:00.01
smtpd -n
> >>>>smtp -t inet -u
> >>>>postfix 2066 0.0 0.2 1064 808 ?? S 1:10PM 0:00.01
proxymap
> >>>>-t unix -u
> >>>>postfix 2067 0.0 0.2 1132 876 ?? S 1:10PM 0:00.01 cleanup
> >>>>-z -t unix -u
> >>>>postfix 2068 0.0 0.2 1096 836 ?? S 1:10PM 0:00.01
> >>>>trivial-rewrite -n rewrite -t unix -u
> >>>>postfix 2069 0.0 0.2 1148 916 ?? S 1:10PM 0:00.01 smtp -n
> >>>>smtp-amavis -t unix -u
> >>>>postfix 2070 0.0 0.2 1096 836 ?? S 1:10PM 0:00.01
bounce -z
> >>>>-n defer -t unix -u
> >>>>postfix 2071 0.0 0.2 1076 820 ?? S 1:10PM 0:00.01
flush -z
> >>>>-t unix -u
> >>>>postfix 2072 0.0 0.2 1076 820 ?? S 1:10PM 0:00.01
flush -z
> >>>>-t unix -u
> >>>>rootfbsd [1:10pm] [...etc/postfix]#
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >
> >
> >
> >
> >
>