|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ralf Hildebrandt (Ralf.Hildebrandt_at_charite.de)
Date: Tue Aug 06 2002 - 08:27:17 CDT
On Tue, Aug 06, 2002 at 03:06:44PM +0200, Dan Faerch wrote:
> Im trying to use postmap and newaliases from a script. From normal
> commandline the postmap command works perfectly, but when using it
> from the script, the virtual.db just goes empty.. All the old virtual
> mappings gets cleared as well... As if i /etc/postfix/virtual was
> empty.. The same applies to newaliases..
% find / -name postmap | xargs ls -l
> cd /etc/postfix
> export MAIL_CONFIG=/etc/postfix
> /usr/sbin/postmap -c /etc/postfix hash:/etc/postfix/virtual </etc/postfix/virtual 2>&1
#!/bin/bash
postmap /etc/postfix/virtual
-- Ralf Hildebrandt (Im Auftrag des Referat V A) Ralf.Hildebrandtcharite.de Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 "I have traveled the length and breadth of this country and talked with the best people, and I can assure you that data processing is a fad that won't last out the year." - The editor in charge of business books for Prentice Hall, 1957.
- To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
charite.de
Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155
Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916
"I have traveled the length and breadth of this country and talked with
the best people, and I can assure you that data processing is a fad that
won't last out the year."
- The editor in charge of business books for Prentice Hall, 1957.