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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th January 2012, 11:15
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default mail server IP and rDNS

Hi, trying to get mail server and server IPs sorted so don't get errors in logs
Code:
postfix/smtp[21940]: C607F16A0DE: host mailin-01.mx.aol.com[205.188.146.193] refused to talk to me: 421 4.7.1 : (DNS:NR) http://postmaster.info.aol.com/errors/421dnsnr.html
I got ISP to config rDNS for my server and the AOL checking tool reports all is good. Thing is i am still getting this error?

When i do IP check to see what the outing going IP is, the IP is different from the one i get when ping mail.serverdomain.com

I have 2 IPs on the server

IP A is main IP, sitess, NS1
IP B ns2

Any ideas why smtp is using second IP?

cheers
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2012, 12:48
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

I have edited postfix/main.conf


Code:
added

smtp_bind_address = 109.*.*.21

edited

inet_interfaces = all

to 

inet_interfaces = 109.*.*.21, 127.0.0.1
will see how that goes.
Reply With Quote
  #3  
Old 26th January 2012, 17:16
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Ok, it seems that when i have smtp_bind_address = in main.conf mail does not get sent:


Code:
Jan 26 12:14:02 carpconnect amavis[1318]: (01318-04) (!)DENIED ACCESS from IP 109.235.145.21, policy bank ''
Jan 26 12:14:02 carpconnect postfix/smtpd[4497]: disconnect from cpc2-hari9-0-0-cust90.hari.cable.virginmedia.com[82.35.193.91]
Jan 26 12:14:02 carpconnect postfix/smtp[4502]: D31DD16A0F5: to=<carpcatcher@blueyonder.co.uk>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.39, delays=0.37/0.01/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
Jan 26 12:15:01 carpconnect postfix/smtpd[4497]: connect from localhost.localdomain[127.0.0.1]
Jan 26 12:15:01 carpconnect postfix/smtpd[4497]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
Jan 26 12:15:01 carpconnect postfix/smtpd[4497]: disconnect from localhost.localdomain[127.0.0.1]
Jan 26 12:15:01 carpconnect dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Jan 26 12:15:01 carpconnect dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
Once removed all seems fine.

Code:
Jan 26 12:20:43 carpconnect amavis[1318]: (01318-09) Passed CLEAN, [82.35.193.91] [82.35.193.91] <mail@michael-innes.co.uk> -> <carpcatcher@blueyonder.co.uk>, Message-ID: <4F214388.7040105@michael-innes.co.uk>, mail_id: LT1P5W9BjM9v, Hits: -2.9, size: 638, queued_as: E699D16A0FF, 1412 ms
Jan 26 12:20:43 carpconnect postfix/smtp[4679]: D31DD16A0F5: to=<carpcatcher@blueyonder.co.uk>, relay=127.0.0.1[127.0.0.1]:10024, delay=401, delays=400/0.01/0/1.4, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=01318-09, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as E699D16A0FF)
Jan 26 12:20:43 carpconnect postfix/qmgr[4674]: D31DD16A0F5: removed
Jan 26 12:20:43 carpconnect dovecot: deliver(mail@michael-innes.co.uk): sieve: msgid=<17902470.1951681327571429585.JavaMail.ebba@slcbat2008>: stored mail into mailbox 'INBOX'
Jan 26 12:20:43 carpconnect postfix/pipe[4689]: EA56F16A102: to=<mail@michael-innes.co.uk>, relay=dovecot, delay=0.42, delays=0.07/0.01/0/0.33, dsn=2.0.0, status=sent (delivered via dovecot service)
Jan 26 12:20:43 carpconnect postfix/qmgr[4674]: EA56F16A102: removed
Jan 26 12:20:44 carpconnect postfix/smtp[4678]: C607F16A0DE: host mailin-04.mx.aol.com[205.188.103.2] refused to talk to me: 421 4.7.1 : (DNS:NR) http://postmaster.info.aol.com/errors/421dnsnr.html
Jan 26 12:20:44 carpconnect postfix/smtp[4688]: E699D16A0FF: to=<carpcatcher@blueyonder.co.uk>, relay=aspmx.l.google.com[173.194.66.27]:25, delay=1.4, delays=0.07/0.03/0.16/1.1, dsn=2.0.0, status=sent (250 2.0.0 OK 1327580444 l55si3134319weq.88)
This was the sender and receiver that failed with it set.
Reply With Quote
  #4  
