OSEC

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

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Fri Jul 30 2004 - 08:05:21 CDT


On Fri, Jul 30, 2004 at 02:38:23PM +0200, Jacob Friis Larsen wrote:

> >You ran newaliases?
>
> Yes.
>
> You made sure that "postfix/local" turns up in
> >your log?
>
> No, maybe that's it.
> This is my problem: Jul 30 13:28:32 debpro postfix/pipe[24537]:
> 92833468006: to=<root>, relay=cyrus, delay=0, status=bounced
> (user unknown. Command output: root: Mailbox does not exist)
>

Show all log entries for this message.

Where is the domain? How did you get a naked recipient with no domain name
into the queue file? AFAIK, This can only happen with "append_at_myorigin
= no", which I don't see in the configuration.

> append_dot_mydomain = no
> myhostname = debpro
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = debpro, localhost.localdomain, localhost, mysql:/etc/postfix/mysql-mydestination.cf
> relayhost =
> mynetworks = 127.0.0.0/8
> mailbox_command =
> mailbox_size_limit = 0
> mailbox_transport = cyrus
> #local_transport = cyrus

Good, if you want aliases, use cyrus as mailbox_transport rather
than local_transport.

> virtual_maps = hash:/etc/postfix/virtual, mysql:/etc/postfix/mysql-virtual.cf
> sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf

Don't use sender_canonical_maps, use "canonical_maps" instead (won't
solve this problem, but sound advice).

> relay_domains = mysql:/etc/postfix/mysql-relay.cf
> transport_maps = mysql:/etc/postfix/mysql-transport.cf

What is in transport_maps? What version of Postfix is this?

> cyrus_destination_recipient_limit = 1
>

Not needed when cyrus is a mailbox_transport.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>