Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 20th August 2007, 19:34
Maximus_DDT Maximus_DDT is offline
Junior Member
 
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default my big trouble

The content of main. cf
Quote:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

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

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

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

myhostname = localhost
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.cf.com.mx, genes.com.mx, restaurante-tequila.com.mx, rtequila.com.mx, mail, localhost.localdomain, local
host
relayhost =
#mailbox_command=procmail -a "$EXTENSION"
mailbox_command =

mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
#mynetworks_style=host
masquerade_domains= genes.com.mx
inet_protocols = all
#mynetworks_style=host
masquerade_domains= genes.com.mx

smtpd_sasl_local_domain=
smtpd_sasl_auth_enable=yes
smtpd_sasl_security_options= noanonymous
broken_sasl_auth_clients= yes
smtpd_sasl_path= /etc/postfix/sasl:/usr/lib/sasl2
smtpd_recipient_restrictions= permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination

smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
myhostname= mail.cf.com.mx

home_mailbox = Maildir/
and the content of telnet
Quote:
tequila@mail:~$ sudo telnet localhost 25

Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 mail.cf.com.mx ESMTP Postfix (Ubuntu)
ehlo localhost
250-mail.cf.com.mx
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN DIGEST-MD5 CRAM-MD5 NTLM PLAIN
250-AUTH=LOGIN DIGEST-MD5 CRAM-MD5 NTLM PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
and there are many ERRORs in /var/log/mail.log
like these:
Quote:
Aug 20 12:30:17 mail postfix/smtpd[6046]: connect from unknown[201.155.111.185]
Aug 20 12:30:17 mail postfix/smtpd[6046]: 78DC91681B9: client=unknown[201.155.111.185]
Aug 20 12:30:17 mail postfix/smtpd[6046]: 78DC91681B9: reject: RCPT from unknown[201.155.111.185]: 554 5.7.1

<ddtlopez@gmail.
com>: Relay access denied; from=<d.lopez@genes.com.mx> to=<ddtlopez@gmail.com> proto=ESMTP helo=<xpMAX>
Aug 20 12:30:17 mail postfix/cleanup[6050]: 78DC91681B9: message-id=<000001c7e350$100f5e80$43c8a8c0@xpMAX>
Aug 20 12:30:17 mail postfix/qmgr[5766]: 78DC91681B9: from=<d.lopez@genes.com.mx>, size=2453, nrcpt=1 (queue active)
Aug 20 12:30:17 mail postfix/local[6051]: 78DC91681B9: to=<d.lopez@genes.com.mx>, relay=local, delay=0.14,

delays=0.12/0.01/0
/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Aug 20 12:30:17 mail postfix/qmgr[5766]: 78DC91681B9: removed
Aug 20 12:30:20 mail postfix/smtpd[6046]: disconnect from unknown[201.155.111.185]
Aug 20 12:31:03 mail courierpop3login: Connection, ip=[::ffff:201.155.111.185]
Aug 20 12:31:03 mail courierpop3login: LOGIN, user=d.lopez, ip=[::ffff:201.155.111.185]
Aug 20 12:31:04 mail courierpop3login: LOGOUT, user=d.lopez, ip=[::ffff:201.155.111.185], top=0, retr=2471, rcvd=40,

sent=274
1, time=1
i don't know that to do
Reply With Quote
Sponsored Links
  #12  
Old 21st August 2007, 17:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Please run
Code:
echo 'pwcheck_method: saslauthd' > /etc/postfix/sasl/smtpd.conf
echo 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.conf
as shown on http://www.howtoforge.com/perfect_setup_ubuntu704_p5
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 22nd August 2007, 15:19
Maximus_DDT Maximus_DDT is offline
Junior Member
 
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

ups
when i tried to execute the code this message appear:
Quote:
Permission Denied
I wrote like this
Quote:
sudo echo 'pwcheck_method: saslauthd' > /etc/postfix/sasl/smtpd.conf
sudo echo 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.conf
Reply With Quote
  #14  
Old 23rd August 2007, 19:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Please do it as root.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #15  
Old 24th August 2007, 07:30
Maximus_DDT Maximus_DDT is offline
Junior Member
 
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I tried again reinstalling all the system
then when I run as root:
Quote:
echo 'pwcheck_method: saslauthd' > /etc/postfix/sasl/smtpd.conf
appears:
Quote:
-bash: etc/postfix/sasl/smtpd.conf: No such file or directory
Reply With Quote
  #16  
Old 25th August 2007, 00:10
Maximus_DDT Maximus_DDT is offline
Junior Member
 
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Wink Thanks A Lot!!

SOLVED!!


I tried again and it works!!!

http://www.howtoforge.com/perfect_setup_ubuntu704

Reply With Quote
  #17  
Old 3rd April 2011, 21:26
hahni hahni is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 1
Thanked 1 Time in 1 Post
Question

The "/etc/postfix/virtusertable"-File contains the following entries:

Code:
test@www.070790.de    070790.de_test
070790.de_test@www.070790.de    070790.de_test
The problem seems to be, that "test@070790.de" will not work, because ISPConfig 2 only add "test@www.070790.de". What can be done?
__________________
björn hahnefeld InformationsTechnologien * Regensburg
.::. Magento - TYPO3 - Webdesign Regensburg .::.

Internet: http://www.hahnefeld.de
E-Mail: bjoern@hahnefeld.de
Reply With Quote
  #18  
Old 4th April 2011, 12:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
 
Default

Does 070790.de (without a hostname) exist on the Co-Domains tab? If not, please create it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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


All times are GMT +2. The time now is 08:19.


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