
17th January 2007, 19:33
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
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.
|

17th January 2007, 20:16
|
|
Senior Member
|
|
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
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 ... ?
|

18th January 2007, 02:36
|
|
Senior Member
|
|
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
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 ....
Last edited by gabrix; 18th January 2007 at 14:38.
|

18th January 2007, 20:50
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
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
|

20th January 2007, 02:35
|
|
Senior Member
|
|
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
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 ...
Last edited by gabrix; 20th January 2007 at 02:54.
|

21st January 2007, 15:08
|
|
Senior Member
|
|
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
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
|
|

21st January 2007, 15:47
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
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.
|

21st January 2007, 15:59
|
|
Senior Member
|
|
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
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.
Last edited by gabrix; 21st January 2007 at 21:02.
|

22nd January 2007, 14:02
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,685
Thanks: 1,899
Thanked 2,599 Times in 2,448 Posts
|
|
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.
|

22nd January 2007, 16:52
|
|
Senior Member
|
|
Join Date: Sep 2006
Location: Napoli
Posts: 186
Thanks: 2
Thanked 0 Times in 0 Posts
|
|
/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 .
Last edited by gabrix; 22nd January 2007 at 17:09.
|
| 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 23:55.
|
Recent comments
1 day 1 hour ago
1 day 4 hours ago
1 day 16 hours ago
1 day 18 hours ago
1 day 23 hours ago
2 days 5 hours ago
2 days 14 hours ago
2 days 16 hours ago
3 days 39 min ago
3 days 2 hours ago