Re: Set up postfix
rocky(rocky2winnie@gmail.com) is reported to have said:
> Hey,
>
> I'm trying to follow the tutorial from http://workaround.org/articles/ispmail-etch
> to set up the postfix. dpkg -l | grep postfix gives me the following
> information:
>
I am following the same Tutorial, along with other things, and am at
the virtual alias maps section. I do not have the problems you show
below.
How far into the Tutorial are you when you got the below messages?
> LIJIANG:~# dpkg -l | grep postfix
> ii postfix 2.3.8-2+b1 A
> high-performance mail transport agent
> ii postfix-mysql 2.3.8-2+b1
> MYSQL map support for Postfix
Mine are newer
postfix & postfix-mysql 2.4.3-1
but the below coments "should" still be valid.
> But ps aux | grep postfix tells me there's no process called postfix
> running. Even after /etc/init.d/postfix restart I got the same result.
> The /var/log/mail.log tells me the following information:
>
> Aug 7 23:02:19 woody sm-mta[24462]: l77DqINI023401: SYSERR(root):
> hash map "Alias0": missing map file /etc/mail/aliases.db: No such file
^^^^ ????
> or directory
>
Do you have a file called /etc/aliases? What is in it?
Check out the postalias man page. man postalias
I am adapting the Tutorial to testing so this may not mean anything,
but at the point I am in the tutorial, I do not have a
/etc/mail/aliases.db file either.
Greping for "aliases" in the /etc/postfiix dir, I only come up with
/etc/aliases in the main.cf file. I do have an aliases and a
aliases.db file, but in /etc/.
> Then I tried to use telnet to test by entering telnet 127.0.0.1 25 and
> it gives me the below result:
>
> LIJIANG:~# telnet 127.0.0.1 25
> Trying 127.0.0.1...
> Connected to 127.0.0.1.
> Escape character is '^]'.
> 220 ;; ESMTP connection timed out; no servers could be reached
> Sendmail 8.13.8/8.13.8/Debian-3; Tue, 7 Aug 2007 23:09:18 +0800; (No
> UCE/UBE) logging access from: woody.2ndsite.in(OK)-root@woody.
> 2ndsite.in [127.0.0.1]
> ehlo 2ndsite.in
> 250-;; connection timed out; no servers could be reached Hello
> root@woody.2ndsite.in [127.0.0.1], pleased to meet you
> 250 ENHANCEDSTATUSCODES
>
>
> Can any of you help me to correctly set up the postfix please?
Wayne
--
Every program is a part of some other program, and rarely fits.
_______________________________________________________
Reply to: