Hallo
Ich komme leider nicht mehr weiter mit Postfix 2.3.2. Ich kann keine emails empfangen und verschicken. Ich bekomme folgende Fehlermeldungen:
mail.err
mail.warn
warn
Config Dateien sehen so aus:
main.cf
master
my.cnf
virtual_alias_maps
Postfix wegen chroot Umgebung in /etc/init.d/postfix angepaßt
Ich nutze opensuse 10.2 lamp 32bit. Für Hilfe wäre ich sehr dankbar.
Ich komme leider nicht mehr weiter mit Postfix 2.3.2. Ich kann keine emails empfangen und verschicken. Ich bekomme folgende Fehlermeldungen:
mail.err
Code:
May 22 12:09:51 SuSE-102-32-LAMP postfix/smtpd[10235]: fatal: open /etc/postfix/mysql_virtual_mailbox_maps.cf: No such file or directory
May 22 12:10:52 SuSE-102-32-LAMP postfix/smtpd[10238]: fatal: open /etc/postfix/mysql_virtual_mailbox_maps.cf: No such file or directory
mail.warn
Code:
May 22 11:50:44 SuSE-102-32-LAMP postfix/cleanup[10131]: warning: 1F398A84213: virtual_alias_maps map lookup problem for root@localhost
May 22 11:50:45 SuSE-102-32-LAMP postfix/cleanup[10012]: warning: 1F38BA84213: virtual_alias_maps map lookup problem for user@xxxx.de
warn
Code:
May 22 12:24:40 SuSE-102-32-LAMP postfix/cleanup[10296]: warning: 6EAA5A84215: virtual_alias_maps map lookup problem for user@xxxx.de
May 22 12:24:40 SuSE-102-32-LAMP postfix/cleanup[10337]: warning: 6EFD5A84215: virtual_alias_maps map lookup problem for xxxx@xxxx.de
May 22 12:24:40 SuSE-102-32-LAMP postfix/cleanup[10335]: warning: 6F4A2A84215: virtual_alias_maps map lookup problem for xxxx@xxxx.de
Config Dateien sehen so aus:
main.cf
Code:
biff = no
append_dot_mydomain = no
myhostname = mail.xxxx.de
mydomain = www.xxxx.de
mydestination = $myhostname, localhost.$mydomain, localhost
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /usr/local/virtual
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001
# Additional for quota support
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes
mynetworks = 127.0.0.0/8
master
Code:
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
#tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
#smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#localhost:10025 inet n - n - - smtpd -o content_filter=
scache unix - - n - 1 scache
maildrop unix - n n - - pipe
flags=R user=vmail argv=/usr/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
procmail unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/deliver -e -r ${sender} -m ${extension} ${user}
my.cnf
Code:
.
.
bind-address = 127.0.0.1
#skip-networking
virtual_alias_maps
Code:
user = postfix
password = xxxx
hosts = localhost
dbname = postfix
table = domain
select_field = domain
where_field = domain
Postfix wegen chroot Umgebung in /etc/init.d/postfix angepaßt
Code:
case "$1" in
[...]
start)
[...]
umask $oldumask
if [ -x /var/spool/postfix/var/run/mysqld/mysqld.sock ] ; then
rm /var/spool/postfix/var/run/mysqld/mysqld.sock
fi
ln /var/run/mysqld/mysqld.sock /var/spool/postfix/var/run/mysqld/mysqld.sock
[...]
Ich nutze opensuse 10.2 lamp 32bit. Für Hilfe wäre ich sehr dankbar.