Fwd: folders and subfolders

Stephane Magnier steph.mag220 at netcourrier.com
Mon Jul 19 07:49:02 EEST 2021


hi,

Please find the config files..


Here is the config

*Sendmail*

divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`setup for linux')dnl
OSTYPE(`linux')dnl
dnl ## 
define(`confPRIVACY_FLAGS',`authwarnings,novrfy,noexpn,restrictqrun,needmailhelo,needvrfyhelo,restrictqrun')dnl 

LOCAL_DOMAIN(`mbox1.aztgrp.net')dnl
# DeliveryMode=queueonly
define(`confDELIVERY_MODE',`background')dnl
dnl ###################################"""""""""# dnl
dnl ###### spamass-milter #####
MAIL_FILTER(`spamassassin',`S=local:/run/spamass-milter/spamass-milter.sock, 
F=, T=C:15m;S:4m;R:4m;E:10m')dnl

dnl ######
dnl ################  security #####
define(`confCT_FILE', `/etc/mail/trusted.list')dnl
define(`confMAX_MESSAGE_SIZE',24000000)
define(`confSAFE_QUEUE',`true')dnl
dnl ############  connection SPAM ###########
define(`confDOUBLE_BOUNCE_ADDRESS',`it at ooooo.com')
dnl ###### DNSBL####
FEATURE(`dnsbl',`dnsbl.office.itx')dnl
dnl  ######### min connection Regulate flow #########
define(`confMAX_DAEMON_CHILDREN',312)
define(`confMAX_QUEUE_CHILDREN',120)dnl
define(`confMAX_RUNNERS_PER_QUEUE',5)dnl
dnl #define(`MAX_QUEUE_CHILDREN',10)dnl
define(`confMAX_QUEUE_RUN_SIZE',200)dnl
dnl ############################# dnl
FEATURE(`delay_checks')dnl
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`ratecontrol',`nodelay',`terminate',`conncontrol')dnl
define(`confCONNECTION_RATE_THROTTLE',30)dnl
dnl # define(`confCONNECTION_RATE_WINDOW_SIZE',90s)dnl
define(`confMAXRCPTSPERMESSAGE', `15')dnl
define(`confBAD_RCPT_THROTTLE',12)dnl
define(`confTRY_NULL_MX_LIST', `True')dnl
define(`confCW_FILE',`/etc/mail/local-host-names')dnl
define(`confNO_RCPT_ACTION',`add-to-undisclosed')dnl
define(`confRRT_IMPLIES_DSN')dnl
dnl ##
dnl ### milter-limit
define(`confMILTER_MACROS_EOM', `{msg_id}')dnl
dnl ##
dnl ######################dnl
dnl ################  Def RELAY
define(`SMTP_MAILER_FLAGS',`l8')dnl
define(`ESMTP_MAILER_FLAGS',`l8')dnl
define(`SMART_HOST',`sas.intranet.office.itx')
define(`RELAY_MAILER',`RELAY')dnl
dnl #####
define(`confSMTP_LOGIN_MSG',`mbox1.xxxx.net - $b')
define(`confQUEUE_SORT_ORDER',`Time')dnl
define(`confDEF_USER_ID', ``8:12'')dnl
dnl define(`confAUTO_REBUILD')dnl
dnl #define(`confTO_CONNECT',0)dnl
define(`confTRY_NULL_MX_LIST', `True')dnl
define(`confDONT_PROBE_INTERFACES', `True')dnl
define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
define(`STATUS_FILE', `/var/log/mail/statistics')dnl
define(`UUCP_MAILER_MAX', `2000000')dnl
define(`confTIME_ZONE',`CEST')dnl
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confQUEUE_SORT_ORDER',priority)dnl
define(`confTO_QUEUERETURN',`2h')
define(`confTO_QUEUEWARN',`10m')
dnl ####### 03/11/20
define(`confWORK_RECIPIENT_FACTOR', `1000')dnl
define(`confWORK_TIME_FACTOR',6000)dnl
define(`confTO_HOSTSTATUS',`15m')dnl
dnl # define(`confTO_DATAINIT', `6m')dnl
dnl # define(`confTO_DATABLOCK', `35m')dnl
dnl # define(`confTO_DATAFINAL', `35m')dnl
dnl #### Max load average for sending dnl
dnl # ax load average for receiving dnl
define(`confQUEUE_LA',30)
define(`confREFUSE_LA',156)dnl
define(`confDELAY_LA',3)dnl
dnl # define(`confTO_IDENT',0)
dnl #########  Direct go everywhere
dnl # FEATURE(`accept_unresolvable_domains')dnl
dnl # FEATURE(`accept_unqualified_senders')dnl
define(`confDIRECT_SUBMISSION_MODIFIERS', `C')dnl
dnl #
define(`confBIND_OPTS', `-DNSRCH -DEFNAMES +WorkAroundBrokenAAAA')dnl
dnl ##############################
dnl # If you're operating in a DSCP/RFC-4594 environment with QoSdnl
define(`confINET_QOS',`AF33')dnl
dnl ### ne souhaite pas necessairement le cryptage
dnl # define(`confTLS_SRV_OPTIONS', `V')dnl
FEATURE(delay_checks)dnl
FEATURE(`no_default_msa', `dnl')dnl
FEATURE(`smrsh', `/usr/sbin/smrsh')dnl
FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl
FEATURE(redirect)dnl
FEATURE(domaintable)dnl
FEATURE(always_add_domain)dnl
FEATURE(use_cw_file)dnl
FEATURE(use_ct_file)dnl
FEATURE(`nocanonify',`canonify_hosts')dnl
dnl #### sasl ####
define(`confAUTH_OPTIONS',`A,')
TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
dnl #
dnl 
###########################################################################dnl
dnl 
###########################################################################dnl
dnl ######################   SSL/ STARTTLS ####################dnl
define(`confCACERT_PATH', `/etc/mail/ssl/ssl1')dnl
define(`confCACERT', `/etc/mail/ssl/ssl1/STAR_xxx_net.ca-bundle')dnl
define(`confSERVER_CERT', `/etc/mail/ssl/ssl1/STAR_xxxx_net.crt')dnl
define(`confSERVER_KEY', `/etc/mail/ssl/ssl1/private.key')dnl
define(`confCLIENT_CERT',`/etc/mail/ssl/ssl1/STAR_xxx_net.crt')dnl
define(`confCLIENT_KEY',`/etc/mail/ssl/ssl1/private.key')dnl
dnl 
###########################################################################dnl
dnl
dnl ############  OPENDKIM ####################################
MAIL_FILTER(`opendkim', `S=inet:8891 at 127.0.0.1')dnl
define(`confMILTER_MACROS_ENVFROM', `i, {auth_type}, {auth_authen}, 
{auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}')dnl
define(`confMILTER_MACROS_ENVRCPT',`r, v, b, Z, {auth_type}, {greylist}, 
{auth_ssf}')dnl

define(`confRECEIVED_HEADER',`( _Code originator: 
MBOX1_901_13_)_$?{auth_type}Abused? contact-us_at ** 
abuse at azure-telecom.com **')dnl
define(`confMILTER_MACROS_CONNECT', `b,j, _, {daemon_name}, {if_name}, 
{if_addr}, {client_resolve}')dnl dnl #### Local lmtp/Dovecot ######

define(`DOVECOT_MAILER_ARGS', `TCP $h 24')dnl
dnl ############################  FIN OPENDKIM ######
dnl ###### boost traitement ############"dnl
FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl
dnl # define(`confCONNECTION_RATE_THROTTLE',2800)dnl
FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl
dnl # FEATURE(`local_lmtp') dnl
MAILER(dovecot)dnl
dnl  #MAILER(smtp)dnl
dnl #MAILER(procmail)dnl

dnl #############################################################
DAEMON_OPTIONS(`Name=MTA,Family=inet,Port=25')
DAEMON_OPTIONS(`Name=MTA2,Family=inet6,Port=587,Modifiers=aE')
DAEMON_OPTIONS(`Name=MSA,Family=inet6,Port=465,Modifiers=asE')
DAEMON_OPTIONS(`Name=TRANS, family=inet, Port=900,Modifiers=bh')*
*

*Dovecot*

# 2.3.8 (9df20d2db): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.8 (b7b03ba2)
# OS: Linux 4.18.0-305.7.1.el8_4.x86_64 x86_64 CentOS Linux release 
8.4.2105 xfs
# Hostname: mbox1.xxx.net
auth_mechanisms = plain login
auth_username_format = %u
debug_log_path = /var/log/dovecot-debug.log
default_vsz_limit = 4 G
info_log_path = /var/log/dovecot-info.log
listen = *
log_path = /var/log/dovecot.log
login_trusted_networks = 172.18.0.0/16 127.0.0.1 ::1
mail_access_groups = dovecot
mail_fsync = always
mail_location = maildir:/var/spool3/mail/%u:LAYOUT=fs
mail_plugins = " quota"
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope 
encoded-character vacation subaddress comparator-i;ascii-numeric 
relational regex imap4flags copy include variables body enotify 
environment mailbox date ihave
mbox_very_dirty_syncs = yes
mbox_write_locks = fcntl
mmap_disable = yes
namespace inbox {
   disabled = no
   ignore_on_failure = no
   inbox = yes
   list = yes
   location =
   mailbox Drafts {
     auto = subscribe
     special_use = \Drafts
   }
   mailbox Junk {
     auto = subscribe
     autoexpunge = 12 weeks
     special_use = \Junk
   }
   mailbox Sent {
     auto = subscribe
     special_use = \Sent
   }
   mailbox Trash {
     auto = no
     autoexpunge = 12 weeks
     special_use = \Trash
   }
   mailbox virtual/All {
     auto = no
     special_use = \All
   }
   prefix =
   subscriptions = yes
   type = private
}
passdb {
   driver = pam
}
plugin {
   quota_grace = 10%%
   quota_max_mail_size = 100M
   quota_rule = *:storage=10000M
   quota_rule2 = Trash:Storage=+100M
   quota_status_nouser = DUNNO
   quota_status_overquota = 552 5.2.2 Mailbox is full
   quota_status_success = DUNNO
   quota_warning = storage=95%% quota-warning 95 %u
   quota_warning2 = storage=80%% quota-warning 80 %u
   sieve = file:~/sieve;active=~/.dovecot.sieve
}
pop3_uidl_format = %v-%u
service auth {
   unix_listener auth-master {
     mode = 0666
   }
}
service dict {
   unix_listener dict {
     mode = 0600
     user = mail
   }
}
service imap-login {
   inet_listener imap {
     port = 0
   }
   inet_listener imaps {
     port = 993
     ssl = yes
   }
}
service lmtp {
   inet_listener lmtp {
     port = 24
   }
   unix_listener /var/run/lmtp {
     group = mail
     mode = 0660
     user = mail
   }
}
service pop3-login {
   inet_listener pop3 {
     address = *
     port = 110
   }
   inet_listener pop3s {
     port = 995
     ssl = yes
   }
}
service quota-warning {
   executable = script /usr/local/bin/quota-warning.sh
   unix_listener quota-warning {
     user = mail
   }
   user = dovecot
}
service submission {
   process_limit = 250
}
ssl = required
ssl_ca = </etc/mail/ssl/ssl1/STAR_xxxx_net.ca-bundle
ssl_cert = </etc/mail/ssl/ssl1/STAR_xxxx_net.crt
ssl_cipher_list = HIGH:!aNULL:!ADH:!DH:!RC4:!MD5:!RSA
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
userdb {
   driver = passwd
}
verbose_proctitle = yes
protocol lmtp {
   mail_fsync = optimized
   mail_plugins = autocreate quota acl fts fts_solr zlib mail_log notify 
sieve
   postmaster_address = it at intranet.office.itx
}
protocol lda {
   mail_fsync = optimized
   mail_plugins = " quota sieve quota"
}
protocol imap {
   mail_max_userip_connections = 80
   mail_plugins = " quota quota imap_quota"
   ssl_cert = </etc/mail/ssl/ssl1/STAR_xxx_net.crt
   ssl_key = # hidden, use -P to show it
}
protocol pop3 {
   mail_max_userip_connections = 10
   mail_plugins = " quota"
}
protocol submission {
   mail_max_userip_connections = 10
   mail_plugins = " quota"
}


Le 18/07/2021 à 22:25, Alexander Dalloz a écrit :
> Am 18.07.2021 um 21:45 schrieb Stephane Magnier:
>> and sendmail log file says Jul 18 21:39:50 mbox1 sm-msp-queue[3065]: 
>> starting daemon (8.15.2): queueing at 01:00:00 Jul 18 21:41:15 mbox1 
>> sendmail[3213]: STARTTLS=server, relay=sas.intranet.office.itx 
>> [172.18.2.85], version=TLSv1.3, verify=NO, 
>> cipher=TLS_AES_256_GCM_SHA384, bits=256/256 Jul 18 21:41:15 mbox1 
>> sendmail[3213]: 16IJfFRE003213: SYSERR(root): buildaddr: unknown 
>> mailer unknown: Unknown error -30988 Thanks and regards,
>
> Did you remove the smtp MAILER?
>
> It is not helpful to provide just that part of the configuration you 
> think it tells everything about both server applications.
>
> Alexander
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210719/02e98a8d/attachment-0001.html>


More information about the dovecot mailing list