OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: [Urgent] Need help Sendmail -> Postfix
From: Wietse Venema (wietseporcupine.org)
Date: Wed Jun 21 2000 - 12:12:41 CDT


You need to show some logging from the local delivery agent when
it does not deliver.

        Wietse

Oliver Schade:
> Hi everybody,
>
>
> today we switched our main mail-server to a new linux-system. We prepared
> a Sendmail 8.10.2-system - but it fails after bootup. After some hours of
> playing around with sendmail, we used a 'rm -rf /usr/local/src/sendmail*'
> and decided to switch to Postfix.
>
> Well - but even Postfix does not run the same way we have had before :-(
> So we have some hundreds zones with can not receive emails at the moment -
> any help is really welcome ;-)
>
> Our configuration (we followed the INSTALL-file from postfix 20000531)
> for a virtual-server which runs under smtp1.bln-de.serverpool.net.
> A typical zone within the /etc/postfix/virtual-file looks like this:
>
> [...]
> ls-la.net Anything
> osls-la.net Els-la00
> spls-la.net Els-la01
> mhls-la.net Els-la02
> avatarls-la.net Els-la03
> [...]
>
> this seems to work. Now I need an additional
>
> ls-la.net Els-la00
>
> to collect all unwanted mails and silly addresses. I tried to include this
> line, but this fails (but I do not know why) with 'User unknown'. Now I
> followed the virtual_rexpr-directive and added
>
> /^ls-la\.net$/ Anything
> /^(.*)ls-la\.net$/ Els-la00+$1
>
> and enabled this in main.cf, restarted postfix. Now mail to
> 'infols-la.net' will be accepted, but not delivered. The mailq-Queue
> contains the undeliviered email:
>
> 6CD9078A0 388 Wed Jun 21 15:16:50 osls-la.net
> (alias database unavailable)
> Els-la00+infosmtp1.bln-de.serverpool.net
>
> A alias-file exists and is enabled into main.cf:
>
> [rootsmtp1 postfix]# ls -la /etc/aliases*
> lrwxrwxrwx 1 root root 15 Jun 21 17:13 /etc/aliases -> postfix/aliases
> lrwxrwxrwx 1 root root 18 Jun 21 17:13 /etc/aliases.db -> postfix/aliases.db
>
> [rootsmtp1 postfix]# grep alias main.cf
> [...]
> alias_maps = hash:/etc/aliases
> [...]
> alias_database = hash:/etc/aliases, hash:/etc/majordomo.aliases
>
> So what is wrong with my installation? *Any* help, tips, hints are really
> welcome...
>
> Thanks a lot,
>
> Oliver
>
>
>
>
>
>