Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 17th January 2007, 19:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

As long as there are valid nameservers in /etc/resolv.conf the order of the nameservers doesn't matter much.

Do you have SPf records for your domains?
If you are sure you're not blacklisted, I'd contact Gmail and ask why your emails are blocked.
__________________
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
Sponsored Links
  #12  
Old 17th January 2007, 20:16
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
Default

SPf ???? Spam .... and than ? I got to the site you linked and tiped my domain name in the ip address box ... what ip can be blaklisted if dynamic ... ?
__________________
http://www.gabrix.ath.cx
Reply With Quote
  #13  
Old 18th January 2007, 02:36
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
Default

I defenitly found out that gmail but also libero.it and a friend of mine who registred at my site didn't get password sent from my site on his hotmail.com account .I have sent few minutes ago some mails to mailing lists like the or-talk and bleeding-snort and i got mails from them they delivered mine .But this just after the last changes i gave to main.cf resolving (finger crossed!) the smtp_peer_init businnes i'm regulary receiving mail reports from logcheck on the gateway machine.
My question is , the directive relayhost = smtp.big.provider would sort this problem out ?How do i set it ?If i choose gmail shall i use the exact gmail smtp address (???) or would be all right a more generic smtp.gmail.com ?Or any other way ????
logs update:
Quote:
Jan 18 07:01:04 mail postfix/qmgr[21157]: 08FAE1BFF1: removed
Jan 18 07:01:04 mail postfix/qmgr[21157]: 08FAE1BFF1: removed
Jan 18 07:02:14 mail postfix/smtpd[22308]: warning: smtpd_peer_init: 192.168.1.1: address not listed for hostname argo
Jan 18 07:02:14 mail postfix/smtpd[22308]: warning: smtpd_peer_init: 192.168.1.1: address not listed for hostname argo
Jan 18 07:02:14 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 220 mail.gabrix.ath.cx ESMTP Postfix
Jan 18 07:02:14 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 220 mail.gabrix.ath.cx ESMTP Postfix
Jan 18 07:02:14 mail postfix/smtpd[22308]: watchdog_pat: 0x806e6a0
Jan 18 07:02:14 mail postfix/smtpd[22308]: watchdog_pat: 0x806e6a0
Jan 18 07:02:14 mail postfix/smtpd[22308]: < unknown[192.168.1.1]: HELO argo.gabrix.ath.cx
Jan 18 07:02:14 mail postfix/smtpd[22308]: < unknown[192.168.1.1]: HELO argo.gabrix.ath.cx
Jan 18 07:02:14 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 250 mail.gabrix.ath.cx
Jan 18 07:02:14 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 250 mail.gabrix.ath.cx
Jan 18 07:02:15 mail postfix/smtpd[22308]: rewrite_clnt: canonicalize: postmaster -> postmaster@mail.gabrix.ath.cx
Jan 18 07:02:15 mail postfix/smtpd[22308]: rewrite_clnt: canonicalize: postmaster -> postmaster@mail.gabrix.ath.cx
Jan 18 07:02:15 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 250 Ok
Jan 18 07:02:15 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 250 Ok
Jan 18 07:02:16 mail postfix/smtpd[22308]: watchdog_pat: 0x806e6a0
Jan 18 07:02:16 mail postfix/smtpd[22308]: watchdog_pat: 0x806e6a0
Jan 18 07:02:16 mail postfix/smtpd[22308]: < unknown[192.168.1.1]: DATA
Jan 18 07:02:16 mail postfix/smtpd[22308]: < unknown[192.168.1.1]: DATA
Jan 18 07:02:16 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 354 End data with <CR><LF>.<CR><LF>
Jan 18 07:02:16 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 354 End data with <CR><LF>.<CR><LF>
Jan 18 07:02:16 mail postfix/smtpd[22308]: public/cleanup socket: wanted attribute: status
Jan 18 07:02:16 mail postfix/smtpd[22308]: public/cleanup socket: wanted attribute: status
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute name: status
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute name: status
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute value: 0
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute value: 0
Jan 18 07:02:16 mail postfix/smtpd[22308]: public/cleanup socket: wanted attribute: reason
Jan 18 07:02:16 mail postfix/smtpd[22308]: public/cleanup socket: wanted attribute: reason
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute name: reason
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute name: reason
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute value: (end)
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute value: (end)
Jan 18 07:02:16 mail postfix/smtpd[22308]: public/cleanup socket: wanted attribute: (list terminator)
Jan 18 07:02:16 mail postfix/smtpd[22308]: public/cleanup socket: wanted attribute: (list terminator)
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute name: (end)
Jan 18 07:02:16 mail postfix/smtpd[22308]: input attribute name: (end)
Jan 18 07:02:16 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 250 Ok: queued as 985B81BFF0
Jan 18 07:02:16 mail postfix/smtpd[22308]: > unknown[192.168.1.1]: 250 Ok: queued as 985B81BFF0
Jan 18 07:02:16 mail postfix/smtpd[22308]: watchdog_pat: 0x806e6a0
Jan 18 07:02:16 mail postfix/smtpd[22308]: watchdog_pat: 0x806e6a0
Jan 18 07:02:16 mail postfix/smtpd[22308]: smtp_get: EOF
Jan 18 07:02:16 mail postfix/smtpd[22308]: smtp_get: EOF
Jan 18 07:02:16 mail postfix/qmgr[21157]: 985B81BFF0: removed
Jan 18 07:02:16 mail postfix/qmgr[21157]: 985B81BFF0: removed
(port 25)
Jan 18 07:21:18 mail postfix/smtp[22345]: connect to www.gabrix.ath.cx[192.168.1.4]: Connection refused (port 25)
Jan 18 07:21:18 mail postfix/smtp[22345]: connect to www.gabrix.ath.cx[192.168.1.4]: Connection refused (port 25)
Jan 18 07:21:18 mail postfix/smtp[22343]: connect to www.gabrix.ath.cx[192.168.1.4]: Connection refused (port 25)
Jan 18 07:21:18 mail postfix/smtp[22343]: connect to www.gabrix.ath.cx[192.168.1.4]: Connection refused (port 25)
Jan 18 07:21:18 mail postfix/qmgr[21157]: BE6641BFB1: from=<>, status=expired, returned to sender
Jan 18 07:21:18 mail postfix/qmgr[21157]: BE6641BFB1: from=<>, status=expired, returned to sender
Jan 18 07:21:18 mail postfix/qmgr[21157]: BE6641BFB1: removed
Jan 18 07:21:18 mail postfix/qmgr[21157]: BE6641BFB1: removed
Jan 18 07:21:19 mail postfix/qmgr[21157]: CEB4D1BFD1: to=<root@www.gabrix.ath.cx>, relay=none, delay=23627, status=deferred (delivery temporarily suspended: connect to www.gabrix.ath.cx[192.168.1.4]: Connection refused)
Jan 18 07:21:19 mail postfix/qmgr[21157]: CEB4D1BFD1: to=<root@www.gabrix.ath.cx>, relay=none, delay=23627, status=deferred (delivery temporarily suspended: connect to www.gabrix.ath.cx[192.168.1.4]: Connection refused)
Jan 18 07:21:24 mail postfix/smtp[22352]: connect to email.it[80.247.77.101]: Connection refused (port 25)
Jan 18 07:21:24 mail postfix/smtp[22352]: connect to email.it[80.247.77.101]: Connection refused (port 25)
There is something wrong anyway ....
__________________
http://www.gabrix.ath.cx