Old 27th January 2012, 12:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by carpman View Post
Ok, it seems that when i have smtp_bind_address = in main.conf mail does not get sent:


Code:
Jan 26 12:14:02 carpconnect postfix/smtp[4502]: D31DD16A0F5: to=<carpcatcher@blueyonder.co.uk>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.39, delays=0.37/0.01/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
That looks as if amavisd has a problem with the configuration. What is the output of
Code:
netstat -tap
when you use smtpd_bind_address?
__________________
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
  #5  
Old 27th January 2012, 16:04
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Thanks for reply.

output

Code:
netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:ftp                   *:*                     LISTEN      2907/pure-ftpd (SER
tcp        0      0 109.235.145.247:domain  *:*                     LISTEN      1022/named      
tcp        0      0 server.carpconne:domain *:*                     LISTEN      1022/named      
tcp        0      0 localhost.locald:domain *:*                     LISTEN      1022/named      
tcp        0      0 *:ssh                   *:*                     LISTEN      1035/sshd       
tcp        0      0 server.carpconnect:smtp *:*                     LISTEN      4798/master     
tcp        0      0 localhost.localdom:smtp *:*                     LISTEN      4798/master     
tcp        0      0 localhost.localdoma:953 *:*                     LISTEN      1022/named      
tcp        0      0 *:imaps                 *:*                     LISTEN      4820/dovecot    
tcp        0      0 *:pop3s                 *:*                     LISTEN      4820/dovecot    
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN      6123/amavisd (maste
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN      4798/master     
tcp        0      0 *:mysql                 *:*                     LISTEN      1170/mysqld     
tcp        0      0 server.carpc:submission *:*                     LISTEN      4798/master     
tcp        0      0 localhost.lo:submission *:*                     LISTEN      4798/master     
tcp        0      0 *:pop3                  *:*                     LISTEN      4820/dovecot    
tcp        0      0 *:imap2                 *:*                     LISTEN      4820/dovecot    
tcp        0      0 server.carpconnec:ssmtp *:*                     LISTEN      4798/master     
tcp        0      0 server.carpconnec:ssmtp host106.186-191-22:1622 SYN_RECV    -               
tcp        0      0 localhost.localdo:ssmtp *:*                     LISTEN      4798/master     
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56511 ESTABLISHED 2853/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56543 ESTABLISHED 3125/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56521 ESTABLISHED 3074/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56544 ESTABLISHED 3120/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56509 ESTABLISHED 2854/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56632 ESTABLISHED 3296/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56628 ESTABLISHED 3302/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56552 ESTABLISHED 3150/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56537 ESTABLISHED 3109/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56599 ESTABLISHED 3247/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56539 ESTABLISHED 3106/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56533 ESTABLISHED 3097/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56538 ESTABLISHED 3111/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56584 ESTABLISHED 3214/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56519 ESTABLISHED 3077/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56527 ESTABLISHED 3086/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56530 ESTABLISHED 3094/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56629 ESTABLISHED 3303/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56602 ESTABLISHED 3248/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56556 ESTABLISHED 3149/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56589 ESTABLISHED 3225/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56631 ESTABLISHED 3308/imap-login 
tcp        0      0 localhost.localdo:35027 localhost.localdo:mysql ESTABLISHED 15726/amavisd (ch17
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56557 ESTABLISHED 3160/imap-login 
tcp        0      0 localhost.localdo:37396 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56622 ESTABLISHED 3285/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56619 ESTABLISHED 3284/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56587 ESTABLISHED 3218/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56545 ESTABLISHED 3124/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56605 ESTABLISHED 3255/imap-login 
tcp        0      0 server.carpconnec:imaps 31.103.176.214:40114    ESTABLISHED 6814/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56524 ESTABLISHED 3087/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56528 ESTABLISHED 3078/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56630 ESTABLISHED 3307/imap-login 
tcp        0      0 localhost.localdo:37402 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56600 ESTABLISHED 3245/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56508 ESTABLISHED 3060/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56562 ESTABLISHED 3174/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56520 ESTABLISHED 3075/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56634 ESTABLISHED 3312/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56563 ESTABLISHED 3175/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56598 ESTABLISHED 3240/imap-login 
tcp        0      0 server.carpconnec:imaps 31.103.176.214:36080    ESTABLISHED 6817/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56526 ESTABLISHED 3091/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56534 ESTABLISHED 3102/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56592 ESTABLISHED 3226/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56551 ESTABLISHED 3128/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56573 ESTABLISHED 3186/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56611 ESTABLISHED 3268/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56612 ESTABLISHED 3264/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56571 ESTABLISHED 3188/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56510 ESTABLISHED 3069/imap-login 
tcp        0      0 localhost.localdo:37397 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 localhost.localdo:37398 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 server.carpconnect.:ssh cpc2-hari9-0-0-cu:57121 ESTABLISHED 9095/sshd: adminsys
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56606 ESTABLISHED 3244/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56532 ESTABLISHED 3103/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56536 ESTABLISHED 3108/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56624 ESTABLISHED 3287/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56626 ESTABLISHED 3299/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56541 ESTABLISHED 3117/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56575 ESTABLISHED 3195/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56588 ESTABLISHED 3222/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56616 ESTABLISHED 3271/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56580 ESTABLISHED 3201/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56574 ESTABLISHED 3183/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56604 ESTABLISHED 3256/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56560 ESTABLISHED 3165/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56553 ESTABLISHED 3152/imap-login 
tcp        0      0 localhost.localdo:37394 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56595 ESTABLISHED 3230/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56578 ESTABLISHED 3204/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56558 ESTABLISHED 3159/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56596 ESTABLISHED 3223/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56601 ESTABLISHED 3246/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56566 ESTABLISHED 3180/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56570 ESTABLISHED 3185/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56603 ESTABLISHED 3252/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56542 ESTABLISHED 3121/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56561 ESTABLISHED 3164/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56525 ESTABLISHED 3089/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56572 ESTABLISHED 3184/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56597 ESTABLISHED 3235/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56615 ESTABLISHED 3267/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56594 ESTABLISHED 3236/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56555 ESTABLISHED 3151/imap-login 
tcp        0      0 localhost.localdo:37399 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56633 ESTABLISHED 3311/imap-login 
tcp        0      0 localhost.localdo:mysql localhost.localdo:35015 ESTABLISHED 1170/mysqld     
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56576 ESTABLISHED 3197/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56593 ESTABLISHED 3231/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56586 ESTABLISHED 3217/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56590 ESTABLISHED 3224/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56549 ESTABLISHED 3144/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56591 ESTABLISHED 3227/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56548 ESTABLISHED 3132/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56569 ESTABLISHED 3187/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56529 ESTABLISHED 3095/imap-login 
tcp        0      0 localhost.localdo:37401 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56608 ESTABLISHED 3260/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56505 ESTABLISHED 2849/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56635 ESTABLISHED 3314/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56637 ESTABLISHED 3319/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56531 ESTABLISHED 3099/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56623 ESTABLISHED 3286/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56513 ESTABLISHED 3071/imap-login 
tcp        0      0 localhost.localdo:mysql localhost.localdo:35027 ESTABLISHED 1170/mysqld     
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56546 ESTABLISHED 3129/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56583 ESTABLISHED 3212/imap-login 
tcp        0      0 localhost.localdo:37400 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56627 ESTABLISHED 3295/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56579 ESTABLISHED 3192/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56554 ESTABLISHED 3147/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56607 ESTABLISHED 3243/imap-login 
tcp        0      0 localhost.localdo:35015 localhost.localdo:mysql ESTABLISHED 15660/amavisd (ch18
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56523 ESTABLISHED 3081/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56565 ESTABLISHED 3173/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56621 ESTABLISHED 3288/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56547 ESTABLISHED 3133/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56625 ESTABLISHED 3292/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56585 ESTABLISHED 3211/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56567 ESTABLISHED 3170/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56568 ESTABLISHED 3171/imap-login 
tcp        0      0 server.carpconnec:imaps 31.103.176.214:41453    ESTABLISHED 6813/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56636 ESTABLISHED 3316/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56564 ESTABLISHED 3172/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56582 ESTABLISHED 3207/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56618 ESTABLISHED 3280/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56610 ESTABLISHED 3263/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56609 ESTABLISHED 3266/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56577 ESTABLISHED 3202/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56617 ESTABLISHED 3279/imap-login 
tcp        0      0 localhost.localdo:37395 localhost.localdo:mysql TIME_WAIT   -               
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56613 ESTABLISHED 3265/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56614 ESTABLISHED 3275/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56522 ESTABLISHED 3082/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56535 ESTABLISHED 3110/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56581 ESTABLISHED 3208/imap-login 
tcp        0      0 server.carpconnec:imaps 31.103.176.214:36833    ESTABLISHED 6816/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56559 ESTABLISHED 3166/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56540 ESTABLISHED 3107/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56620 ESTABLISHED 3283/imap-login 
tcp        0      0 server.carpconnec:imaps cpc2-hari9-0-0-cu:56550 ESTABLISHED 3143/imap-login 
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      2907/pure-ftpd (SER
tcp6       0      0 [::]:domain             [::]:*                  LISTEN      1022/named      
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      1035/sshd       
tcp6       0      0 ::1%32416640:953        [::]:*                  LISTEN      1022/named      
tcp6       0      0 [::]:https              [::]:*                  LISTEN      2707/apache2    
tcp6       0      0 [::]:8000               [::]:*                  LISTEN      2707/apache2    
tcp6       0      0 [::]:www                [::]:*                  LISTEN      2707/apache2    
tcp6       0      0 [::]:tproxy             [::]:*                  LISTEN      2707/apache2    
tcp6       0      0 server.carpconnect.:www 180.76.6.230%3241:50350 TIME_WAIT   -               
tcp6       0      0 server.carpconnect.:www 180.76.5.191%3241:42243 TIME_WAIT   -

There are lot of connection to, cpc2-hari9-0-0-cu, this is me. I have number of domains and emails on them.

cheers
Reply With Quote
  #6  
Old 28th January 2012, 13:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Do you use the correct value in myhostname and myorigin (should be a host name that points to the IP you use in smtp_bind_address)?
__________________
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
  #7  
Old 2nd February 2012, 11:34
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Do you use the correct value in myhostname and myorigin (should be a host name that points to the IP you use in smtp_bind_address)?

thanks for reply.


from main.cf
Code:
myhostname = mail.carpconnect.net
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
myorigin = /etc/mailname
mydestination = server.carpconnect.net, localhost, localhost.localdomain
relayhost =
mynetworks = 127.0.0.0/8 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = 109.235.145.21, 127.0.0.1

Code:
cat /etc/mailname
carpconnect.net
cheers
Reply With Quote
  #8  
Old 3rd February 2012, 13:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

I'd use the same value for myhostname and myorigin.
__________________
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
  #9  
Old 3rd February 2012, 18:48
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

ok i have edited

/etc/mailname


so it is now the same as myhostname

Sending via smtp no security is fine, but still it reports wrong IP for mail server?

Set IP bind in main.cf and mail get sent via email client but never is delivered. see error in logs

Code:
Feb  3 16:36:38 server postfix/cleanup[16553]: 1D4FC16A102: message-id=<4F2C0D14.6060904@michael-innes.co.uk>
Feb  3 16:36:38 server postfix/qmgr[16546]: 1D4FC16A102: from=<mail@michael-innes.co.uk>, size=641, nrcpt=1 (queue active)
Feb  3 16:36:38 server amavis[8713]: (08713-13) (!)DENIED ACCESS from IP 109.235.145.21, policy bank ''
Feb  3 16:36:38 server postfix/smtpd[16548]: disconnect from cpc2-hari9-0-0-cust90.hari.cable.virginmedia.com[82.35.193.91]
Feb  3 16:36:38 server postfix/smtp[16554]: 1D4FC16A102: to=<michael@personal.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.1, delays=0.1/0/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)

so setting smtp_bind_address prevents smtp mail delivery?
Reply With Quote
  #10  
Old 4th February 2012, 12:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
 
Default

Quote:
Originally Posted by carpman View Post
Code:
Feb  3 16:36:38 server amavis[8713]: (08713-13) (!)DENIED ACCESS from IP 109.235.145.21, policy bank ''
http://groups.google.com/group/maili...8a3d1ba2?pli=1
__________________
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 16:16.


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