#1  
Old 2nd May 2010, 01:08
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 108
Thanks: 18
Thanked 1 Time in 1 Post
Exclamation Cannot send mail across smtp - RESOLVED!!!

Hi All:

OpenSuse 11.2x64
IspConfig 3.0.2.1

I used The perfect server guide for OpenSuse 11.2x64

When try send email from my email client (outlook, etc.), client loop answer name user and password.

Attach log's

/var/log/mail:
Code:
May  1 17:54:39 ns1 postfix/smtpd[15342]: warning: pc-36-199-120-200.cm.vtr.net[nn.nn.nn.nn]: SASL LOGIN authentication failed: authentication failure
May  1 17:54:39 ns1 postfix/smtpd[15342]: lost connection after AUTH from pc-nn-nn-nn-nn.cm.cc.net[nn.nn.nn.nn]
May  1 17:54:39 ns1 postfix/smtpd[15342]: disconnect from pc-nn-nn-nn-nn.cm.cc.net[nn.nn.nn.nn]
/var/log/mail.err:
Code:
May  1 13:16:23 ns1 postfix/postqueue[13435]: fatal: Flush service is not configured for destination "domain.cl"
May  1 13:16:32 ns1 postfix/postqueue[13437]: fatal: Flush service is not configured for destination "ns1.domain.cl"
/var/log/mail.info:
Code:
May  1 18:13:10 ns1 postfix/smtpd[17218]: connect from pc-nn-nn-nn-nn.cm.cc.net[nn.nn.nn.nn]
May  1 18:13:11 ns1 postfix/smtpd[17218]: warning: pc--nn-nn-nn-nn.cm.cc.net[nn.nn.nn.nn]: SASL LOGIN authentication failed: authentication failure
May  1 18:13:11 ns1 postfix/smtpd[17218]: lost connection after AUTH from pc--nn-nn-nn-nn.cm.cc.net[nn.nn.nn.nn]
May  1 18:13:11 ns1 postfix/smtpd[17218]: disconnect from pc--nn-nn-nn-nn.cm.cc.net[nn.nn.nn.nn]
/etc/postfix/main.cf:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 550
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = maildrop
html_directory = /usr/share/doc/packages/postfix-doc/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix-doc/samples
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_domains =
relocated_maps = hash:/etc/postfix/relocated
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = ns1.domain.cl
delay_warning_time = 1h
message_strip_characters = \0
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination = ns1.domain.cl, localhost, localhost.localdomain
defer_transports =
mynetworks_style = subnet
disable_dns_lookups = no
relayhost =
content_filter = amavis:[127.0.0.1]:10024
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtpd_use_tls = yes
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 0
mynetworks = 127.0.0.0/8 [::1]/128
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
receive_override_options = no_address_mappings

/etc/postfix/mysql-virtual_relaydomains.cf:
Quote:
user = *******
password = **********
dbname = dbispconfig
table = mail_transport
select_field = domain
where_field = domain
additional_conditions = and active = 'y' and server_id = 1
hosts = 127.0.0.1

table mail_transport is empty
/etc/postfix/mysql-virtual_forwardings.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_forwarding
select_field = destination
where_field = source
additional_conditions = and active = 'y' and server_id = 1
hosts = 127.0.0.1

table mail_forwarding has data
/etc/postfix/mysql-virtual_email2email.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_user
select_field = email
where_field = email
additional_conditions = and postfix = 'y' and server_id = 1
hosts = 127.0.0.1

table mail_user has data
/etc/postfix/mysql-virtual_transports.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_transport
select_field = transport
where_field = domain
additional_conditions = and active = 'y' and server_id = 1
hosts = 127.0.0.1

table mail_transport is empty
/etc/postfix/mysql-virtual_sender.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_access
select_field = access
where_field = source
additional_conditions = and type = 'sender' and active = 'y' and server_id = 1
hosts = 127.0.0.1

table mail_access is empty
/etc/postfix/mysql-virtual_client.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_access
select_field = access
where_field = source
additional_conditions = and type = 'client' and active = 'y'
hosts = 127.0.0.1

table mail_access is empty
/etc/postfix/mysql-virtual_recipient.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_access
select_field = access
where_field = source
additional_conditions = and type = 'client' and active = 'y'
hosts = 127.0.0.1

table mail_access is empty
/etc/postfix/mysql-virtual_domains.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_domain
select_field = domain
where_field = domain
additional_conditions = and active = 'y' and server_id = 1
hosts = 127.0.0.1

table mail_domain has data
/etc/postfix/mysql-virtual_mailboxes.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_user
select_field = CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')
where_field = email
additional_conditions = and postfix = 'y' and server_id = 1
hosts = 127.0.0.1

table mail_user has data
/etc/postfix/mysql-virtual_relayrecipientmaps.cf:
Quote:
user = ***
password = ***
dbname = dbispconfig
table = mail_relay_recipient
select_field = access
where_field = source
additional_conditions = and active = 'y' and server_id = 1
hosts = 127.0.0.1

table mail_relay_recipient is empty
/etc/postfix/mysql-virtual_mailbox_limit_maps.cf:
Quote:
user = postfix
password = postfix
hosts = localhost
#hosts = 127.0.0.1
dbname = postfix
table = mailbox
select_field = quota
where_field = username
additional_conditions = and active = '1'
/etc/sasl2/smtpd.conf:
Quote:
pwcheck_method: saslauthd
mech_list: plain login
I need help hurry...this system has running this monday at 8:00am

Regards
David Lagos S.
Coquimbo
Chile

Last edited by metaldrummer; 2nd May 2010 at 18:59. Reason: RESOLVED!!!
Reply With Quote
Sponsored Links
  #2  
Old 2nd May 2010, 18:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

1) Does the smtp authentication worked before on this system?
2) Do you use the full email address as smtp login name?
3) Which login method did you used in your email client?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
metaldrummer (2nd May 2010)
  #3  
Old 2nd May 2010, 18:58
metaldrummer metaldrummer is offline
Senior Member
 
Join Date: Dec 2006
Posts: 108
Thanks: 18
Thanked 1 Time in 1 Post
 
Smile

Quote:
Originally Posted by till View Post
1) Does the smtp authentication worked before on this system?
2) Do you use the full email address as smtp login name?
3) Which login method did you used in your email client?
Thanks Till... this issue is RESOLVED.

pam_mysql reinstalled and resolved.
I saw the mail log, mail.info and messages and the message indicated that it was not and libssl.so pam_mysql.so
Pam_mysql installed, create static links in / usr / lib from usr/lib64 and solved.

I was mad the mistake ... jajajaja

I hope this will help anyone in need.

Thank you for your attention Till.

Greetings from Chile.

David Lagos S.
Coquimbo - Chile
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPconfig 3 some users cannot send email to outside Rockblade Installation/Configuration 7 29th April 2010 01:40
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 11:56
procmail can't write Hellbound General 27 8th June 2009 21:51
Can't send External Mail AndyF Installation/Configuration 7 8th August 2006 21:53
Can not recieve mail with de virtual mail adress Mounir Installation/Configuration 9 24th July 2006 23:16


All times are GMT +2. The time now is 04:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.