View Single Post
  #3  
Old 16th October 2007, 23:34
aberrio aberrio is offline
Senior Member
 
Join Date: Sep 2007
Posts: 150
Thanks: 13
Thanked 3 Times in 3 Posts
Default

here is my log

Oct 16 16:30:07 mail postfix/smtpd[31002]: disconnect from unknown[12.173.5.11]
Oct 16 16:30:09 mail postfix/smtpd[31002]: connect from unknown[12.173.5.11]
Oct 16 16:30:12 mail postfix/smtpd[31002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Oct 16 16:30:12 mail postfix/smtpd[31002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Oct 16 16:30:12 mail postfix/smtpd[31002]: warning: unknown[12.173.5.11]: SASL LOGIN authentication failed: authentication failure
Oct 16 16:30:12 mail postfix/smtpd[31002]: lost connection after AUTH from unknown[12.173.5.11]
Oct 16 16:30:12 mail postfix/smtpd[31002]: disconnect from unknown[12.173.5.11]
Oct 16 16:30:13 mail postfix/smtpd[31002]: connect from unknown[12.173.5.11]
Oct 16 16:30:16 mail postfix/smtpd[31002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Oct 16 16:30:16 mail postfix/smtpd[31002]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
Oct 16 16:30:16 mail postfix/smtpd[31002]: warning: unknown[12.173.5.11]: SASL LOGIN authentication failed: authentication failure
Oct 16 16:30:17 mail postfix/smtpd[31002]: lost connection after AUTH from unknown[12.173.5.11]
Oct 16 16:30:17 mail postfix/smtpd[31002]: disconnect from unknown[12.173.5.11]

here is my main.cf

# --------------- local settings ------------------
myhostname = mail.tchosting.net
mydomain = tchosting.net
inet_interfaces = localhost, $myhostname
alias_maps =
alias_database =
relay_domains = mysql:$config_directory/mysql_relay_domains_maps.cf
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mailq_path = /usr/bin/mailq
setgid_group = maildrop
mynetworks_style = subnet
mynetworks = 127.0.0.0/8, 192.168.1.0/24
mydestination = localhost, $myhostname
unknown_local_recipient_reject_code = 550
address_verify_map = btree:/var/spool/postfix/address_verify
inet_protocols = all
biff = no
content_filter = smtp-amavis:[127.0.0.1]:10024
# ---------------------- VIRTUAL DOMAINS START ----------------------
virtual_mailbox_domains = mysql:$config_directory/mysql_virtual_domains_maps.cf
virtual_mailbox_base = /var/vmail
virtual_mailbox_maps = mysql:$config_directory/mysql_virtual_mailbox_maps.cf
virtual_alias_maps = mysql:$config_directory/mysql_virtual_alias_maps.cf
virtual_minimum_uid = 150
virtual_uid_maps = static:150
virtual_gid_maps = static:8
virtual_transport = virtual
dovecot_destination_recipient_limit = 1
# ---------------------- VIRTUAL DOMAINS END ----------------------
# ---------------------- ADDITIONAL FOR QUOTA SUPPORT -------------
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.
virtual_overquota_bounce = yes
# ---------------------- ADDITIONAL FOR QUOTA SUPPORT END -----
# ---------------------- SASL PART START ----------------------
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
#smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
#smtp_sasl_password_maps = mysql:$config_directory/mysql_virtual_mailbox_maps.cf
smtpd_sasl_path = private/auth
# ---------------------- SASL PART END ----------------------
# ---------------------- TLS PART START ----------------------
smtp_use_tls = yes
smtp_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtp_tls_key_file = /etc/postfix/ssl/smtpd.key
smtp_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtp_tls_session_cache_database = btree:/var/spool/postfix/smtp_tls_session_cache
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_session_cache_database = btree:/var/spool/postfix/smtpd_tls_session_cache
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_received_header = no
smtpd_tls_ask_ccert = no
smtpd_tls_loglevel = 0
tls_random_source = dev:/dev/urandom
smtpd_tls_auth_only = no
smtp_tls_note_starttls_offer = yes
smtpd_tls_session_cache_timeout = 3600s
# ---------------------- TLS PART END ----------------------
smtpd_helo_required = yes
disable_vrfy_command = yes
non_fqdn_reject_code = 450
invalid_hostname_reject_code = 450
maps_rbl_reject_code = 450
smtpd_recipient_restrictions =
permit_mynetworks
permit_tls_all_clientcerts
permit_sasl_authenticated
reject_unauth_destination
reject_invalid_helo_hostname
warn_if_reject reject_non_fqdn_helo_hostname
warn_if_reject reject_unknown_helo_hostname
warn_if_reject reject_unknown_client
reject_non_fqdn_sender
reject_non_fqdn_recipient
reject_unknown_sender_domain
reject_unknown_recipient_domain
warn_if_reject reject_unverified_sender
reject_unverified_recipient
reject_rbl_client cbl.abuseat.org
reject_rbl_client list.dsbl.org
reject_rbl_client opm.blitzed.org
reject_rbl_client sbl.spamhaus.org
reject_rbl_client bl.spamcop.net
reject_rbl_client dnsbl.sorbs.net=127.0.0.2
reject_rbl_client dnsbl.sorbs.net=127.0.0.3
reject_rbl_client dnsbl.sorbs.net=127.0.0.4
reject_rbl_client dnsbl.sorbs.net=127.0.0.5
reject_rbl_client dnsbl.sorbs.net=127.0.0.7
reject_rbl_client dnsbl.sorbs.net=127.0.0.9
reject_rbl_client dnsbl.sorbs.net=127.0.0.11
reject_rbl_client dnsbl.sorbs.net=127.0.0.12
warn_if_reject reject_rhsbl_sender dsn.rfc-ignorant.org
warn_if_reject reject_rhsbl_sender abuse.rfc-ignorant.org
warn_if_reject reject_rhsbl_sender whois.rfc-ignorant.org
warn_if_reject reject_rhsbl_sender bogusmx.rfc-ignorant.org
warn_if_reject reject_rhsbl_sender postmaster.rfc-ignorant.org
permit
smtpd_data_restrictions =
reject_unauth_pipelining,
reject_multi_recipient_bounce,
permit

here is dovecot.conf

base_dir = /var/run/dovecot/
protocols = imap pop3 imaps pop3s
listen =
log_timestamp = "%b %d %H:%M:%S "
syslog_facility = mail
ssl_listen =
ssl_disable = no
ssl_parameters_regenerate = 168
verbose_ssl = no
mail_location = maildir:/var/vmail/%d/%n
mail_extra_groups = mail
mail_debug = no
first_valid_uid = 150
last_valid_uid = 150
maildir_copy_with_hardlinks = yes

protocol imap {
login_executable = /usr/lib/dovecot/imap-login
mail_executable = /usr/lib/dovecot/imap
imap_max_line_length = 65536
#mail_plugins = quota imap_quota
#mail_plugin_dir = /usr/lib/dovecot/imap
#login_greeting_capability = no
#imap_capability =
imap_client_workarounds = outlook-idle delay-newmail
}

protocol pop3 {
login_executable = /usr/lib/dovecot/pop3-login
mail_executable = /usr/lib/dovecot/pop3
#pop3_no_flag_updates = no
#pop3_enable_last = no
#pop3_reuse_xuidl = no
#pop3_lock_session = no
pop3_uidl_format = %08Xv%08Xu
#pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
#mail_plugins = quota imap_quota
#mail_plugin_dir = /usr/lib/dovecot/pop3
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
}
protocol lda {
postmaster_address = postmaster@tchosting.net
#hostname =
mail_plugins = quota
#mail_plugin_dir = /usr/lib/dovecot/lda
sendmail_path = /usr/lib/sendmail
auth_socket_path = /var/run/dovecot/auth-master
}

auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX YZ01234567890.-_@
auth_verbose = no
auth_debug = no

auth default {
mechanisms = plain digest-md5 cram-md5
passdb pam {
}
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}

userdb passwd {
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
user = nobody
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
group = mail
}
client {
path = /var/run/dovecot/auth-client
mode = 0660
user = postfix
group = mail
}
}
}

dict {
#quota = mysql:/etc/dovecot-dict-quota.conf
}

plugin {
quota = maildir:storage=10240:messages=1000
acl = vfile:/etc/dovecot-acls
#convert_mail = mbox:%h/mail
trash = /etc/dovecot-trash.conf
}

yes IP tables re ok verifi ports 143 25 110 are avail, the problem is sending email

best regards

Al
Reply With Quote