[Postfixbuch-users] Problem virtuelle Benutzer

Andreas Winkelmann ml at awinkelmann.de
Do Jan 4 18:02:04 CET 2007


On Thursday 04 January 2007 16:03, r5-benni at web.de wrote:

Bitte lass doch das TOFU.

> Kriegs echt nicht gebacken, möchte doch nur lokal e-mails versenden=)

Was genau meinst Du mit "lokal e-mails versenden" ?

> Postconf -n:
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/lib/postfix
> default_privs = nobody
> inet_interfaces = all
> local_recipient_maps = proxy:unix:passwd.byname $alias_maps
> mail_name = Postfix Mailsystem
> mail_owner = postfix
> mailbox_size_limit = 0
> mydestination = $myhostname, localhost.$mydomain, universe.net
> mydomain = universe.net
> myhostname = mail.universe.net
> mynetworks = subnet, 127.0.0.0/8
> myorigin = $myhostname
> queue_directory = /var/spool/postfix
> relay_domains = $mydestination
> smtpd_tls_cert_file = /etc/postfix/smtpd.cert
> smtpd_tls_key_file = /etc/postfix/smtpd.key
> smtpd_use_tls = no

> virtual_alias_domains = worldwide21.ltd

> virtual_alias_maps = hash:/etc/postfix/virtual
> virtual_gid_maps = static:1004
> virtual_mailbox_base = /var/vmail/

> virtual_mailbox_domains = worldwide21.ltd

Die Domain taucht in zwei verschiedenen Adressklassen auf, das ist falsch.

> virtual_mailbox_maps = hash:/etc/postfix/vmailbox
> virtual_minimum_uid = 100
> virtual_transport = virtual
> virtual_uid_maps = static:1004
>
> /etc/postfix/virtual:
> hans at worldwide21.ltd    vmail
> franz at worldwide21.ltd   vmail
> @universe.net   @worldwide21.ltd
>
> /etc/postfix/vmailbox:
> franz at worldwide21.ltd   universe.net/franz/Maildir/
> hugo at wordlwide21.ltd     universe.net/hugo/Maildir/
>
> /etc/aliases:
> hugo: hugo at worldwide21.ltd, vmail
> franz: franz at worldwide21.ltd, vmail
>
> /var/log/mail.log:
> To=<hans at mail.universe.net>, orig_to=<hans at worldwide21.ltd>,
> relay=local,delay=0.04, delays=0.02/0.01/0/0.02, dsn=5.1.1, status=bounced
> (unknown user: "hans")

User "hans" scheint es als lokalen User nicht zu geben. Was genau hast Du denn 
erwartet, was passieren soll?

> Mein Mailbox-Verwalter ist vmail.

-- 
	Andreas



Mehr Informationen über die Mailingliste Postfixbuch-users