Jump to content
Froxlor Forum
  • 0

[solved] Kein Mailkonto


Leguz

Question

Hallo Leute

 

Ich habe das problem das er einfach keine mailkonto anlegt unter

 

/var/customers/mail/web1/*****

 

Postfix l?uft und w?rde auch per Froxlor eingestellt.

 

Mein System Debian Squeeze 64bit

 

Non paar configdaten vieleicht findet ihr den fehler den ich seit tagen suche -.-

 

Master.cf

# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       -       smtpd
#submission inet n       -       -       -       -       smtpd
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#smtps     inet  n       -       -       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628       inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       -       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
-o smtp_fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
 flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
#   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
#  mailbox_transport = lmtp:inet:localhost
#  virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
 flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix	-	n	n	-	2	pipe
 flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman   unix  -       n       n       -       -       pipe
 flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
 ${nexthop} ${user}

mysql-virtual_mailbox_maps.cf

user = froxlor
password = ****
dbname = froxlor
table = panel_domains
select_field = domain
where_field = domain
additional_conditions = and isemaildomain = '1'
hosts = 127.0.0.1

mysql-virtual_mailbox_domains.cf

user = froxlor
password = *****
dbname = froxlor
table = panel_domains
select_field = domain
where_field = domain
additional_conditions = and isemaildomain = '1'
hosts = 127.0.0.1

mysql-virtual_alias_maps.cf

user = froxlor
password = *******
dbname = froxlor
table = panel_domains
select_field = domain
where_field = domain
additional_conditions = and isemaildomain = '1'
hosts = 127.0.0.1

main.cf

		## General Postfix configuration
# should be the default domain from your provider eg. "server100.provider.tld"
mydomain = v220100145262357.yourvserver.net

# should be different from $mydomain eg. "mail.$mydomain"
myhostname = *********.yourvserver.net

mydestination = $myhostname,
$mydomain,
localhost.$myhostname,
localhost.$mydomain,
localhost
mynetworks = 127.0.0.0/8
inet_interfaces = all
append_dot_mydomain = no
biff = no

# Postfix performance settings
default_destination_concurrency_limit = 20
local_destination_concurrency_limit = 2

# SMTPD Settings
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unauth_pipelining,
reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks,
reject_sender_login_mismatch,
permit_sasl_authenticated, 
reject_unknown_helo_hostname, 
reject_unknown_recipient_domain, 
reject_unknown_sender_domain
smtpd_client_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unknown_client_hostname
# Maximum size of Message in bytes (50MB)
message_size_limit = 52428800

## SASL Auth Settings
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes

# Virtual delivery settings
virtual_mailbox_base = /var/customers/mail/
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual_mailbox_domains.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias_maps.cf
smtpd_sender_login_maps = mysql:/etc/postfix/mysql-virtual_sender_permissions.cf
virtual_uid_maps = static:2000
virtual_gid_maps = static:2000

# Local delivery settings
local_transport = local
alias_maps = $alias_database

# Default Mailbox size, is set to 0 which means unlimited!
mailbox_size_limit = 0
virtual_mailbox_limit = 0

### TLS settings
###
## TLS for outgoing mails from the server to another server
#smtp_tls_security_level = may
#smtp_tls_note_starttls_offer = yes
## TLS for email client
#smtpd_tls_security_level = may
#smtpd_tls_cert_file = /etc/ssl/server/*********.yourvserver.net.pem
#smtpd_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
#smtpd_tls_loglevel = 1
#smtpd_tls_received_header = yes

debugger_command =
        PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
        ddd $daemon_directory/$process_name $process_id & sleep 5

mysql-virtual_sender_permissions.cf

user = froxlor
password = ****
dbname = froxlor
query = select distinct username from mail_users where email in ((select mail_virtual.email_full from mail_virtual where mail_virtual.email = '%s' union select mail_virtual.destination from mail_virtual where mail_virtual.email = '%s'));
hosts = 127.0.0.1

smtpd.conf

pwcheck_method: auxprop
auxprop_plugin: sql
allowanonymouslogin: no
allowplaintext: yes
mech_list: plain login cram-md5 digest-md5
sql_engine: mysql
sql_hostnames: 127.0.0.1
sql_user: froxlor
sql_passwd: ****
sql_database: froxlor
sql_select: SELECT password FROM mail_users WHERE username='%u@%r' OR email='%u@%r'

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

hmm THX

 

 

mail.err

Mar 18 15:09:51 v220100145262357 imapd: admin@mysyscp.tk: No such file or directory
Mar 18 15:09:58 v220100145262357 imapd: admin@mysyscp.tk: No such file or directory
Mar 18 15:13:40 v220100145262357 imapd: admin@mysyscp.tk: No such file or directory
Mar 18 15:18:29 v220100145262357 imapd: admin@mysyscp.tk: No such file or directory
Mar 18 15:55:55 v220100145262357 postfix/postmap[13868]: fatal: open transport: No such file or directory

Link to comment
Share on other sites

1) hast du aliase in /etc/aliases gesetzt?

2) da steht fatal: open transport: No such file or directory, bist du sicher dass du 1:1 die Froxlor Configs benutzt?

 

 

Hab die Konfigurantion von Froxlor gemacht

 

auzug der /etc/aliases

 

# See man 5 aliases for format
postmaster:    root

 

Hmm jetzt wo ich nochmal schaue f?llt mir auf das die Konfi f?r debian lenny ist in meinem Froxlor ich habe aber Squeeze

liegt daran das problem ?

Link to comment
Share on other sites

1) deine aliases datei ist so nicht vollst?ndig, es sei denn, der root-user hat ein lokales mailkonto, schreib einfach drunter root: deine@mail.com und danach lass newaliases laufen

 

2) ...wieso benutzt du auch configs die nicht f?r dein system bestimmt sind?

Link to comment
Share on other sites

1) deine aliases datei ist so nicht vollst?ndig, es sei denn, der root-user hat ein lokales mailkonto, schreib einfach drunter root: deine@mail.com und danach lass newaliases laufen

 

2) ...wieso benutzt du auch configs die nicht f?r dein system bestimmt sind?

 

Also in Froxlor gibt es keine Gonfig f?r Squeeze 64 bit

Warum hmm macht der gewohnheit habe lange lenny gehabt -.-

 

gibst es vieleicht Hotow f?r Squeeze ?

 

und

root: deine@mail.com brachte kein erfolg -.- *nief*

Link to comment
Share on other sites

Fehler gefunden *freu*

 

mysql-virtual_mailbox_maps.cf

 

user = froxlor
password = ****
dbname = froxlor
table = panel_domains
select_field = domain
where_field = domain
additional_conditions = and isemaildomain = '1'
hosts = 127.0.0.1

 

Org. config

user = froxlor

password = MYSQL_PASSWORD

dbname = froxlor

table = mail_users

select_field = maildir

where_field = email

hosts = 127.0.0.1

 

scheint als w?re ich zu schnell gewesen und falsche config eingef?gt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...