Current time: 11-26-2024, 02:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Postfix could not receive mails
Author Message
bobeq Offline
Newbie
*

Posts: 9
Joined: Nov 2007
Reputation: 0
Post: #1
[SOLVED] Postfix could not receive mails
Hi

I installed branch dated on 30.11.2007 and have a little problem with postfix. I can send e-mails but could not receive. I looked up into my mail.log:

Code:
Dec  1 23:47:12 lvps87-230-92-143 postfix/smtpd[7550]: connect from alternator.sgh.waw.pl[194.145.96.100]
Dec  1 23:47:13 lvps87-230-92-143 postfix/trivial-rewrite[7552]: warning: do not list domain antyfani.pl in BOTH mydestination and virtual_mailbox_domains
Dec  1 23:47:14 lvps87-230-92-143 postfix/policyd-weight[9936]: weighted check:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1 <client=194.145.96.100> <helo=alternator.sgh.waw.pl> <from=freedns@sgh.waw.pl> <to=bobeq@antyfani.pl>, rate: -7.6
Dec  1 23:47:14 lvps87-230-92-143 postfix/policyd-weight[9936]: decided action=PREPEND X-policyd-weight:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1 <client=194.145.96.100> <helo=alternator.sgh.waw.pl> <from=freedns@sgh.waw.pl> <to=bobeq@antyfani.pl>, rate: -7.6
Dec  1 23:47:14 lvps87-230-92-143 postgrey[5935]: cleaning up old logs...
Dec  1 23:47:14 lvps87-230-92-143 postfix/smtpd[7550]: 9C400613C002: client=alternator.sgh.waw.pl[194.145.96.100]
Dec  1 23:47:14 lvps87-230-92-143 postfix/cleanup[7554]: 9C400613C002: message-id=<20071201224712.B2CF4113C41@aplikator.sgh.waw.pl>
Dec  1 23:47:14 lvps87-230-92-143 postfix/smtpd[7550]: disconnect from alternator.sgh.waw.pl[194.145.96.100]
Dec  1 23:47:14 lvps87-230-92-143 postfix/qmgr[27927]: 9C400613C002: from=<freedns@sgh.waw.pl>, size=1632, nrcpt=1 (queue active)
Dec  1 23:47:14 lvps87-230-92-143 postfix/trivial-rewrite[7552]: warning: do not list domain antyfani.pl in BOTH mydestination and virtual_mailbox_domains
Dec  1 23:47:14 lvps87-230-92-143 postfix/local[7555]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Dec  1 23:47:14 lvps87-230-92-143 postfix/local[7555]: 9C400613C002: to=<bobeq@antyfani.pl>, relay=local, delay=1.7, delays=1.6/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Dec  1 23:47:14 lvps87-230-92-143 postfix/qmgr[27927]: 9C400613C002: removed

There are two warnings. How could I make it working?

regards,
bobeq
(This post was last modified: 12-02-2007 10:13 PM by BeNe.)
12-02-2007 09:01 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: Postfix could not receive mails
Quote:warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
you can ignore this message...

Quote:warning: do not list domain antyfani.pl in BOTH mydestination and virtual_mailbox_domains
Well here is your problem... set $mydomain = $myhostname in /etc/postfix/main.cf... If this do not work post the output of postconf -n that we can see your current configuration...
12-02-2007 09:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bobeq Offline
Newbie
*

Posts: 9
Joined: Nov 2007
Reputation: 0
Post: #3
RE: Postfix could not receive mails
It still doesn't work.

postconf -n
Code:
alias_database = hash:/etc/aliases
append_at_myorigin = yes
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
inet_interfaces = all
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
local_transport = local
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname, $mydomain
mydomain = $myhostname
myhostname = antyfani.pl
mynetworks_style = host
myorigin = $myhostname
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP ispCP 1.0 Priamos Managed 1.0.0 RC3 OMEGA
smtpd_data_restrictions = reject_multi_recipient_bounce,                               reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,                               permit_sasl_authenticated,                               reject_invalid_helo_hostname,                               reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = reject_non_fqdn_recipient,                               reject_unknown_recipient_domain,                               permit_mynetworks,                               permit_sasl_authenticated,                               reject_unauth_destination,                               reject_unlisted_recipient,                               check_policy_service inet:127.0.0.1:12525,                               check_policy_service inet:127.0.0.1:60000,                               permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sender_restrictions = reject_non_fqdn_sender,                               reject_unknown_sender_domain,                               permit_mynetworks,                               permit_sasl_authenticated
transport_maps = hash:/etc/postfix/ispcp/transport
virtual_alias_maps = hash:/etc/postfix/ispcp/aliases
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_domains = hash:/etc/postfix/ispcp/domains
virtual_mailbox_limit = 0
virtual_mailbox_maps = hash:/etc/postfix/ispcp/mailboxes
virtual_minimum_uid = 1000
virtual_transport = virtual
virtual_uid_maps = static:1000

mail.log
Code:
Dec  2 00:25:19 lvps87-230-92-143 postfix/policyd-weight[17513]: weighted check:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1 <client=195.149.228.213> <helo=smtp.host17.kei.pl> <from=bobeq@elkonkursso.pl> <to=bobeq@antyfani.pl>, rate: -7.6
Dec  2 00:25:19 lvps87-230-92-143 postfix/policyd-weight[17513]: decided action=PREPEND X-policyd-weight:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_MX=-3.1 <client=195.149.228.213> <helo=smtp.host17.kei.pl> <from=bobeq@elkonkursso.pl> <to=bobeq@antyfani.pl>, rate: -7.6
Dec  2 00:25:19 lvps87-230-92-143 postfix/smtpd[17694]: 97C04613C002: client=v1413.rev.tld.pl[195.149.228.213]
Dec  2 00:25:19 lvps87-230-92-143 postfix/cleanup[17699]: 97C04613C002: message-id=<1196551519.5550.6.camel@localhost>
Dec  2 00:25:19 lvps87-230-92-143 postfix/qmgr[16329]: 97C04613C002: from=<bobeq@elkonkursso.pl>, size=975, nrcpt=1 (queue active)
Dec  2 00:25:19 lvps87-230-92-143 postfix/trivial-rewrite[17697]: warning: do not list domain antyfani.pl in BOTH mydestination and virtual_mailbox_domains
Dec  2 00:25:19 lvps87-230-92-143 postfix/local[17700]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Dec  2 00:25:19 lvps87-230-92-143 postfix/smtpd[17694]: disconnect from v1413.rev.tld.pl[195.149.228.213]
Dec  2 00:25:19 lvps87-230-92-143 postfix/local[17700]: 97C04613C002: to=<bobeq@antyfani.pl>, relay=local, delay=5.7, delays=5.7/0.01/0/0.04, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Dec  2 00:25:19 lvps87-230-92-143 postfix/qmgr[16329]: 97C04613C002: removed

I'm including my main.cf.


Attached File(s)
.txt  main.txt (Size: 3.71 KB / Downloads: 10)
(This post was last modified: 12-02-2007 09:31 AM by bobeq.)
12-02-2007 09:27 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: Postfix could not receive mails
change myhostname = antyfani.pl to myhostname = {mail or mx or smtp or whatever your rdns is}.antyfani.pl
12-02-2007 09:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bobeq Offline
Newbie
*

Posts: 9
Joined: Nov 2007
Reputation: 0
Post: #5
RE: Postfix could not receive mails
It works! Smile Thanks for help. Smile
12-02-2007 09:33 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: Postfix could not receive mails
your welcome ;-)

(Just read the warnings... My postfix never lied to me Tongue)
12-02-2007 09:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)