Mailinglist Archive: opensuse-de (1756 mails)
| < Previous | Next > |
Re: Postfix Cyrus und delimiter
- From: Martin Lammers <m_lammers@xxxxxxx>
- Date: Wed, 4 Oct 2006 20:23:17 +0000 (UTC)
- Message-id: <4524180E.8070901@xxxxxxx>
Sandy Drobic schrieb:
Das funktioniert. Die Mails werden in den richtigen Ordner einsortiert. Komischerweise mit und ohne existierendem Script.
Ich habe mal in der Shell eine Mail an public+Ordner geschickt. Diese wird auch richtig einsortiert. Wenn ich aber an
public+Ordner@xxxxxxxxxxxxxxx schicke landet diese wieder in der INBOX. Hat das evtl. mit einer der Tabellen virtual oder sender_canonical zu tun?
postconf -n
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
local_recipient_maps =
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
myhostname = osiris.intern.mydomain.biz
mynetworks = 192.168.0.0/24, 127.0.0.0/8, 192.168.1.0/24
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relayhost = smtp.variomedia.de
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
Martin Lammers wrote:
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
Okay, dass sieht ja ganz ordentlich aus. Hast du mal probiert, diesen Befehl manuell aufzurufen?
su cyrus
# eine Zeile:
cat testmail |/usr/lib/cyrus/bin/deliver -e -r absender@xxxxxxxxxxx \
-m spam username
In der Testmail sollten die wichtigsten Headerzeilen existieren.
--------------------------------------------------
Return-Path: <test@xxxxxxxxxxx>
Date: Tue, 20 Jun 2006 15:40:20 +0200
From: test user <test@xxxxxxxxxxx
To: test@xxxxxxxxxxx
Subject: testmail for deliver
Message-ID: <2006103402serwer-dfsdf0.GA3046kkkkk@xxxxxxxxxxx>
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
Hello,
this is a testmail!
--------------------------------------------------
Der Ordner spam sollte natürlich vorhanden sein!
Wie sieht "postconf -n" aus?
Sandy
Das funktioniert. Die Mails werden in den richtigen Ordner einsortiert. Komischerweise mit und ohne existierendem Script.
Ich habe mal in der Shell eine Mail an public+Ordner geschickt. Diese wird auch richtig einsortiert. Wenn ich aber an
public+Ordner@xxxxxxxxxxxxxxx schicke landet diese wieder in der INBOX. Hat das evtl. mit einer der Tabellen virtual oder sender_canonical zu tun?
postconf -n
alias_maps = hash:/etc/aliases
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
defer_transports =
disable_dns_lookups = no
disable_mime_output_conversion = no
html_directory = /usr/share/doc/packages/postfix/html
inet_interfaces = all
inet_protocols = all
local_recipient_maps =
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain
myhostname = osiris.intern.mydomain.biz
mynetworks = 192.168.0.0/24, 127.0.0.0/8, 192.168.1.0/24
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
recipient_delimiter = +
relayhost = smtp.variomedia.de
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_use_tls = no
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_use_tls = no
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
| < Previous | Next > |