Problem with postfix

This is a discussion on Problem with postfix within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; I have been strugling with this for some time. I'm am new to Linux and postfix so I might ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-08-2007
Belmont
 
Posts: n/a
Default Problem with postfix

I have been strugling with this for some time. I'm am new to Linux and
postfix so I might be asking some dumb question.
I have one email that is being rejected and I do not want it rejected.
I get a logwatch email send to me everyday and when this email comes to me
it gets rejected. I want to get this email but I do not know how to fix
this. I been googling this issue for some time trying to solve this myself.
Can anybody help me?
Belmont

NOQUEUE: reject: RCPT from unknown[69.36.229.182]: 450 Server configuration
problem; from=mailbot@server.com to=user@mymail.com proto=ESMTP
helo=<vl>

This is my postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = 192.168.0.101
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, $mydomain
mydomain = myurl.com
myhostname = myurl.com
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
relay_recipient_maps = hash:/etc/postfix/relay_recipients
sample_directory = /usr/share/doc/postfix-2.2.2/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks,
reject_unlisted_recipient, reject_unauth_destination,
check_recipient_access hash:/etc/postfix/recipient_access,
check_policy_service inet:127.0.0.1:6000
unknown_local_recipient_reject_code = 450

I had somebody who suggested to change some configuration
and I did change this
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mydomain = mydomain.com
myhostname = myhostname.mydomain.com
mynetworks = 192.168.0.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain

I no longer get the ("NOQUEUE: reject: RCPT from unknown[69.36.229.182]: 450
Server configuration
problem; from=mailbot@server.com to=user@mymail.com proto=ESMTP
helo=<vl>") message but I also still do not get the email either.
I now get this message ("fatal: open database
/etc/postfix/relay_recipients.db: No such file or directory")

I did created a file with "vi /etc/postfix/relay_recipients.db" command.
Then I did "postmap hash:/etc/postfix/relay_recipients.db" command.

I still do not get the email and now I get this error ("fatal: open database
/etc/postfix/relay_recipients.db: Bad file descriptor")

How do I fix this error and how do I get from the outside world?

This is my new postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = mydomain.com
myhostname = myhostname.mydomain.com
mynetworks = 192.168.0.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
relay_recipient_maps = hash:/etc/postfix/relay_recipients
sample_directory = /usr/share/doc/postfix-2.2.2/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks,
reject_unlisted_recipient, reject_unauth_destination,
check_recipient_access hash:/etc/postfix/recipient_access,
check_policy_service inet:127.0.0.1:6000
unknown_local_recipient_reject_code = 450


Reply With Quote
  #2 (permalink)  
Old 07-08-2007
clemens fischer
 
Posts: n/a
Default howto create some database (Re: Problem with postfix)

On Sat, 7 Jul 2007 20:28:54 -0400 Belmont wrote:

> I did created a file with "vi /etc/postfix/relay_recipients.db" command.
> Then I did "postmap hash:/etc/postfix/relay_recipients.db" command.


you'd have to use "vi /etc/postfix/relay_recipients", ie. _without_ the
".db" suffix. then "postmap hash:/etc/postfix/relay_recipients", again
without the suffix. postmap reads the textfile thus created and
generates "/etc/postfix/relay_recipients.db" from it. the text file is
text for you to maintain, the .db file contains the binary database.

please use more specific subjects, "Problem with postfix" doesn't tell
anybody what your problem is.


regards, clemens
Reply With Quote
  #3 (permalink)  
Old 07-08-2007
Belmont
 
Posts: n/a
Default Re: howto create some database (Re: Problem with postfix)


"clemens fischer" <ino-news@spotteswoode.dnsalias.org> wrote in message
news:j127m4xoq1.ln2@nntp.spotteswoode.dnsalias.org ...
> On Sat, 7 Jul 2007 20:28:54 -0400 Belmont wrote:
>
>> I did created a file with "vi /etc/postfix/relay_recipients.db" command.
>> Then I did "postmap hash:/etc/postfix/relay_recipients.db" command.

>
> you'd have to use "vi /etc/postfix/relay_recipients", ie. _without_ the
> ".db" suffix. then "postmap hash:/etc/postfix/relay_recipients", again
> without the suffix. postmap reads the textfile thus created and
> generates "/etc/postfix/relay_recipients.db" from it. the text file is
> text for you to maintain, the .db file contains the binary database.
>
> please use more specific subjects, "Problem with postfix" doesn't tell
> anybody what your problem is.
>
>
> regards, clemens


Thank you for your help. I see my mistake now. I will do better in my
subject line.

Belmont

Reply With Quote
Reply


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:40 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0