Last edited by gabrix; 18th January 2007 at 14:38.
Reply With Quote
  #14  
Old 18th January 2007, 20:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Quote:
Originally Posted by gabrix
My question is , the directive relayhost = smtp.big.provider would sort this problem out ?How do i set it ?If i choose gmail shall i use the exact gmail smtp address (???) or would be all right a more generic smtp.gmail.com ?Or any other way ????
logs update:
Take a look here: http://www.howtoforge.com/forums/sho...ight=relayhost
__________________
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 20th January 2007, 02:35
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
Default

You know what ! I'm been running a mixmaster remailer for a little while recently , but i stopped it and removed it ... If i'm in a blacklist it's for this reason i supposed , cause wherever i send a mail it doesn't get delivered ,hotmail,ecn.org,virgilio,gmail ecc. It's really few where my mail does get through.That's really bad ! How can i get over this ?
I contacted the mtoolbox people and i'm waiting to see they can do ...
__________________
http://www.gabrix.ath.cx

Last edited by gabrix; 20th January 2007 at 02:54.
Reply With Quote
  #16  
Old 21st January 2007, 15:08
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
Default

I'm getting mail delivered but i don't know of much of it get removed . Looking at logs the score is not encouraging :
Quote:
Jan 21 13:01:03 mail postfix/qmgr[8309]: C8F101BFF1: removed
Jan 21 13:01:03 mail postfix/qmgr[8309]: C8F101BFF1: removed
Jan 21 13:02:24 mail postfix/smtpd[12291]: warning: smtpd_peer_init: 192.168.1.1: address not listed for hostname argo
Jan 21 13:02:24 mail postfix/smtpd[12291]: warning: smtpd_peer_init: 192.168.1.1: address not listed for hostname argo
Jan 21 13:02:24 mail postfix/smtpd[12291]: > unknown[192.168.1.1]: 220 mail.gabrix.ath.cx ESMTP Postfix
Jan 21 13:02:24 mail postfix/smtpd[12291]: > unknown[192.168.1.1]: 220 mail.gabrix.ath.cx ESMTP Postfix
Jan 21 13:02:24 mail postfix/smtpd[12291]: watchdog_pat: 0x806e708
Jan 21 13:02:24 mail postfix/smtpd[12291]: watchdog_pat: 0x806e708
Jan 21 13:02:24 mail postfix/smtpd[12291]: < unknown[192.168.1.1]: HELO argo.gabrix.ath.cx
Jan 21 13:02:24 mail postfix/smtpd[12291]: < unknown[192.168.1.1]: HELO argo.gabrix.ath.cx
Jan 21 13:02:24 mail postfix/smtpd[12291]: > unknown[192.168.1.1]: 250 mail.gabrix.ath.cx
Jan 21 13:02:24 mail postfix/smtpd[12291]: > unknown[192.168.1.1]: 250 mail.gabrix.ath.cx
Jan 21 13:02:24 mail postfix/smtpd[12291]: watchdog_pat: 0x806e708
Jan 21 13:02:24 mail postfix/smtpd[12291]: watchdog_pat: 0x806e708
Jan 21 13:02:24 mail postfix/smtpd[12291]: < unknown[192.168.1.1]: MAIL FROM:<logcheck@argo.gabrix.ath.cx>
as well as:
Quote:
Jan 21 13:56:24 mail postfix/qmgr[8309]: CEB4D1BFD1: to=<root@www.gabrix.ath.cx>, relay=none, delay=306532, status=deferred (delivery temporarily suspended: connect to www.gabrix.ath.cx[192.168.1.4]: Connection refused)
Jan 21 13:56:24 mail postfix/qmgr[8309]: CEB4D1BFD1: to=<root@www.gabrix.ath.cx>, relay=none, delay=306532, status=deferred (delivery temporarily suspended: connect to www.gabrix.ath.cx[192.168.1.4]: Connection refused)
That's my actual main.cf:
Quote:
root@mail:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
debug_peer_list = 192.168.1.0/24 ,192.168.0.0/24
delay_warning_time = 4h
disable_dns_lookups = yes
home_mailbox = Maildir/
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 0
mydestination = $mydomain, mail.gabrix.ath.cx, localhost.gabrix.ath.cx, , argo.gabrix.ath.cx, argo,localhost
mydomain = gabrix.ath.cx
myhostname = mail.gabrix.ath.cx
mynetworks = 192.168.1.0/24,192.168.0.0/24,127.0.0.1/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, permit
smtpd_reject_unlisted_recipient = no
__________________
http://www.gabrix.ath.cx
Reply With Quote
  #17  
