ich versuche nun seit einem geschlagenen monat einen lokalen mailserver einzurichten, der für meine wg als lokalen sammelserver dient, d.h. meine kiste holt für alle die mails ab, legt sie in lokale mailboxen und die anderen können sie abholen bzw. sollen sie dann abholen können, wenn ich das mal hinbekommen sollte. da ich eigentlich so gut wie keine ahnung dabei habe, erhoffe ich mir hilfe von der community.
meine hostname ist tuxo
die entsprechenden packete sind installiert
da bestimmt die frage nach den entsprechenden dateien kommt poste ich sie gleich mal mit.
imapd.conf:
Code: Alles auswählen
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
srvtab: /var/lib/imap/srctab
admins: cyrus root
allowanonymouslogin: no
autocreatequota: 50000
reject8bit: no
quotawarn: 90
timeout: 480
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
sasl_mech:list plain login
lmtpsocket: /var/lib/imap/socket/lmtp
lmtp_overquota_perm_failure: no
Code: Alles auswählen
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
#myhostname = tuxo ???
#myorigin = $myhostname ??
#inet_interfaces = $myhostname, localhost ??
#mydestination = $myhostname, localhost.$mydomain ??
#local_recipient_maps = ??
unknown_local_recipient_reject_code = 450
#mynetworks_style = host
mynetworks = 192.168.1.0/28, 127.0.0.0/8
relay_domains = $mydestination
#relayhost = $mydomain
#relay_recipient_maps = hash:/etc/postfix/relay_recipients
#alias_maps = hash:/etc/aliases
#alias_database = hash:/etc/aliases
#home_mailbox = Mailbox
mail_spool_directory = /var/spool/mail
mailbox_command = /some/where/procmail -a "$EXTENSION"
mailbox_transport = cyrus
#luser_relay = admin+$local
#smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = tuxo
program_directory = /usr/lib/postfix
inet_interfaces = 127.0.0.1
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain
defer_transports = smtp
disable_dns_lookups = no
relayhost = ???
content_filter =
mailbox_command =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated, check_relay_domains,reject_unauth_destination
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = yes
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
Code: Alles auswählen
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
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/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
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
Code: Alles auswählen
set postmaster "postmaster"
set no bouncemail
poll post.strato.de
proto pop3
user "xxx@xxx.de"
pass "geheim"
is drew
keep
fetchall
warnings 3600 antispam 554
in diesem sinne
wolle