[Postfixbuch-users] ich steh auf dem schlauch...

Giuseppe Potenza giuseppe at potenza.de
Fr Jul 23 17:08:35 CEST 2004


Hallo Liste,

kann mir bitte jemand verraten, warum mails die lokal mit sendmail
versendet werden, nicht über den content-filter gehen ?

master.cf
#########################################################################
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       2       smtpd -o
content_filter=smtp:[localhost]:10024
#628      inet  n       -       n       -       -       qmqpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       nqmgr
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
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
localhost:10025 inet    n       -       n       -       -       smtpd
                                -o
smtpd_authorized_xforward_hosts=127.0.0.0/8
                                -o smtpd_client_restrictions=
                                -o smtpd_helo_restrictions=
                                -o smtpd_sender_restrictions=
                                -o
smtpd_recipient_restrictions=permit_mynetworks,reject
                                -o mynetworks=127.0.0.0/8
                                -o
receive_override_options=no_unknown_recipient_checks
                                -o content_filter=

#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/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}
#########################################################################

main.cf:
#########################################################################
queue_directory = /var/spool/postfix
syslog_facility = local4
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5

strict_rfc821_envelopes = yes
smtp_quote_rfc821_envelope = yes
header_checks = regexp:/etc/postfix/header_checks
body_checks = regexp:/etc/postfix/body_checks
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
virtual_mailbox_base = /var/spool/maildir
virtual_mailbox_maps = mysql:/etc/postfix/mailbox.mysql
virtual_uid_maps = mysql:/etc/postfix/ids.mysql
virtual_gid_maps = mysql:/etc/postfix/ids.mysql
virtual_minimum_uid = 5000

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 = mail.domain.de
mydomain = domain.de
smtpd_banner = --= DOMAIN ESMTP WEBMAIL SERVER =--
program_directory = /usr/lib/postfix
inet_interfaces = all
mynetworks = 127.0.0.0/8 192.168.1.0/24
mydestination = $myhostname, localhost.$mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
relay_domains = $mydestination, $mydomain
#content_filter = vscan:
mailbox_command =
mailbox_transport =

smtpd_helo_restrictions =
#        check_helo_access,
#        reject_non_fqdn_hostname,
         reject_invalid_hostname,
         warn_if_reject
smtpd_helo_required = yes
smtpd_recipient_restrictions =
         reject_rbl_client relays.ordb.org
         permit_mynetworks,
         check_recipient_access hash:/etc/postfix/access,
#        permit_sasl_authenticated,
         reject_unauth_destination



smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
masquerade_domains = no
#########################################################################

danke.

-- 
Giuseppe Potenza


mailto:giuseppe at potenza.de



Mehr Informationen über die Mailingliste Postfixbuch-users