Old 21st January 2007, 15:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

It must be
Code:
mynetworks = 192.168.1.0/24,192.168.0.0/24,127.0.0.0/8
Please change it 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
  #18  
Old 21st January 2007, 15:59
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
Default

Ok,done!What about the variable inet_interfaces shall i use the main eth0 ip 192.168.1.6 instead of ' all ' ?This way maybe the above change is going to be useless .... attached there is the last mail log.
Attached Files
File Type: txt mail.log.txt (32.6 KB, 329 views)
__________________
http://www.gabrix.ath.cx

Last edited by gabrix; 21st January 2007 at 21:02.
Reply With Quote
  #19  
Old 22nd January 2007, 14:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Code:
inet_interfaces = all
is ok.

Quote:
Jan 21 13:02:24 mail postfix/smtpd[12291]: warning: smtpd_peer_init: 192.168.1.1: address not listed for hostname argo
Jan 21 13:02:24 mail postfix/smtpd[12291]: warning: smtpd_peer_init: 192.168.1.1: address not listed for hostname argo
What's in /etc/hosts?

Quote:
Jan 18 07:21:24 mail postfix/smtp[22352]: connect to email.it[80.247.77.101]: Connection refused (port 25)
Jan 18 07:21:24 mail postfix/smtp[22352]: connect to email.it[80.247.77.101]: Connection refused (port 25)
If you are not blacklisted you should ask email.it why your server is blocked by them.
__________________
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
  #20  
Old 22nd January 2007, 16:52
gabrix gabrix is offline
Senior Member
 
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to gabrix Send a message via Yahoo to gabrix Send a message via Skype™ to gabrix
 
Default

/etc/hosts on the postfix machine (mail):
Quote:
127.0.0.1 localhost.localdomain localhost
192.168.0.1 netgear router
192.168.0.2 argo.gabrix.ath.cx argo squid.gabrix.ath.cx
192.168.1.1 argo.gabrix.ath.cx gateway
192.168.1.2 makintoxik.gabrix.ath.cx makintoxik mac
192.168.1.4 www.gabrix.ath.cx tor.gabrix.ath.cx ftp.gabrix.ath.cx irc.gabrix.ath.cx jabber.gabrix.ath.cx w$
192.168.1.6 mail.gabrix.ath.cx printer.gabrix.ath.cx mail
What about email.it?It's an email provider !What could they do ?Maybe relay ?Actually i cannot send anywhere in the internet all my mail get bounced .
__________________
http://www.gabrix.ath.cx

Last edited by gabrix; 22nd January 2007 at 17:09.
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
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Postfix refusing smtp connections chrisc Installation/Configuration 4 17th July 2006 15:53
postfix starts and stops why lhatle Installation/Configuration 2 21st December 2005 15:20


All times are GMT +2. The time now is 05:29.


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