Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 19th May 2007, 21:03
_Alien__ _Alien__ is offline
Junior Member
 
Join Date: Apr 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I have the same problem, did you fix it? And its not because of spam i have and old server whit slackware 10.0 and Qmail and work, i just want to put new server because that you got alot of problems. I use the Virtual Users And Domains With Postfix, Courier And MySQL (Ubuntu 6.10 Edgy Eft) to install postfix.

Code:
This is the mail system at host teiast.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<seiya.pt@gmail.com>: host gmail-smtp-in.l.google.com[66.249.93.27] said:
    550-5.7.1 [85.138.82.92] The IP you're using to send email is not
    authorized  550-5.7.1 to send email directly to our servers. Please use
    550 5.7.1 the SMTP relay at your service provider instead. 54si4575387ugp
    (in reply to end of DATA command)

Last edited by _Alien__; 20th May 2007 at 01:59.
Reply With Quote
Sponsored Links
  #12  
Old 20th May 2007, 18:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Does your server use a dynammic IP address?
Please check if it is blacklisted: http://www.mxtoolbox.com/blacklists.aspx
__________________
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 21st May 2007, 00:33
_Alien__ _Alien__ is offline
Junior Member
 
Join Date: Apr 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default

It must not be, because i active the old server whit qmail and i can send emails to gmail, the servers are in the same place. I have a custom dns teiast.com and my IP is dynammic that i use ddcliente to update my ip in teiast.com. The only diference its in one server i have Qmail, in this new one i install Postfix and cant send emails to gmail, but in the old one i can.
Reply With Quote
  #14  
Old 21st May 2007, 14:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

I'm not sure about your qmail setup, but nowadays most dynamic IP addresses are blacklisted. To circumvent this, you can relay your mails through another mail server: http://www.howtoforge.com/postfix_re...her_mailserver
__________________
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 21st May 2007, 15:41
_Alien__ _Alien__ is offline
Junior Member
 
Join Date: Apr 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Ok i have use the relay server from gmail

Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587

My problem now its on STARTTLS this is the error i get from sending emails:

Code:
This is the mail system at host teiast.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<seiya.pt@gmail.com>: host smtp.gmail.com[72.14.205.109] said: 530 5.7.0 Must
    issue a STARTTLS command first e17sm281738qba (in reply to MAIL FROM
    command)
mail.log
Code:
May 21 23:03:21 teiast postfix/smtpd[3909]: connect from localhost[127.0.0.1]
May 21 23:03:21 teiast postfix/smtpd[3909]: DC40B1CF3C6: client=localhost[127.0.0.1]
May 21 23:03:21 teiast postfix/cleanup[3900]: DC40B1CF3C6: message-id=<002201c79bf3$f7077dd0$2001a8c0@NOVONE>
May 21 23:03:22 teiast postfix/smtpd[3909]: disconnect from localhost[127.0.0.1]
May 21 23:03:22 teiast amavis[3461]: (03461-01) Passed CLEAN, [85.138.82.92] [85.138.82.92] <manuela@teiast.com> -> <seiya.pt@gmail.com>, Message-ID: <002201c79bf3$f7077dd0$2001a8c0@NOVONE>, mail_id: oixzFPEc2zwW, Hits: -1.439, queued_as: DC40B1CF3C6, 6076 ms
May 21 23:03:22 teiast postfix/qmgr[3685]: DC40B1CF3C6: from=<manuela@teiast.com>, size=1947, nrcpt=1 (queue active)
May 21 23:03:22 teiast postfix/smtp[3901]: DCA7F1CF3B4: to=<seiya.pt@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.3, delays=0.19/0.03/0.04/6.1, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=03461-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as DC40B1CF3C6)
May 21 23:03:22 teiast postfix/qmgr[3685]: DCA7F1CF3B4: removed

Last edited by _Alien__; 22nd May 2007 at 01:06.
Reply With Quote
  #16  
Old 22nd May 2007, 18:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Please try this:

Code:
postconf -e 'smtp_enforce_tls = yes'
postconf -e 'smtp_use_tls = yes'
postconf -e 'smtp_tls_note_starttls_offer = yes'
and restart Postfix.
__________________
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
  #17  
Old 24th May 2007, 02:43
_Alien__ _Alien__ is offline
Junior Member
 
Join Date: Apr 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Know i dont recebe back the email i send, stay in queue and in my mail.log its like:

Code:
May 24 00:40:12 teiast postfix/smtpd[3880]: warning: 88.157.59.198: hostname rev-88-157-59-198.tvtel.pt verification failed: Name or service not known
May 24 00:40:12 teiast postfix/smtpd[3880]: connect from unknown[88.157.59.198]
May 24 00:40:12 teiast postfix/smtpd[3880]: C73111CF3C4: client=unknown[88.157.59.198], sasl_method=PLAIN, sasl_username=hugomartins@teiast.com
May 24 00:40:12 teiast postfix/cleanup[3883]: C73111CF3C4: message-id=<4654D118.6070501@teiast.com>
May 24 00:40:12 teiast postfix/qmgr[3692]: C73111CF3C4: from=<hugomartins@teiast.com>, size=535, nrcpt=1 (queue active)
May 24 00:40:12 teiast postfix/smtpd[3880]: disconnect from unknown[88.157.59.198]
May 24 00:40:13 teiast postfix/smtp[3884]: C73111CF3C4: to=<seiya.pt@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.35, delays=0.21/0.11/0.03/0, dsn=4.7.4, status=deferred (TLS is required, but was not offered by host 127.0.0.1[127.0.0.1])
postqueue -p

Code:
C73111CF3C4      535 Thu May 24 00:40:12  hugomartins@teiast.com
           (TLS is required, but was not offered by host 127.0.0.1[127.0.0.1])
                                         seiya.pt@gmail.com
main.cfg

Code:
# 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/smtpd.cert
smtpd_tls_key_file = /etc/postfix/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 = teiast.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost, localhost.localdomain
relayhost = smtp.gmail.com
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
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 = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_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
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_enforce_tls = yes
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes

Last edited by _Alien__; 24th May 2007 at 02:45.
Reply With Quote
  #18  
Old 25th May 2007, 15:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Ok, can you undo the steps from my last post?
Afterwards, please post the output of
Code:
telnet localhost 25
and then
Code:
ehlo localhost
__________________
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
  #19  
Old 26th May 2007, 00:54
_Alien__ _Alien__ is offline
Junior Member
 
Join Date: Apr 2007
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
Default

220 teiast.com ESMTP Postfix (Ubuntu)
ehlo localhost
250-teiast.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
Reply With Quote
  #20  
Old 26th May 2007, 21:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

Hm, STARTTLS is there...
__________________
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo install ISPConfig on a STRATO-Server with Debian 3.1 TobiasTM Tips/Tricks/Mods 12 15th July 2008 11:08
Outlooks gets emails twice or more times (based falko debian howto) tuflipes HOWTO-Related Questions 18 4th October 2006 23:32
After Debian postfix / currior install, can not get external mail skdb Installation/Configuration 7 24th April 2006 11:06
problems sending receiving mail on Postfix mavgh1 HOWTO-Related Questions 17 10th March 2006 13:43
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 15:42


All times are GMT +2. The time now is 10:55.


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