Hi,

I have a groupwise system and want to use postfix as a relay host for
virus scanning and spam checking.

Receiving mail from out the world and passing it on to groupwise works
smoothely.

But I want to scan mails that are sent via groupwise for viruses, too.
I have my groupwise server defined in mynetworks - but I still get relay
access denied on sending any mail.

Here is my main.cf:
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
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

readme_directory = no

#ldap settings
#alias_maps = ldap:/etc/postfix/ldap-aliases.cf

#relay all mail
local_transport = smtp:193.170.8.5
# 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:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

smtpd_recipient_restrictions = reject_unauth_destination,
        check_policy_service inet:127.0.0.1:10023

# AVMailGate
content_filter = smtp:127.0.0.1:10024

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

myhostname = mailrelay.tgm.ac.at
alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mailgate.tgm.ac.at, mailrelay.tgm.ac.at,
localhost.tgm.ac.at, localhost, tgm.ac.at, student.tgm.ac.at
relayhost =
mynetworks = 127.0.0.0/8 193.170.8.5/32 193.170.8.4/32 10.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

any hints?

lg, Michi

email: michi.fisc...@gmx.net
web: http://www.webfischer.at

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to