Problem mit senden und abschicken von Mails

niCeguY

New Member
Hallo liebes Support Team,

ich habe Confixx etc installiert, vorher die nötigen vorinstallationen getroffen (Postfix etc). Mein Problem ist das ich selber keine Mails abrufen kann. Die Verzeichnisse sind von Confixx angelegt.

/home/email/Maildir/webX usw. > da kommen keine Mails irgendwie an, aber der Login per Thunderbind funktioniert.

/var/mail/webX > da kommen die Mails als eine Datei an und werden anscheind gesammelt, kann diese ja dort nicht abrufen weil er ja die mail s.o. raussucht.

Wie kann ich jetzt dem System sagen das er die Mails aus der Datei holen soll. Ich dachte sowieso das die Mails normalerweise aufgeteilt werden in einzelne Dateien und dann eben im MailDir unter /cur /new /tmp stehen. Das ist im Moment nicht der Fall :-(

Gruß niCeguY
 
Hallo,


wie wärs wenn du uns mal sagen würdest was für eine genaue Konfiguration du verwendest. Sprich welchen Mailserver usw.

Gruß

Oliver S.
 
sry

sry vergessen.

Confixx 3.3
Postfix
procmail

main.cfg
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

home_mailbox = Maildir/

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = myhost.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = [url=http://www.myhost.de]web1 @ web.myhost.de[/url], localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command=/usr/bin/procmail
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

### CONFIXX POSTFIX ENTRY ###

virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains

### /CONFIXX POSTFIX ENTRY ###

smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

Gruß
 
Last edited by a moderator:
habe ein wenig im Forum rumgesucht und habe folgendes gemacht >

meine Mail sind ja unter /var/mail/webX vorhanden und habe das convertscript confixx_mb2md.pl laufenlassen dabei meinte er folgendes >

/root/confixx/admin/contrib/mb2md.pl -s /var/spool/mail/web1p1 -d /home/email/web1p1/Maildir >> /dev/null ... done
/bin/chown -R 1148:502 /home/email/web1p1/Maildir >> /dev/null ... done

Wenn ich es richtig sehe sollte er eigentlich die Mails in die Ordner kopieren, leider waren die Ordner anschließend immernoch leer :-(

Gruß
 
procmail:

Code:
# cat /etc/procmailrc | grep -v "^#" | grep -v "^[::space::]*$"
DROPPRIVS=yes
DEFAULT=$HOME/Maildir/
LOGFILE=$HOME/procmail.log
VERBOSE=on
:0fw: spamassassin.lock
* < 256000
| spamassassin
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
almost-certainly-spam
:0:
* ^X-Spam-Status: Yes
probably-spam
:0
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "

  :0 fhw
  | sed -e '1s/^/F/'
}

/confixx_main.conf


Code:
## email

# used mta ( sendmail | postfix | qmail )
$mta = 'postfix';

# location of mailspool directory
$mailSpool = '';

# type of maildrop ( /var/spool/mail/USER | HOMEDIR/Mailbox | HOMEDIR/Maildir/ )
$maildrop = 'HOMEDIR/Maildir/';

# name of Mailbox file
$mailBoxName = 'Maildir';

# location of email virtusertable file
$virtUserTableDB = '/etc/postfix/confixx_virtualUsers';

# location of email local domains file
$localDomainsFile = '/etc/postfix/confixx_localDomains';

# location of makemap binary (sendmail only)
$bin_makemap = '';

# location of postmap binary (postfix only)
$bin_postmap = '/usr/sbin/postmap';

# location of postfix binary (postfix only)
$bin_postfix = '/usr/sbin/postfix';

# location of newaliases binary (sendmail & postfix)
$bin_newaliases = '/usr/bin/newaliases';

# location of mta main config file
$MailConfigFile = '/etc/postfix/main.cf';

# location of mail users homedir
$pop_homeDir = '/home/email';

# location of aliases binary (sendmail & postfix)
$aliases = '/etc/aliases';

# location of autoresponder.pl
$bin_autorespond = '/usr/bin/autoresponder.pl';

# XXX
$use_autorespond = '1';

# uid used by mta to run local scripts (e.g. autoresponder.pl)
$mta_uid = '8';

# gid used by mta to run local scripts (e.g. autoresponder.pl)
$mta_gid = '0';

# location of sendmail binary (to send mails from local)
$bin_sendmail = '/usr/sbin/sendmail';

# mail users get real homedir (ignoring $maildrop)
$mail_realHome = '1';

# 1: mta is on localhost, 0: mta is on remote host
$mail_server = '1';

# 0: do not count mail disk usage, 1: add mail disk usage to user's disk usage value
$append_mail_disk_space = '0';

# WebMail
# Can be POP3 or IMAP
$incomingMailProtocol = 'POP3';

$incomingMailPort     = '110';

$incomingMailServer   = 'localhost';
 
Last edited by a moderator:
mh sorry wollte nicht das alles durcheinander ist


Code:
# location of mailspool directory
$mailSpool = '/var/mail';

# type of maildrop ( /var/spool/mail/USER | HOMEDIR/Mailbox | HOMEDIR/Maildir/ )
$maildrop = '/var/spool/mail/USER';

# name of Mailbox file
$mailBoxName = 'Maildir';

# location of mail users homedir
$pop_homeDir = '/home/email';

Habe das in der confixx_main.conf angepasst nur irgend wie kann ich die Mails nicht abrufen, deise stehen aber endlich im /home/emailwebX/cur
 
Last edited by a moderator:
Hi,

entweder hab ich was übersehen, oder Dir fehlt noch was.
Für Confixx auf Maildir als Auslieferungsformat zu trimmen, müssen folgende Variablen in der confixx_main.conf gesetzt werden. Die Pfade kannst Du dabei natürlich noch anpassen.

Code:
$maildrop = 'HOMEDIR/Maildir/';
$mailBoxName = 'Maildir';
$pop_homeDir = '/home/confixx';
$mail_realHome = '1';

-W
 
Back
Top