Udv / Greetings!

Attachment dod not go through. I post my master.cf here:

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       30       smtpd
        -o smtpd_client_connection_count_limit=20
smtps     inet  n       -       -       -       30       smtpd
        -o smtpd_tls_wrappermode=yes
        -o smtpd_sasl_auth_enable=yes
        -o smtpd_client_connection_count_limit=20
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr -v
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
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
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       -       -       -       smtp
        -o fallback_relay=
        -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
retry     unix  -       -       -       -       -       error
error     unix  -       -       n       -       -       error

maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -V 10 -w 91 -d ${recipient} 
${recipient} ${user} ${nexthop} ${sender}

gnarwl    unix  -       n       n       -       -       pipe
   flags=F  user=vmail argv=/usr/bin/gnarwl -a [EMAIL PROTECTED] -s ${sender}

##
# BLD - BlackList Daemon
##

bld-policy  unix  -       n       n       -       -       spawn
  user=nobody argv=/usr/sbin/bld-pf_policy


##
# ESET anti-malware
##

127.0.0.1:2525 inet  n - n - - smtpd
  -o content_filter=
  -o myhostname=pszinfo
  -o local_recipient_maps=
  -o relay_recipient_maps=
  -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  -o smtpd_helo_restrictions=
  -o smtpd_client_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o smtp_send_xforward_command=yes
  -o smtpd_authorized_xforward_hosts=127.0.0.0/8
  -o disable_mime_output_conversion=yes
  -o smtp_generic_maps=
  -o smtpd_error_sleep_time=10s


My /etc/maildroprc:

logfile "/data/logs/mail/maildrop.log"

RECIPIENT=tolower("$1")
USER=tolower("$2")
HOST=tolower("$3")
SENDER=tolower("$4")

if (!$SENDER)
{
SENDER = ""
}

#
# Autocreate maildir, if not existant
#

`test -e /data/vmail.INBOX/$HOST`
if ( $RETURNCODE != 0 )
{
`mkdir /data/vmail.INBOX/$HOST`
}

`test -e /data/vmail.INBOX/$HOST/$USER`
if ( $RETURNCODE != 0 )
{
`/usr/bin/maildirmake /data/vmail.INBOX/$HOST/$USER`
`chmod -R 0600 /data/vmail.INBOX/$HOST`
}


-- 
Éliás Tamás / Thomas Elias
*NIX System administrator, Certified Cisco Network Engineer, Pascal/Bash/C++ 
programmer, Certified IBM UDB DB2 Database Administrator
mailto: [EMAIL PROTECTED]
Tel.: +3630/4971626 ; ICQ UIN: 206-714-459 ; SKYPE: "elias.tamas"
OpenPGP public key: http://pszinfo.hu/elias.tamas.asc
Quote: "Non Omnis Moriar"

Attachment: pgptNxzK3b2WA.pgp
Description: PGP signature

Reply via email to