RE: Sample Configs for Postfix

"Ronnie Tartar" <[email protected]>
Newsgroups gmane.comp.isp.ispman.user
Message-ID <200411131007744.SM01716@symws3>
The following is my main.cf file

[root@mega postfix]# more main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
# inet_interfaces = localhost
biff = no
unknown_local_recipient_reject_code = 450
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix

setgid_group = postdrop

manpage_directory = /usr/share/man

sample_directory = /usr/share/doc/postfix-2.0.18/samples
readme_directory = /usr/share/doc/postfix-2.0.18/README_FILES
myhostname = mega.host2themax.com
mydomain = host2max.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = localhost
mydestination = $mydomain, $myhostname, localhost.localdomain, localhost,
hash:/etc/postfix/destination_domains
virtual_maps = ldap:ldapvirtual
mailbox_transport = lmtp:localhost:2003
relayhost =

mynetworks = 127.0.0.0/8 , 204.8.181.0/26
mailbox_size_limit = 0
recipient_delimiter = +

# default_transport = smtp
inet_interfaces = all

ldapvirtual_server_host = localhost
ldapvirtual_server_port = 389
ldapvirtual_bind = no
ldapvirtual_bind_dn = cn=Manager, o=ispman
ldapvirtual_bind_pw = ronnie
ldapvirtual_timeout = 5
ldapvirtual_search_base = o=ispman
ldapvirtual_query_filter = (|(mailLocalAddress=%s)(mailAlias=%s))
ldapvirtual_result_attribute = mailRoutingAddress,mailForwardingAddress
ldapvirtual_lookup_wildcards = no

relocated_maps = hash:/etc/postfix/relocated
smtpd_sender_restrictions = hash:/etc/postfix/access
transport_maps = hash:/etc/postfix/transport

local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 10

debug_peer_level = 3


# for authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous

# can use this next line instead, when testing CRAM-MD5
# smtpd_sasl_security_options = noanonymous, noplaintext

smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_sender_restrictions =
        permit_sasl_authenticated,
        permit_mynetworks,
        reject_unauth_destination
smtpd_recipient_restrictions =
        permit_sasl_authenticated,
        permit_mynetworks,
        reject_unauth_destination 

-----Original Message-----
From: ispman-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:ispman-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Ronnie Tartar
Sent: Saturday, November 13, 2004 8:07 AM
To: [email protected]
Subject: RE: [Ispman-users] Sample Configs for Postfix

No, still having problems getting from the local smtp server into the imap
mailbox.

I'm having trouble with postfix.  
 
1.  on the imap server, the mail is getting there but I am getting user not
found in local recipient table.
 
Nov  4 23:01:47 mega master[13666]: about to exec
/usr/lib/cyrus-imapd/ctl_cyrusdb Nov  4 23:01:47 mega ctl_cyrusdb[13666]:
checkpointing cyrus databases Nov  4 23:01:47 mega ctl_cyrusdb[13666]:
archiving database file:
/var/lib/imap/annotations.db
Nov  4 23:01:47 mega ctl_cyrusdb[13666]: archiving log file:
/var/lib/imap/db/log.0000000001
Nov  4 23:01:47 mega ctl_cyrusdb[13666]: archiving database file:
/var/lib/imap/mailboxes.db
Nov  4 23:01:47 mega ctl_cyrusdb[13666]: archiving log file:
/var/lib/imap/db/log.0000000001
Nov  4 23:01:47 mega ctl_cyrusdb[13666]: done checkpointing cyrus databases
Nov  4 23:01:47 mega master[13544]: process 13666 exited, status 0 Nov  4
23:08:25 mega postfix/smtpd[13671]: connect from
mega2.host2max.com[204.8.181.3] Nov  4 23:08:25 mega postfix/smtpd[13671]:
D17673EC123:
client=mega2.host2max.com[204.8.181.3]
Nov  4 23:08:25 mega postfix/smtpd[13671]: D17673EC123: reject: RCPT from
mega2.host2max.com[204.8.181.3]: 450 <rtartar_host2max_com@mega.
host2themax.com>: User unknown in local recipient table;
from=<rtartar-JA7PSYgAfLxWk0Htik3J/[email protected]> to=<rtartar_host2max_com-2/gCl6bB22l0yvGv+nEmR1aTQe2KTcn/@public.gmane.org>
proto=
ESMTP helo=<mega2.host2max.com>
Nov  4 23:08:27 mega postfix/smtpd[13671]: disconnect from
mega2.host2max.com[204.8.181.3]
 
I can access my imap mailbox via perdition on a proxie, but when the mail is
routed to the Imap server, it dies.
 
Any suggestions?
 
Thanks 

-----Original Message-----
From: ispman-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:ispman-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Wim Kerkhoff
Sent: Saturday, November 06, 2004 1:22 PM
To: [email protected]
Subject: Re: [Ispman-users] Sample Configs for Postfix

lipilee wrote:

> Hi,
> Did you manage to get your postfix working? I have v2.x as well, and 
> had a hard time so far... Partially because 
> http://www.nyetwork.org/~wim/example-mail-configs-wim.tar.gz access is 
> forbidden...

Try it again... the permissions were too secure :-)

Wim



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's
Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Ispman-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ispman-users




-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD -
A multidimensional database that combines robust object and relational
technologies, making it a perfect match for Java, C++,COM, XML, ODBC and
JDBC. www.intersystems.com/match8
_______________________________________________
Ispman-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ispman-users




-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.