[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about sending mail and postfix



Camaleón on 18/01/10 17:29, wrote:
On Mon, 18 Jan 2010 15:37:12 +0000, Adam Hardy wrote:
Andrei Popescu on 18/01/10 13:40, wrote:
On Mon,18.Jan.10, 13:32:20, Adam Hardy wrote:
I have a new server online with lenny that I want to configure to send
all its mail for root to my email address, and that's all. I don't

You don't need a "database" (at least not SQL/LDAP one) at all :-?

/etc/aliases (is just a "table") is the standard (and easiest) way to setting up local e-mail aliases in Postfix and many other MTAs. "man etc-aliases" will give you the whole picture about how this file is used.

If you need more sophisticated config (delivering to local or remote recipients), virtual aliasing in Postfix is pretty useful and quite easy to setup, depending on you current configuration :-)

I figured that out actually but in the meantime I only managed to find another issue. I wrote my own /etc/postfix/aliases file:

root: adam.hardy@cyberspaceroad.com

and momentarily it worked. I then added another user

adam: adam.hardy@cyberspaceroad.com

and it fell over again. I tried removing the /etc/postfix/aliases file and putting the aliases in /etc/aliases and it still didn't work.

I get this, if it gives any clues to the problem:

Jan 18 17:35:11 ecocore postfix/smtp[22579]: 452652A8203: to=<adam@adamsdomain.org>, relay=none, delay=462, delays=462/0.02/0.05/0, dsn=4.4.1, status=deferred (connect to private.domain.org[1.1.1.1]:25: Connection refused)

where 1.1.1.1 is the ip address of the server.


Reply to: