Fly
28.09.05, 16:48
Moin,
mein Mailserver lief mit postfix/amavisd-new/antivir und qpopper einwandfrei. Als ich den Mailserver auf cyrus-imapd umstellte kommen die Mails nicht ins cyrus Box abgelegt, so dass ich diese nicht per IMAP zugreifen kann...
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
default_privs = nobody
default_transport = smtp
defer_transports = smtp
fallback_transport = cyrus
mail_owner = postfix
mailbox_command = /usr/sbin/cyrdeliver
mailbox_transport = cyrus
mailq_path = /usr/sbin/mailq
mydestination = $myhostname, $mydomain, localhost, localhost.$mydomain
mydomain = <domainname>.ax
myhostname = mailserver.<domainname>.ax
mynetworks = 127.0.0.0/8, 10.45.94.0/24
myorigin = $mydomain
sendmail_path = /usr/sbin/sendmail
smtpd_banner = $myhostname ESMTP $mail_name
transport_maps = hash:/etc/postfix/transport
main.cf
smtp inet n - n - - smtpd -o content_filter=smtp:[localhost]:10024
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
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
smtp unix - - - - - smtp
relay unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -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}
cyrus unix - n n - - pipe user=cyrus argv=/usr/sbin/cyrdeliver e -m${extension}${user}
# only used by postfix-tls
#tlsmgr fifo - - n 300 1 tlsmgr
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#smtpd_sasl_auth_enable=yes
localhost:10025 inet n - y - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.1/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
smtp-amavis unix - - y - 50 smtp
-o smtp_data_done_timeout = 1200
-o smtp_send_xforward_command=yes
Wenn ich eine Mail per Fetchmail empfange sehe ich folgendes im LOG:
Sep 28 17:30:00 mailserver postfix/smtpd[7943]: connect from localhost[127.0.0.1]
Sep 28 17:30:00 mailserver postfix/smtpd[7943]: 35065FC49: client=localhost[127.0.0.1]
Sep 28 17:30:00 mailserver postfix/cleanup[7946]: 35065FC49: message-id=<1127921410.433ab7027f16e@webmail.networld.at>
Sep 28 17:30:00 mailserver postfix/qmgr[7887]: 35065FC49: from=<fly007@networld.at>, size=1962, nrcpt=1 (queue active)
Sep 28 17:30:00 mailserver postfix/qmgr[7887]: 35065FC49: to=<test@domain.ax>, orig_to=<test@localhost>, relay=none, delay=0, status=deferred (delivery temporarily suspended: deferred transport)
Sep 28 17:30:00 mailserver postfix/smtpd[7943]: disconnect from localhost[127.0.0.1]
Ein telnet an localhost imap, 25, 10024 10025 funktioniert
Wenn ich eine Mail verschicke kommt folgendes:
Sep 28 17:38:23 mailserver postfix/smtpd[7955]: connect from pc001.domain.local[10.45.94.80]
Sep 28 17:38:23 mailserver postfix/smtpd[7955]: 646FCFC36: client=pc001.domain.local[10.45.94.80]
Sep 28 17:38:23 mailserver postfix/cleanup[7958]: 646FCFC36: message-id=<433AB917.8080908@domain.ax>
Sep 28 17:38:23 mailserver postfix/qmgr[7887]: 646FCFC36: from=<test@domain.ax>, size=631, nrcpt=1 (queue active)
Sep 28 17:38:23 mailserver postfix/smtpd[7955]: disconnect from pc001.domain.local[10.45.94.80]
Sep 28 17:38:23 mailserver postfix/qmgr[7887]: 646FCFC36: to=<fly007@networld.at>, relay=none, delay=0, status=deferred (delivery temporarily suspended: deferred transport)
mein Mailserver lief mit postfix/amavisd-new/antivir und qpopper einwandfrei. Als ich den Mailserver auf cyrus-imapd umstellte kommen die Mails nicht ins cyrus Box abgelegt, so dass ich diese nicht per IMAP zugreifen kann...
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
default_privs = nobody
default_transport = smtp
defer_transports = smtp
fallback_transport = cyrus
mail_owner = postfix
mailbox_command = /usr/sbin/cyrdeliver
mailbox_transport = cyrus
mailq_path = /usr/sbin/mailq
mydestination = $myhostname, $mydomain, localhost, localhost.$mydomain
mydomain = <domainname>.ax
myhostname = mailserver.<domainname>.ax
mynetworks = 127.0.0.0/8, 10.45.94.0/24
myorigin = $mydomain
sendmail_path = /usr/sbin/sendmail
smtpd_banner = $myhostname ESMTP $mail_name
transport_maps = hash:/etc/postfix/transport
main.cf
smtp inet n - n - - smtpd -o content_filter=smtp:[localhost]:10024
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
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
smtp unix - - - - - smtp
relay unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -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}
cyrus unix - n n - - pipe user=cyrus argv=/usr/sbin/cyrdeliver e -m${extension}${user}
# only used by postfix-tls
#tlsmgr fifo - - n 300 1 tlsmgr
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#smtpd_sasl_auth_enable=yes
localhost:10025 inet n - y - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.1/8
-o strict_rfc821_envelopes=yes
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
smtp-amavis unix - - y - 50 smtp
-o smtp_data_done_timeout = 1200
-o smtp_send_xforward_command=yes
Wenn ich eine Mail per Fetchmail empfange sehe ich folgendes im LOG:
Sep 28 17:30:00 mailserver postfix/smtpd[7943]: connect from localhost[127.0.0.1]
Sep 28 17:30:00 mailserver postfix/smtpd[7943]: 35065FC49: client=localhost[127.0.0.1]
Sep 28 17:30:00 mailserver postfix/cleanup[7946]: 35065FC49: message-id=<1127921410.433ab7027f16e@webmail.networld.at>
Sep 28 17:30:00 mailserver postfix/qmgr[7887]: 35065FC49: from=<fly007@networld.at>, size=1962, nrcpt=1 (queue active)
Sep 28 17:30:00 mailserver postfix/qmgr[7887]: 35065FC49: to=<test@domain.ax>, orig_to=<test@localhost>, relay=none, delay=0, status=deferred (delivery temporarily suspended: deferred transport)
Sep 28 17:30:00 mailserver postfix/smtpd[7943]: disconnect from localhost[127.0.0.1]
Ein telnet an localhost imap, 25, 10024 10025 funktioniert
Wenn ich eine Mail verschicke kommt folgendes:
Sep 28 17:38:23 mailserver postfix/smtpd[7955]: connect from pc001.domain.local[10.45.94.80]
Sep 28 17:38:23 mailserver postfix/smtpd[7955]: 646FCFC36: client=pc001.domain.local[10.45.94.80]
Sep 28 17:38:23 mailserver postfix/cleanup[7958]: 646FCFC36: message-id=<433AB917.8080908@domain.ax>
Sep 28 17:38:23 mailserver postfix/qmgr[7887]: 646FCFC36: from=<test@domain.ax>, size=631, nrcpt=1 (queue active)
Sep 28 17:38:23 mailserver postfix/smtpd[7955]: disconnect from pc001.domain.local[10.45.94.80]
Sep 28 17:38:23 mailserver postfix/qmgr[7887]: 646FCFC36: to=<fly007@networld.at>, relay=none, delay=0, status=deferred (delivery temporarily suspended: deferred transport)