
20th August 2007, 19:34
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

21st August 2007, 17:16
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
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
|

22nd August 2007, 15:19
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ups
when i tried to execute the code this message appear:
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
|
|

23rd August 2007, 19:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
Please do it as root.
|

24th August 2007, 07:30
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

25th August 2007, 00:10
|
|
Junior Member
|
|
Join Date: Aug 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks A Lot!!
|

3rd April 2011, 21:26
|
|
Member
|
|
Join Date: Dec 2007
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?
|

4th April 2011, 12:34
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,600 Times in 2,449 Posts
|
|
Does 070790.de (without a hostname) exist on the Co-Domains tab? If not, please create it.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 05:17.
|
Recent comments
12 hours 51 min ago
13 hours 51 min ago
17 hours 38 min ago
18 hours 52 min ago
22 hours 28 min ago
1 day 5 hours ago
1 day 14 hours ago
1 day 16 hours ago
2 days 7 hours ago
2 days 9 hours ago