Re: 9.1 Postfix problem
On Apr 17, 2013, at 10:04 AM, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Paul Kraus p...@kraus-haus.org writes: When building postfix under 91. I am running into an odd problem. I use the INST_BASE option, which seems to cause the problem (it worked fine with 9.0). The 'make' goes fine, but the 'make install' fails when trying to install the startup script to /usr/etc/rc.d instead of /etc/rc.d. It works fine if INST-BASE is disabled. I looked through the Makefile but could not suss out how that difference in configuration was actually causing the problem. Has anyone else run into this problem and what was the fix (or did you just install into /usr/local) ? I use /usr/local, but this seems to be a typo in the last checkin, which changed the internal names of the port options to our brave new naming scheme. If you look in the Makefile clause for installing to base, renaming the option itself went correctly, but both halves of the '.if' now invoke USE_RC_SUBR. That's correct for PREFIX, but for installing into base should be USE_RCORDER instead. Lowell, That was exactly the problem. I knew it was in the installation configuration *somewhere*, but I just could not find it. Thanks. Should I report this as a bug in the postfix port ? -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.1 Postfix problem
Paul Kraus p...@kraus-haus.org writes: That was exactly the problem. I knew it was in the installation configuration *somewhere*, but I just could not find it. Thanks. Should I report this as a bug in the postfix port ? No need. Looks like sahil@ has already fixed it. Be well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.1 Postfix problem
Paul Kraus p...@kraus-haus.org writes: When building postfix under 91. I am running into an odd problem. I use the INST_BASE option, which seems to cause the problem (it worked fine with 9.0). The 'make' goes fine, but the 'make install' fails when trying to install the startup script to /usr/etc/rc.d instead of /etc/rc.d. It works fine if INST-BASE is disabled. I looked through the Makefile but could not suss out how that difference in configuration was actually causing the problem. Has anyone else run into this problem and what was the fix (or did you just install into /usr/local) ? I use /usr/local, but this seems to be a typo in the last checkin, which changed the internal names of the port options to our brave new naming scheme. If you look in the Makefile clause for installing to base, renaming the option itself went correctly, but both halves of the '.if' now invoke USE_RC_SUBR. That's correct for PREFIX, but for installing into base should be USE_RCORDER instead. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
9.1 Postfix problem
When building postfix under 91. I am running into an odd problem. I use the INST_BASE option, which seems to cause the problem (it worked fine with 9.0). The 'make' goes fine, but the 'make install' fails when trying to install the startup script to /usr/etc/rc.d instead of /etc/rc.d. It works fine if INST-BASE is disabled. I looked through the Makefile but could not suss out how that difference in configuration was actually causing the problem. Has anyone else run into this problem and what was the fix (or did you just install into /usr/local) ? -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: 9.1 Postfix problem
On Tue, 16 Apr 2013 17:16:20 -0400, Paul Kraus wrote: When building postfix under 91. I am running into an odd problem. I use the INST_BASE option, which seems to cause the problem (it worked fine with 9.0). The 'make' goes fine, but the 'make install' fails when trying to install the startup script to /usr/etc/rc.d instead of /etc/rc.d. It works fine if INST-BASE is disabled. I looked through the Makefile but could not suss out how that difference in configuration was actually causing the problem. Has anyone else run into this problem and what was the fix (or did you just install into /usr/local) ? No problems at all for me with Postfix on 9.1-RELEASE, which I just install with the defaults. My postfix is in /usr/local/sbin. Why would you want to do things differently? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: postfix problem
Yeah, just realized that... On Oct 18, 2007, at 11:17 AMOct 18, 2007, Bill Banks wrote: Do you know its postfix not sendmail? Eric Crist wrote: You need to tell your mail server what domains it needs to accept mail for. Edit /etc/mail/access.sample and add your domain per the template, save as /etc/mail/access, then run make install restart from within the /etc/mail directory. Let me know if that works alright for you! Eric On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote: Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
You need to tell your mail server what domains it needs to accept mail for. Edit /etc/mail/access.sample and add your domain per the template, save as /etc/mail/access, then run make install restart from within the /etc/mail directory. Let me know if that works alright for you! Eric On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote: Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix problem
Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
How do I set it in main.cf? Eric Crist wrote: You need to tell your mail server what domains it needs to accept mail for. Edit /etc/mail/access.sample and add your domain per the template, save as /etc/mail/access, then run make install restart from within the /etc/mail directory. Let me know if that works alright for you! Eric On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote: Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: postfix problem
You may also wish to add your locally hosted domains to the /etc/mail/local-host-names From: [EMAIL PROTECTED] Date: Thu, 18 Oct 2007 09:47:46 -0500 To: [EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: postfix problem You need to tell your mail server what domains it needs to accept mail for. Edit /etc/mail/access.sample and add your domain per the template, save as /etc/mail/access, then run make install restart from within the /etc/mail directory. Let me know if that works alright for you! Eric On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote: Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] _ Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
that didnt work Eric Crist wrote: You need to tell your mail server what domains it needs to accept mail for. Edit /etc/mail/access.sample and add your domain per the template, save as /etc/mail/access, then run make install restart from within the /etc/mail directory. Let me know if that works alright for you! Eric On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote: Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
Do you know its postfix not sendmail? Eric Crist wrote: You need to tell your mail server what domains it needs to accept mail for. Edit /etc/mail/access.sample and add your domain per the template, save as /etc/mail/access, then run make install restart from within the /etc/mail directory. Let me know if that works alright for you! Eric On Oct 18, 2007, at 9:44 AMOct 18, 2007, Bill Banks wrote: Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] - Eric F Crist Secure Computing Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
Let's try that again, shall we? In main.cf, what do the following lines say? mydomain = myorigin = mynetworks = mydestination = Fixing these will likely fix your problem. My postfix box is a mail gateway to our Exchange server, and my main.cf say these things: mydomain = mycompany.com myorigin = $mydomain mynetworks = [list of IP addresses of internal servers allowed to relay though this box] mydestination = [null, because I don't host accounts on this box] If you're still having problems after doing this, I suggest either getting The Book Of Postfix (ISBN 1593270011 - www.bookpool.com is my favorite source for technical books) and perusing that, or subscribing to the postfix list - they're quite helpful. Kurt On 10/18/07, Bill Banks [EMAIL PROTECTED] wrote: Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
* Bill Banks [EMAIL PROTECTED] [2007-10-18 10:44:56 -0400]: Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. Please post the output of postconf -n. Thomas -- N.J. Thomas [EMAIL PROTECTED] Etiamsi occiderit me, in ipso sperabo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
N.J. Thomas wrote: * Bill Banks [EMAIL PROTECTED] [2007-10-18 10:44:56 -0400]: Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. Please post the output of postconf -n. Thomas -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix debug_peer_level = 6 debug_peer_list = countrygirlsonline.com default_privs = nobody fast_flush_domains = countrygirlsonline.com html_directory = no inet_interfaces = all luser_relay = [EMAIL PROTECTED] mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man mydomain = countrygirlsonline.com myhostname = cowgirl.ourweb.net mynetworks_style = class newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no relayhost = $mydomain sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_client_restrictions = check_client_access hash:/usr/local/etc/postfix/access transport_maps = hash:/usr/local/etc/postfix/transport unknown_local_recipient_reject_code = 550 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
Did you get this? N.J. Thomas wrote: * Bill Banks [EMAIL PROTECTED] [2007-10-18 10:44:56 -0400]: Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. Please post the output of postconf -n. Thomas -- --- Bill Banks 508-829-2005 Wachusett Programming Ourweb http://www.ourweb.net http://www.ourwebtemplates.com command_directory = /usr/local/sbin config_directory = /usr/local/etc/postfix daemon_directory = /usr/local/libexec/postfix debug_peer_level = 6 debug_peer_list = countrygirlsonline.com default_privs = nobody fast_flush_domains = countrygirlsonline.com html_directory = no inet_interfaces = all luser_relay = [EMAIL PROTECTED] mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man mydomain = countrygirlsonline.com myhostname = cowgirl.ourweb.net mynetworks_style = class newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no relayhost = $mydomain sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_client_restrictions = check_client_access hash:/usr/local/etc/postfix/access transport_maps = hash:/usr/local/etc/postfix/transport unknown_local_recipient_reject_code = 550 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postfix problem
On October 18, 2007 at 10:44AM Bill Banks wrote: Hi, Im installing postfix on a server. It accept mail from my own network but not from the outside. It said relay access denied. Any clue. Bill, you might be better served by posting Postfix questions on the dedicated Postfix forum. You could check out: http://www.postfix.com/ for further details. -- Gerard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix Problem (urgent)
Raciel Perez Hernandez wrote: Helo list I have postfix installed and working, it only have a problem, I connect to internet trougth a leased line of 144Kbs but this line sometimes gets unstable and goes down, so if the connection is down and somebody try to send a message, postfix tells me (Server replied: 450 [EMAIL PROTECTED]: Recipient address rejected: Domain not found) and reject the message, I put this two lines on the main.cf file without any results disable_dns_lookups=yes and deffer_transport=smtp but postfix do not hear me, I need postfix put mail on the queue even if is connected or not, rigth now it represent a big problem to me Best Regards. There is my main.cf file. smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, check_sender_access proxy:mysql:/etc/postfix/mysql-sender-access.cf, permit_sasl_authenticated, permit_mynetworks, #reject_unauth_destination, #permit_sasl_authenticated, reject_unauth_pipelining, reject The problem is the order of your recipient restrictions. Move permit_sasl_authenticated and permit_mynetworks above reject_unknown_sender_domain. Jim Jim thanks you very much you rigth my recipient restriction had the problem you tell me, I correct the main.cf how you tell me and now postfix works the I wan it thanks you again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Postfix Problem (urgent)
Raciel Perez Hernandez wrote: Helo list I have postfix installed and working, it only have a problem, I connect to internet trougth a leased line of 144Kbs but this line sometimes gets unstable and goes down, so if the connection is down and somebody try to send a message, postfix tells me (Server replied: 450 [EMAIL PROTECTED]: Recipient address rejected: Domain not found) and reject the message, I put this two lines on the main.cf file without any results disable_dns_lookups=yes and deffer_transport=smtp but postfix do not hear me, I need postfix put mail on the queue even if is connected or not, rigth now it represent a big problem to me Best Regards. There is my main.cf file. smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, check_sender_access proxy:mysql:/etc/postfix/mysql-sender-access.cf, permit_sasl_authenticated, permit_mynetworks, #reject_unauth_destination, #permit_sasl_authenticated, reject_unauth_pipelining, reject The problem is the order of your recipient restrictions. Move permit_sasl_authenticated and permit_mynetworks above reject_unknown_sender_domain. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Postfix Problem (urgent)
Helo list I have postfix installed and working, it only have a problem, I connect to internet trougth a leased line of 144Kbs but this line sometimes gets unstable and goes down, so if the connection is down and somebody try to send a message, postfix tells me (Server replied: 450 [EMAIL PROTECTED]: Recipient address rejected: Domain not found) and reject the message, I put this two lines on the main.cf file without any results disable_dns_lookups=yes and deffer_transport=smtp but postfix do not hear me, I need postfix put mail on the queue even if is connected or not, rigth now it represent a big problem to me Best Regards. There is my main.cf file. # Global Postfix configuration file. This file lists only a subset # of all 300+ parameters. See the postconf(5) manual page for a # complete list. # # The general format of each line is: parameter = value. Lines # that begin with whitespace continue the previous line. A value can # contain references to other $names or ${name}s. # # NOTE - CHANGE NO MORE THAN 2-3 PARAMETERS AT A TIME, AND TEST IF # POSTFIX STILL WORKS AFTER EVERY CHANGE. # SOFT BOUNCE # # The soft_bounce parameter provides a limited safety net for # testing. When soft_bounce is enabled, mail will remain queued that # would otherwise bounce. This parameter disables locally-generated # b ounces, and prevents the SMTP server from rejecting mail permanently # (by changing 5xx replies into 4xx replies). However, soft_bounce # is no cure for address rewriting mistakes or mail routing mistakes. # #soft_bounce = yes # LOCAL PATHNAME INFORMATION # # The queue_directory specifies the location of the Postfix queue. # This is also the root directory of Postfix daemons that run chrooted. # See the files in examples/chroot-setup for setting up Postfix chroot # environments on different UNIX systems. # queue_directory = /var/spool/postfix # The command_directory parameter specifies the location of all # postXXX commands. # command_directory = /usr/sbin # The daemon_directory parameter specifies the location of all Postfix # daemon programs (i.e. programs listed in the master.cf file). This # directory must be owned by root. # daemon_directory = /usr/libexec/postfix # QUEUE AND PROCESS OWNERSHIP # # The mail_owner parameter specifies the owner of the Postfix queue # and of most Postfix daemon processes. Specify the name of a user # account THAT DOES NOT SHARE ITS USER OR GROUP ID WITH OTHER ACCOUNTS # AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM. In # particular, don't specify nobody or daemon. PLEASE USE A DEDICATED # USER. # mail_owner = postfix # The default_privs parameter specifies the default rights used by # the local delivery agent for delivery to external file or command. # These rights are used in the absence of a recipient user context. # DO NOT SPECIFY A PRIVILEGED USER OR THE POSTFIX OWNER. # #default_privs = nobody # INTERNET HOST AND DOMAIN NAMES # # The myhostname parameter specifies the internet hostname of this # mail system. The default is to use the fully-qualified domain name # from gethostname(). $myhostname is used as a default value for many # other configuration parameters. # myhostname = Myhostname.com #myhostname = virtual.domain.tld # The mydomain parameter specifies the local internet domain name. # The default is to use $myhostname minus the first component. # $mydomain is used as a default value for many other configuration # parameters. # #mydomain = domain.tld mydomain = Mydomain.cu # SENDING MAIL # # The myorigin parameter specifies the domain that locally-posted # mail appears to come from. The default is to append $myhostname, # which is fine for small sites. If you run a domain with multiple # machines, you should (1) change this to $mydomain and (2) set up # a domain-wide alias database that aliases each user to # [EMAIL PROTECTED] # # For the sake of consistency between sender and recipient addresses, # myorigin also specifies the default domain name that is appended # to recipient addresses that have no @domain part. # #myorigin = $myhostname #myorigin = $mydomain # RECEIVING MAIL # The inet_interfaces parameter specifies the network interface # addresses that this mail system receives mail on. By default, # the software claims all active interfaces on the machine. The # parameter also controls delivery of mail to [EMAIL PROTECTED] # # See also the proxy_interfaces parameter, for network addresses that # are forwarded to us via a proxy or network address translator. # # Note: you need to stop/start Postfix when this parameter changes. # #inet_interfaces = all #inet_interfaces = $myhostname #inet_interfaces = $myhostname, localhost # The proxy_interfaces parameter specifies the network interface # addresses that this mail system receives mail on by way of a # proxy or network address translation unit. This setting extends # the address list specified with the inet_interfaces parameter. # # You must specify your proxy/NAT addresses when
Re: Courier-imap + Postfix problem
On Tue, Jul 20, 2004 at 06:16:37PM -0700 or thereabouts, Brent Wiese wrote: Sorry, I missed this question and have been away from the list for a bit. Hopefully you figured this out by now, but just in case, I've answered below. So was I :(. All i got to do now, it seems, is start portmap and fam on system boot. I know portmap_enable=YES in rc.conf does the trick, but what about starting fam? Look in /usr/local/etc/rc.d There will likely be several startup scripts in there for other services. Use one as a skeleton to start up fam. Likely, if you installed fam from ports, there will already be a startup script in that directory, it'll just need to be renamed. Many ports will put the scripts there with a -sample extension. Check to make sure that file looks in the right places for your daemon and if so, rename it to remove the -sample and it'll start up on boot. There is no such script in ../etc/rc.d. All you have to do is to start portmap (in rc.conf), and then edit your /etc/inetd.conf and add there: sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam fam and then killall -HUP inetd. This one should do the trick. Cheers, Martin -- Martin Hudec| corwin at aeternal.net | corwin at web.markiza.sk http://www.aeternal.net | cell +421 907 303 393 pgpnxMVDTXYv5.pgp Description: PGP signature
Re: Courier-imap + Postfix problem
Hi Martin, That worked for me! Thanks for the late post anyway. Gareth - Original Message - From: Martin Hudec [EMAIL PROTECTED] To: Brent Wiese [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; 'Gareth Bailey' [EMAIL PROTECTED] Sent: Thursday, July 29, 2004 10:15 AM Subject: Re: Courier-imap + Postfix problem ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Courier-imap + Postfix problem
Sorry, I missed this question and have been away from the list for a bit. Hopefully you figured this out by now, but just in case, I've answered below. -Original Message- snip All i got to do now, it seems, is start portmap and fam on system boot. I know portmap_enable=YES in rc.conf does the trick, but what about starting fam? Look in /usr/local/etc/rc.d There will likely be several startup scripts in there for other services. Use one as a skeleton to start up fam. Likely, if you installed fam from ports, there will already be a startup script in that directory, it'll just need to be renamed. Many ports will put the scripts there with a -sample extension. Check to make sure that file looks in the right places for your daemon and if so, rename it to remove the -sample and it'll start up on boot. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Courier-imap + Postfix problem
Hello Brent, I did a straight fowrard 'make install' for courier-imap in the ports directory. I configured it to use SSL. I have never installed fam manually, although it is possible that it got installed as a dependency with another port. So, i don't know why i'm the only one having issues :-) Thanks for your response. Google found a couple of articles in which ppl compained about fam errors in their maillogs. Apparently, fam (for some reason on my system, and theirs) needs to be running for use by courier-imap. Furthermore, for fam to be happy, portmap needs to be running. On starting these two services, the errors magically dissappeared. I would still like to know how i got into this situation though! All i got to do now, it seems, is start portmap and fam on system boot. I know portmap_enable=YES in rc.conf does the trick, but what about starting fam? Thanks, Gareth On Wed, 23 Jun 2004 12:33:31 -0700 Brent Wiese [EMAIL PROTECTED] wrote: Thanks. But now i'm back in the dark. Does anyone have any idea what the source of my errors in maillog could be? To recap, i'm running postfix and courier-imap and i'm getting errors as follows: maillog: Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Any info would be great! I don't have the file your log describes. I don't think its part of courier. At least not if you installed it from the ports. Or, maybe its only written temporarily if someone is using imap via ssl (my mail server isn't active enough on imap-ssl to watch for that). It looks like maybe you have the File Access Monitor installed (/usr/ports/devel/fam)... I know nothing about it, but its likely something misconfigured on it that isn't allowing courier to write the file or something. _ For super low premiums ,click here http://www.dialdirect.co.za/quote ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Courier-imap + Postfix problem
Thanks. But now i'm back in the dark. Does anyone have any idea what the source of my errors in maillog could be? To recap, i'm running postfix and courier-imap and i'm getting errors as follows: maillog: Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Any info would be great! I don't have the file your log describes. I don't think its part of courier. At least not if you installed it from the ports. Or, maybe its only written temporarily if someone is using imap via ssl (my mail server isn't active enough on imap-ssl to watch for that). It looks like maybe you have the File Access Monitor installed (/usr/ports/devel/fam)... I know nothing about it, but its likely something misconfigured on it that isn't allowing courier to write the file or something. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Courier-imap + Postfix problem
Ok, i haven't got any responses regarding this post, but i have found what i think might be causing the problem. I setup my server with the hostname berkeley and installed everything i needed including postfix and courier-imap. I have since changed the hostname to server which was the name of my previous 5.2 release server (i had problems with the new berkeley hostname.) Anyway, i see in the output of postconf that there are two settings that appear to be dependent on the hostname, namely: berkeley_db_create_buffer_size=16777216 and berkeley_db_read_buffer_size=131072 Since the hostname changed to server, shouldn't these now be server_db_create_buffer_size=16777216 and server_db_read_buffer_size=131072?? If so: 1:)Could this be the source of my errors appearing in maillog(see below)? 2:)What do i need to do? - Reinstall postfix? Please advise, King regards Gareth Hi all, This problem has to do with my mail setup. I'm running postfix MTA and courier-imap server. My maillog file is filled with messages like the following: Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). I'm not too sure where to start - i suspect that whatever is trying to create the cache file doesn't have the neccesary permissions. If so, what is the location of this cache file? Otherwise, any other suggestions would be most welcome. Thanks, Gareth _ For super low premiums ,click here http://www.dialdirect.co.za/quote ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Courier-imap + Postfix problem
On Tue, 22 Jun 2004 13:27:52 +0200, Gareth Bailey [EMAIL PROTECTED] wrote: Ok, i haven't got any responses regarding this post, but i have found what i think might be causing the problem. I setup my server with the hostname berkeley and installed everything i needed including postfix and courier-imap. I have since changed the hostname to server which was the name of my previous 5.2 release server (i had problems with the new berkeley hostname.) Anyway, i see in the output of postconf that there are two settings that appear to be dependent on the hostname, namely: berkeley_db_create_buffer_size=16777216 and berkeley_db_read_buffer_size=131072 Since the hostname changed to server, shouldn't these now be server_db_create_buffer_size=16777216 and server_db_read_buffer_size=131072?? If so: 1:)Could this be the source of my errors appearing in maillog(see below)? 2:)What do i need to do? - Reinstall postfix? Please advise, King regards Gareth Hi all, This problem has to do with my mail setup. I'm running postfix MTA and courier-imap server. My maillog file is filled with messages like the following: Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). I'm not too sure where to start - i suspect that whatever is trying to create the cache file doesn't have the neccesary permissions. If so, what is the location of this cache file? Otherwise, any other suggestions would be most welcome. berkeley is also a database file format... -- Andy Harrison ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Courier-imap + Postfix problem
Thanks. But now i'm back in the dark. Does anyone have any idea what the source of my errors in maillog could be? To recap, i'm running postfix and courier-imap and i'm getting errors as follows: maillog: Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Any info would be great! Thanks Gareth On Tue, 22 Jun 2004 08:12:44 -0400 Andy Harrison [EMAIL PROTECTED] wrote: On Tue, 22 Jun 2004 13:27:52 +0200, Gareth Bailey [EMAIL PROTECTED] wrote: Ok, i haven't got any responses regarding this post, but i have found what i think might be causing the problem. I setup my server with the hostname berkeley and installed everything i needed including postfix and courier-imap. I have since changed the hostname to server which was the name of my previous 5.2 release server (i had problems with the new berkeley hostname.) Anyway, i see in the output of postconf that there are two settings that appear to be dependent on the hostname, namely: berkeley_db_create_buffer_size=16777216 and berkeley_db_read_buffer_size=131072 Since the hostname changed to server, shouldn't these now be server_db_create_buffer_size=16777216 and server_db_read_buffer_size=131072?? If so: 1:)Could this be the source of my errors appearing in maillog(see below)? 2:)What do i need to do? - Reinstall postfix? Please advise, King regards Gareth Hi all, This problem has to do with my mail setup. I'm running postfix MTA and courier-imap server. My maillog file is filled with messages like the following: Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). I'm not too sure where to start - i suspect that whatever is trying to create the cache file doesn't have the neccesary permissions. If so, what is the location of this cache file? Otherwise, any other suggestions would be most welcome. berkeley is also a database file format... -- Andy Harrison _ For super low premiums ,click here http://www.dialdirect.co.za/quote ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Courier-imap + Postfix problem
Hi all, This problem has to do with my mail setup. I'm running postfix MTA and courier-imap server. My maillog file is filled with messages like the following: Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). Jun 20 15:47:05 server imapd-ssl: Failed to create cache file: maildirwatch (fre Jun 20 15:47:05 server imapd-ssl: Error: Input/output error Jun 20 15:47:05 server imapd-ssl: Check for proper operation and configuration Jun 20 15:47:05 server imapd-ssl: of the File Access Monitor daemon (famd). I'm not too sure where to start - i suspect that whatever is trying to create the cache file doesn't have the neccesary permissions. If so, what is the location of this cache file? Otherwise, any other suggestions would be most welcome. Thanks, Gareth _ _ For super low premiums ,click here http://www.dialdirect.co.za/quote ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
postfix problem in jail
Hi. So, i have a running jail and installed postfix from the ports in there. My problem is, that postfix wont start in the jail. /var/log/maillog shows: ct 18 09:20:08 briefzentrum postfix/postfix-script: starting the Postfix mail system Oct 18 09:20:08 briefzentrum postfix/master[481]: fatal: parameter inet_interfaces: no local interface found for 127.0.0.1 So, what is the problem with that? How to setup a local interface for 127.0.0.1 in a jail, so that postfix should start at boottime? Thanks in advance. asg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: postfix problem in jail
On Fri, Oct 18, 2002 at 09:34:43AM +0200, Axel Gruner wrote: ct 18 09:20:08 briefzentrum postfix/postfix-script: starting the Postfix mail system Oct 18 09:20:08 briefzentrum postfix/master[481]: fatal: parameter inet_interfaces: no local interface found for 127.0.0.1 So, what is the problem with that? How to setup a local interface for 127.0.0.1 in a jail, so that postfix should start at boottime? There is no local interface, 127.0.0.1 inside a jail, only the IP address that the jail has been given. You need to tell postfix to startup on the same IP address that the jail has been given. Do this either by setting: myhostname = yourmachine and putting yourmachine into /etc/hosts with the correct IP, or by setting: inet_interfaces = youripaddress Both changes can be done in the postfix main.cf config file. Obviously replace yourmachine and youripaddress to their correct values. -- Michael Pye To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message