Re: mail from Charlie
On 06/13/2013 11:36 AM, Pol Hallen wrote: Hi all :-) Wow: the combination of your domain name and the subject you chose really made this message look like spam. I use 9.1... I don't known why, from yesterday I didn't received any mail from Charlie :-/ Check that periodic has completed: sometimes it gets stuck when disks fail or filesystems disappear unexpectedly during a security scan or what have you, and the periodic process will hang around in ps forever. postfix runs perfectly and I don't known how investigate about this problem... Check the postfix mail log. I think it defaults to /var/log/maillog ; that will tell you if anything even attempted to send mail. Unless you changed the defaults, cron will kick off periodic daily at 03:00 local time. Also portaudit should be send an email? This should be included in the security run email. thanks for help! Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net cyber...@cyberleo.net Furry Peace! - http://www.fur.com/peace/ ___ 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: mail from Charlie
The name Charlie is for Charlie Root, i.e. root. Generally it will just be cron messages, unless you get hacked and someone's nice. On 6/13/2013 11:36 AM, Pol Hallen wrote: Hi all :-) I use 9.1... I don't known why, from yesterday I didn't received any mail from Charlie :-/ postfix runs perfectly and I don't known how investigate about this problem... Also portaudit should be send an email? thanks for help! Pol ___ 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 ___ 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: mail/claws-mail: exporting mail filters?
On Sat, 08 Jun 2013 10:11:52 +0200 Herbert J. Skuhra hsku...@eumx.net wrote: On Sat, 8 Jun 2013 09:04:12 +0200 O. Hartmann ohart...@zedat.fu-berlin.de wrote: Since I use on several boxes private and in the deprtment the same email accounts, I'd like to export the mail filters I created and import them to other boxes. I didn't figure out yet how to perform this task on claws-mail. I realized that this is still a point still under construction on close to every platform I used for mailing. Does anyone has an idea? 1. Ask on the claws mailing list? 2. Use a search engine? 3. Search the claws mailing list archive on gmane? 4. Read the claws-mail man page? 5. Copy ~/.claws-mail/matcherrc? Thanks. O. signature.asc Description: PGP signature
Re: mail/claws-mail: exporting mail filters?
On Sat, 8 Jun 2013 09:04:12 +0200 O. Hartmann ohart...@zedat.fu-berlin.de wrote: Since I use on several boxes private and in the deprtment the same email accounts, I'd like to export the mail filters I created and import them to other boxes. I didn't figure out yet how to perform this task on claws-mail. I realized that this is still a point still under construction on close to every platform I used for mailing. Does anyone has an idea? 1. Ask on the claws mailing list? 2. Use a search engine? 3. Search the claws mailing list archive on gmane? 4. Read the claws-mail man page? 5. Copy ~/.claws-mail/matcherrc? -- Herbert ___ 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: mail/claws-mail: INBOX shows still moved or deleted mails, filtering not working properly
On Tue, 28 May 2013 09:17:55 +0200 O. Hartmann wrote: I tried mail/claws-mail for now and I'm surprised how cryptic and fast an email client can be, but I also have serious struggles with this email client. When fetch and filtering Emails from the account of our computer center's IMPA4 mail servers, the moved and even deleted emails remain visible (but greyished) in the INBOX or any other folder and marked deleted. ... Nor Evolution nor thunderbird show that weird behaviour and they operate as expected on all mail actions. This is how a traditional IMAP client works, you mark as deleted and manually expunge - and move is done through copy,delete and expunge. In the advanced section of the per account preferences there is a setting that starts Move deleted mails to trash ..., check that you haven't unset that. BTW please don't cross post without a very good reason. ___ 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: Mail Reference Manual?
On Tue, 31 Jul 2012 10:45:29 +0100 (BST), Anton Shterenlikht wrote: mail(1) man page mentions the Mail Reference Manual. The only one I can find is here: docs.freebsd.org/44doc/usd/07.mail/paper.pdf Is this the one? The URL isn't that definitive. There's also a local version installed into /usr/share/doc/usd/07.mail as paper.ps.gz and paper.ascii.gz. The corresponding source tree item is a Makefile in /usr/src/share/doc/usd/07.mail which points you to investigate /usr/src/usr.bin/mail/USD.doc; here are the nr (nroff) source files. In fact, perhaps it's better to merge the reference manual into the mail(1) man page completely? Sounds possible. Or at least add the sources into the base OS too? A pointer to the locally installed documentation would be nice, as it belongs to the base system just like the manpage does, even if it's just mentioned in the SEE ALSO section. I understand mail is not very popular these days, but for me a combination of mail/mpack does all I need. Maybe it looks to you that it's not popular among users, but it's very popular among programs. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: mail(1) save command does not work as in the man page
From bon...@mail.r-bonomi.com Thu Jul 26 02:58:29 2012 Date: Wed, 25 Jul 2012 19:37:47 -0500 (CDT) From: Robert Bonomi bon...@mail.r-bonomi.com To: freebsd-questions@freebsd.org, me...@bristol.ac.uk Subject: Re: mail(1) save command does not work as in the man page Any comments? This is the 'standard'/*EXPECTED* behavior of 'mail', and has been, since the early 1980s. (I still use 'mail' as my standard mail client'.) If invoked _without_ specifying a maibox, 1) mail that is written to another mailbox is deleted from the inbox on exit. 2) mail that was read, but _not_ written/deleted is saved to 'mbox'. If invoked *WITH* '-f', messages are not deleted/moved on exit. you must _explicitly_ perform any desired actions. You've found a bug in the _documentation_, not the progam. :) ok, I might make a patch for mail.1 when I have the time. Thanks ___ 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: mail(1) save command does not work as in the man page
From owner-freebsd-questi...@freebsd.org Wed Jul 25 10:47:21 2012 Date: Wed, 25 Jul 2012 16:44:02 +0100 (BST) From: Anton Shterenlikht me...@bristol.ac.uk To: freebsd-questions@freebsd.org Subject: mail(1) save command does not work as in the man page According to the man mail(1): save(s) Takes a message list and a filename and appends each message in turn to the end of the file. The filename in quotes, followed by the line count and character count is echoed on the user's terminal. However, it seems the mail is copied, but not deleted on exit: *SOMETIMES* that is true. grin $ mail -f mbox Mail version 8.1 6/6/93. Type ? for help. mbox: 1 message 1 me...@bristol.ac.uk Wed Jul 25 16:36 46/2045 kuku s 1 somefile somefile [New file] h * 1 me...@bristol.ac.uk Wed Jul 25 16:36 46/2045 kuku q $ mail -f somefile Mail version 8.1 6/6/93. Type ? for help. somefile: 1 message 1 me...@bristol.ac.uk Wed Jul 25 16:36 46/2045 kuku q So the mail was copied to somefile file, as expected. However, it's still in mbox file too: $ mail -f mbox Mail version 8.1 6/6/93. Type ? for help. mbox: 1 message 1 me...@bristol.ac.uk Wed Jul 25 16:36 46/2045 kuku q $ This shouldn't happen. According to the man page the expected behaviour is that message 1 should be deleted from mbox on quit. Any comments? This is the 'standard'/*EXPECTED* behavior of 'mail', and has been, since the early 1980s. (I still use 'mail' as my standard mail client'.) If invoked _without_ specifying a maibox, 1) mail that is written to another mailbox is deleted from the inbox on exit. 2) mail that was read, but _not_ written/deleted is saved to 'mbox'. If invoked *WITH* '-f', messages are not deleted/moved on exit. you must _explicitly_ perform any desired actions. You've found a bug in the _documentation_, not the progam. :) ___ 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: mail server
11.06.2012 16:33, Bahaa Babekir пишет: I want to sent me configuration to build mail server step by step I'd suggest to begin with: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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: mail server
On Wed, Jun 13, 2012 at 12:55:08AM +0400, Boris Samorodov wrote: 11.06.2012 16:33, Bahaa Babekir ??: I want to sent me configuration to build mail server step by step I'd suggest to begin with: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html Yes, read the handbook first and then ask specific questions. You need to do your homework. This shotgun style of question will not get much useful response. But, making a mail server with FreeBSD is so easy. Unless you want to do something weird or exotic, then FreeBSD already comes with a good mail server all installed. All you have to do it enable it.Put sendmail_enable=yes in /etc/rc.conf and the next time you reboot you have the most common mail server running. It will receive and send Email just fine. Then you might want to install mutt from /usr/ports/mail/mutt or some other Email client to help you read your Email. Of course, you could just use the already installed 'mail' utility. If you must have a web-based Email reader, try installing squirrelmail. jerry -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___ 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 ___ 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: Mail
Daniel Lewis innervisionnetwork at gmail.com writes: I just install free bsd 8.2 and i can send mail out but cant recieve. From recipient end its combining the hostname and domain name. ... Check sendmail in /etc/hosts.allow jb ___ 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: Mail
On Sun, Feb 19, 2012 at 22:23, Daniel Lewis innervisionnetw...@gmail.comwrote: I just install free bsd 8.2 and i can send mail out but cant recieve. From recipient end its combining the hostname and domain name. Hi Daniel, In order to be able to receive e-mails on your server, a lot more is involved than just installing the box. Your domain name (e.g. danlewis.name) must be published in the web. I mean, you must have a registered domain name. After it being registered, it must have some special records published (DNS) and these records are called MX (Mail eXchanger) records. They must point back to your server's *public *IP address if it is the one you want to receive mail from. That public IP address needs to be static/permanent or some other special DNS (dynamic DNS) records need to come into play. Once all that is done, you will need to setup a fully-fledged mail server that can receive mail and let people retrieve it. In that case, you will need to run two applications - one is an SMTP server (the one that receives and places the mail into a 'mailbox') and the other being a POP3/IMAP4 server (the one that allows a user with a valid username and password to retrieve their e-mail from the mailbox). I suggest you start looking at Exim http://www.exim.org, Postfixhttp://www.postfix.org(for SMTP) and Dovecot http://www.dovecot.org (for POP3/IMAP). There are several primers for setting these up, and so be prepared to start reading all those and making decisions on what you need to do - because now you are an aspiring Server Administrator (mail server for starters, and I know soon you'll be becoming a web server, database server, etc administrator, for that is the life you have chosen:)) May I start by pointing you to the following primers: 1. Exim+Dovecot - http://exim4u.org/ 2. Postfix+Dovecot - http://www.purplehat.org/?page_id=4 The above two include using MySQL database as backend and have a GUI to manage, which means you will soon be getting your hands dirty with MySQL and Apache, and PHP - I feel so sad for you because of this, but it's life:-) 3. http://rob0.nodns4.us/howto/ - This one was just posted to this list today. It's about Postfix+Dovecot using SQLite database as backend. I guess there is no GUI to manage this. Remember, when faced with difficulties, a good sysadmin reads log files for the different applications s/he runs and tries to figure it out using Google, then when stuck, can post a question to a general mailing list like this one, or to a specific mailing list dealing with the particular application. Welcome to FreeBSD, and to being a Systems Administrator. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email. ___ 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: mail server config
I'm getting ready to install a new mail server. I want to configure sendmail+clamav+spamassassin+**mimedefang. I believe postfix is considered to be much more secure and better then sendmail overall. I have a mail server and find that postfix was pretty easy to setup and configure. In addition, it is easy to manage with qshape, which installs along with Postfix. The Postfix website has great documentation if you are interested in going this route: http://www.postfix.org/documentation.html -Walt ___ 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: mail problems....
On Sun, 26 Sep 2010 03:20:18 -0700 Gary Kline kl...@magnesium.net articulated: i spent entire day saturday getting my primary server up to date. unfortunately, no mail can get out. maybe for days.. mail Can get in. Sorry, crystal ball is out for repairs. Perhaps you could enlighten us with some pertinent log entries, MTA being employed, etc. If Postfix, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. If the problem is SASL related, consider including the output from the saslfinger tool. This can be found at http://postfix.state-of-mind.de/patrick.koetter/saslfinger/. If the problem is about too much mail in the queue, consider including output from the qshape tool, as described in the QSHAPE_README file. I cannot help you with other MTAs. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ signature.asc Description: PGP signature
Re: mail problems....
I'd lay dollars to donuts that some service you are running (SASL, AV, etc) is not running and it's hanging there. Have you looked at the logs? Or done a verbose mailing to yourself? Your MTA should have a stuck queue list and reasons why for you. -- Ryan On Sep 26, 2010, at 7:01 AM, Jerry wrote: On Sun, 26 Sep 2010 03:20:18 -0700 Gary Kline kl...@magnesium.net articulated: i spent entire day saturday getting my primary server up to date. unfortunately, no mail can get out. maybe for days.. mail Can get in. Sorry, crystal ball is out for repairs. Perhaps you could enlighten us with some pertinent log entries, MTA being employed, etc. If Postfix, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. If the problem is SASL related, consider including the output from the saslfinger tool. This can be found at http://postfix.state-of-mind.de/patrick.koetter/saslfinger/. If the problem is about too much mail in the queue, consider including output from the qshape tool, as described in the QSHAPE_README file. I cannot help you with other MTAs. -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ ___ 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: Mail and DNS setup
On 8/19/2010 8:06 PM, RW wrote: On Thu, 19 Aug 2010 17:44:46 -0500 Depo Catcherdepocatc...@gmail.com wrote: getmail + qmail + procmail replacement + courier-imap = win? Why use an mta at all? getmail was specifically designed to avoid that. You can just do something like: getmail - procmail - whatever getmail - dovecot-deliver+sieve plugin I use getmail, dovecot, and postfix. I have getmail and postfix forwarding to dovecot with sieve, and a root .forward file for receiving server logs and filtering to a directory of their own. I haven't integrated dspam and the dovecot-antispam plugin in yet but will. Postfix doesn't handle anything other than local mail, and even then only logs. The main trouble I had was getting the local storage layout the way *I* wanted instead of defaults, `mail_location = maildir:/var/mail/%u:LAYOUT=fs:INBOX=/var/mail/%u`. I was also able to import and filter all of my Mail.app 1.3 mail via a simple perl script I wrote using /usr/local/libexec/dovecot/deliver. With the getmail/refilter trick, fixing sieve problems can be easy and has it almost all server side. ___ 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: Mail and DNS setup
On 8/20/2010 2:42 AM, Joshua Isom wrote: On 8/19/2010 8:06 PM, RW wrote: On Thu, 19 Aug 2010 17:44:46 -0500 Depo Catcherdepocatc...@gmail.com wrote: getmail + qmail + procmail replacement + courier-imap = win? Why use an mta at all? getmail was specifically designed to avoid that. You can just do something like: getmail - procmail - whatever getmail - dovecot-deliver+sieve plugin I use getmail, dovecot, and postfix. I have getmail and postfix forwarding to dovecot with sieve, and a root .forward file for receiving server logs and filtering to a directory of their own. I haven't integrated dspam and the dovecot-antispam plugin in yet but will. Postfix doesn't handle anything other than local mail, and even then only logs. The main trouble I had was getting the local storage layout the way *I* wanted instead of defaults, `mail_location = maildir:/var/mail/%u:LAYOUT=fs:INBOX=/var/mail/%u`. I was also able to import and filter all of my Mail.app 1.3 mail via a simple perl script I wrote using /usr/local/libexec/dovecot/deliver. With the getmail/refilter trick, fixing sieve problems can be easy and has it almost all server side. hrm, thanks. Dovecot looks pretty nice. I like Courier, but might have to give this a spin on a test box. ___ 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: Mail and DNS setup
On 8/19/2010 3:44 PM, Depo Catcher wrote: While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. Unbound ( http://www.unbound.net/ ) just does validating, recursive, and caching DNS. If you ever end up needing an authoritative server you can pair it with NSD ( http://www.nlnetlabs.nl/projects/nsd/ ). They are both from the same company. There is also MaraDNS, it promotes itself as being very secure, small, and easy to configure ( http://www.maradns.org/ ). I personally like MaraDNS, you can read the advocacy document which compares various DNS servers. http://www.maradns.org/advocacy.html ___ 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: Mail and DNS setup
On Thu, Aug 19, 2010 at 05:44:46PM -0500, Depo Catcher wrote: I have a local box that downloads all my mail (~8 accounts) via fetchmail. It's processed by sendmail/procmail and sorted into Maildir folder. From there I retrieved via courier-imap (ssl) in Thunderbird. This has worked well, but since it's been running there have been quite a few security advisories in fetchmail, sendmail and procmail. I'm not fond of any of their configs or syntax either, so won't mind trying some alternatives on my new server. If it ain't broken... What would be a good procmail replacement? I've searched around, but couldn't find anything that provides the same functionality. I have a lot of email so like to sort it into specific folders. IMO the best replacement for procmail is procmail. :-) For sendmail, qmail looks like a good contender. Any others that I might consider? Generally it seems like a qmail is pretty solid? Postfix works well and is easy to configure. Also anything special I need to do to uninstall or get rid of sendmail on my system? Put the following in /etc/rc.conf; sendmail_enable=NONE To disable the building of sendmail next time you do a 'make buildworld', add the following to /etc/src.conf; WITHOUT_SENDMAIL=true While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. Here you go; http://en.wikipedia.org/wiki/Comparison_of_DNS_server_software Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpT7SqRtxoiA.pgp Description: PGP signature
Re: Mail and DNS setup
On Thu, 19 Aug 2010 17:44:46 -0500 Depo Catcher depocatc...@gmail.com articulated: I have a local box that downloads all my mail (~8 accounts) via fetchmail. It's processed by sendmail/procmail and sorted into Maildir folder. From there I retrieved via courier-imap (ssl) in Thunderbird. This has worked well, but since it's been running there have been quite a few security advisories in fetchmail, sendmail and procmail. I'm not fond of any of their configs or syntax either, so won't mind trying some alternatives on my new server. What other setup would work for my needs? I really like courier-imap, so would like to stay with that or another imap ssl server. For fetchmail, getmail looks like a good alternative. What would be a good procmail replacement? I've searched around, but couldn't find anything that provides the same functionality. I have a lot of email so like to sort it into specific folders. For sendmail, qmail looks like a good contender. Any others that I might consider? Generally it seems like a qmail is pretty solid? getmail + qmail + procmail replacement + courier-imap = win? Also anything special I need to do to uninstall or get rid of sendmail on my system? While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. Personally, I like Postfix + Dovecot. I have always thought that Fetchmail was a fairly easy application to configure. Stay away from qmail. It is no longer supported. Postfix is far superior and works nearly seamlessly with dovecot. You need to place the following in your /etc/rc.conf file to shut down sendmail: sendmail_enable=NO sendmail_msp_queue_enable=NO sendmail_outbound_enable=NO sendmail_submit_enable=NO -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ With a rubber duck, one's never alone. Douglas Adams, The Hitchhiker's Guide to the Galaxy ___ 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: Mail and DNS setup
On Fri, 20 Aug 2010 01:08:41 +0200 Roland Smith rsm...@xs4all.nl articulated: Also anything special I need to do to uninstall or get rid of sendmail on my system? Put the following in /etc/rc.conf; sendmail_enable=NONE Are you sure about that? From: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html quote 28.4.2 Disable sendmail Warning: If you disable sendmail's outgoing mail service, it is important that you replace it with an alternative mail delivery system. If you choose not to, system functions such as periodic(8) will be unable to deliver their results by e-mail as they would normally expect to. Many parts of your system may expect to have a functional sendmail-compatible system. If applications continue to use sendmail's binaries to try to send e-mail after you have disabled them, mail could go into an inactive sendmail queue, and never be delivered. In order to completely disable sendmail, including the outgoing mail service, you must use sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO in /etc/rc.conf. /quote -- Jerry ✌ freebsd.u...@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __ Real programmers don't write in BASIC. Actually, no programmers write in BASIC after reaching puberty. ___ 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: Mail and DNS setup
On Thu, Aug 19, 2010 at 07:32:38PM -0400, Jerry wrote: On Fri, 20 Aug 2010 01:08:41 +0200 Roland Smith rsm...@xs4all.nl articulated: Also anything special I need to do to uninstall or get rid of sendmail on my system? Put the following in /etc/rc.conf; sendmail_enable=NONE Are you sure about that? Yes. :-) From: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-changingmta.html In order to completely disable sendmail, including the outgoing mail service, you must use sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO in /etc/rc.conf. /quote From /etc/rc.d/sendmail: case ${sendmail_enable} in [Nn][Oo][Nn][Ee]) sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO ;; esac I guess the handbook needs updating. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpvv0vFKe7Pu.pgp Description: PGP signature
Re: Mail and DNS setup
On Thu, 19 Aug 2010 17:44:46 -0500 Depo Catcher depocatc...@gmail.com wrote: getmail + qmail + procmail replacement + courier-imap = win? Why use an mta at all? getmail was specifically designed to avoid that. You can just do something like: getmail - procmail - whatever getmail - dovecot-deliver+sieve plugin ___ 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: Mail and DNS setup
On 8/19/2010 8:06 PM, RW wrote: On Thu, 19 Aug 2010 17:44:46 -0500 Depo Catcherdepocatc...@gmail.com wrote: getmail + qmail + procmail replacement + courier-imap = win? Why use an mta at all? getmail was specifically designed to avoid that. You can just do something like: getmail - procmail - whatever getmail - dovecot-deliver+sieve plugin Yea, I think your right. ___ 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: Mail and DNS setup
On Aug 19, 2010, at 3:44 PM, Depo Catcher wrote: While we're at it, any alternatives to bind? We have a slow internet so like to cache things locally. Other than local lookup and caching, nothing else is needed. I like dnsmasq. It's easy to set up and is specifically designed for doing caching and local lookup for NATed LANs. It can optionally serve as a DHCP server as well, but doesn't have to. ___ 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: Mail not working [SOLVED]
On Sat, 28 Nov 2009 12:56:57 -0500, Dimitri Yioulos wrote Greetz to all. I've never been able to get a mail server working on my FreeBSD installation. While I recently upgraded to 8.0-RELEASE, it hasn't worked since my initisl 7.0-RELEASE installation. This is not a major server, so I haven't fussed with it up to now. But, I would like to finally fix it. I've tried various combinations of postfix and sendmail, but all have failed. It doesn't matter to me whether I run postfix or sendmail, though I have far more experience with sendmail. I believe that both postfix and sendmail are currently installed, with postfix being the mail server. I want to forward mail to my sendmail MTA for distribution, which I'm doing successfully with many other *nix boxes. Here's what I currently see in /var/log/messages whenever I try to send a message from the FBSD box: Nov 28 04:15:30 marshfield kernel: pid 11721 (mailwrapper), uid 0: exited on signal 11 (core dumped) and in /var/log/maillog: Nov 26 21:35:29 marshfield postfix/master[946]: daemon started -- version 2.7- 20091008, configuration /usr/local/etc/postfix Here's at least a snippet from main.cf: mydomain = ourdomain.com readme_directory = no myorigin = $mydomain mydestination = $mydomain #relayhost = [mail1.$mydomain] relayhost = 192.168.1.2 data_directory = /var/db/postfix transport_maps = /usr/local/etc/postfix/transportsmtpd_recipient_restrictions = permit_my networks and mailer.conf: sendmail/usr/sbin/sendmail send-mail /usr/sbin/sendmail mailq /var/spool/mqueue newaliases /usr/bin/newaliases I've googled, etc., but haven't come up with a solution. Your help would be greatly appreciated. Thanks. I can't believe it. After all this time hacking away, I solved my issue rather easily. I made sure sendmail was turned off, then deinstalled/reinstalled postfix-current from ports. I had to tweak some directives in mailer.conf and main.cf based on a couple of posts I googled. I made sure sendmail wouldn't start, then started postfix with /etc/rc.d/sendmail onestart (Q: why is postfix invoked by starting sendmail?). Was able to send mail locally and externally through MTA. Sorry for the noise. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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: Mail not working [SOLVED]
Dimitri Yioulos wrote: I can't believe it. After all this time hacking away, I solved my issue rather easily. I made sure sendmail was turned off, then deinstalled/reinstalled postfix-current from ports. I had to tweak some directives in mailer.conf and main.cf based on a couple of posts I googled. I made sure sendmail wouldn't start, then started postfix with /etc/rc.d/sendmail onestart (Q: why is postfix invoked by starting sendmail?). Was able to send mail locally and externally through MTA. It isn't usually. I guess it only works because mailer.conf says the real sendmail binary is the one installed by postfix. The usual arrangement is to turn off sendmail and enable postfix from /etc/rc.conf by the following: sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO postfix_enable=YES Then you should be able to start postfix by: # /usr/local/etc/rc.d/postfix start although you'll have to make sure the instance you started as a pseudo-sendmail is killed first. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: mail server/webmail
On Thu, 23 Apr 2009 13:53:28 -0700, Liontaur liont...@gmail.com wrote: fetchmail, gotcha. I'll look into that. I'm using it myself and I'm still happy with it. The advantage is that you can use it for more than just one POP account. The Outlook Express deal is not for me, that's for another person who needs access to this email account and they happen to be very computer illiterate and being as they're used to OE, i'm not going to bother trying to teach them something new. As for me, I plan on just using webmail to access this email account. Then I'd suggest to install Mozilla Thunderbird and give it the Outlook Express icon. They won't notice any difference. But recipients of mails will - no double HTML garbage. :-) Webmail is not that bad (because important stuff is done in the background - the backend), but I prefer a real mail program. That's easy when you're at home or at work where you can access these resources, but webmail is very handy when you're at another place and still want to to your email stuff. Your idea of combining both (read: IMAP) is quite good. IMAP, gotcha. And yea, the idea is to run this stuff on a FreeBSD server i've got running just for little tasks like this, then the windows workstation [...] Computer with Windows == PC; Computer with UNIX == Workstation. :-) [...] can access it with a not-a-real email client and I can access it from wherever from my laptop too. And you can even integrate a standard mail client (e. g. Thunderbird) in this setting to have your mail done more comfortable, without interfering with what's already done. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: mail server/webmail
On Fri, Apr 24, 2009 at 1:44 AM, Polytropon free...@edvax.de wrote: On Thu, 23 Apr 2009 13:53:28 -0700, Liontaur liont...@gmail.com wrote: fetchmail, gotcha. I'll look into that. I'm using it myself and I'm still happy with it. The advantage is that you can use it for more than just one POP account. In this case that's not really needed, yet. But room for expansion in the future is always nice too. The Outlook Express deal is not for me, that's for another person who needs access to this email account and they happen to be very computer illiterate and being as they're used to OE, i'm not going to bother trying to teach them something new. As for me, I plan on just using webmail to access this email account. Then I'd suggest to install Mozilla Thunderbird and give it the Outlook Express icon. They won't notice any difference. But recipients of mails will - no double HTML garbage. :-) Webmail is not that bad (because important stuff is done in the background - the backend), but I prefer a real mail program. That's easy when you're at home or at work where you can access these resources, but webmail is very handy when you're at another place and still want to to your email stuff. Your idea of combining both (read: IMAP) is quite good. Well, i'm not exactly taken with the idea of changing out the mail client just for the sake of it. We don't display or send emails in html anyways since that's not such a good idea with OE. As for webmail... I never even thought about just using an email client on my laptop to access the server but that strikes me as a better idea too. No matter what I use i'd be tunneling it over SSH anyways so a mail client would probably have more functionality or at least i'd be more familiar with the functionality as opposed to webmail. ___ 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: mail server/webmail
Liontaur wrote: Hi folks, I was searching around but i'm not quite sure what i'm looking for. I want to have a program that gets the mail from my ISP mail server (pop), stores the mail permanently, allows me webmail access, and also lets me grab the mail with a mail client (Outlook Express). I'd like to be able to sync the mail with outlook express also. Like if I send a mail over webmail, that sent mail will also go into the sent box in outlook express, or conversly, perhaps store all the mail on the server and have outlook express just show the folders and contents stored on the server. But i'd have to somehow upload all of the mail currently in my outlook express. I'll also need some kind of spam functionality as I get a sizable amount of spam. Currently I use K9 for spam and I quite like it. I guess you could start to look in the area of: - /usr/ports/mail/fetchmail (to fetch/store the mail) - /usr/ports/mail/dovecot (for access to the mail via imap) - /usr/ports/mail/squirremail or roundcube (webmail w/ imap) - /usr/ports/www/apache22 for the webmail As you're then using IMAP, any client that connects to dovecot will get the same set of mailfolders (sync). -- Frederique ___ 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: mail server/webmail
On Thu, 23 Apr 2009 10:39:26 -0700, Liontaur liont...@gmail.com wrote: I want to have a program that gets the mail from my ISP mail server (pop), stores the mail permanently, This would be a task for fetchmail. It stores the mail in mbox format in /var/mail/$USER, so you can chose any mail program to incorporate them. allows me webmail access, and also lets me grab the mail with a mail client (Outlook Express). Repeat after me: Outlook Express is NOT a mail client. :-) I'd like to be able to sync the mail with outlook express also. Maybe you can get Redmond to give you the source code of their... erm... stuff, so you can see how to interact with it. :-) I would suggest to use a standardized application, such as M2 of Opera or Mozilla Thunderbird, or Sylpheed-Claws, or pine, or mutt... there are many, and some of them are even available in Windows. Because they're using standard mbox files for the mail messages, syncing them is quite easy, because it can automatically be done on a per-file basis. Another advantage of sticking to standards is that you can instruct different mail applications to use the same mbox files for their operations, in mixed mode, e. g. use Opera's M2 today, Thunderbird tomorrow, and Sylpheed-Claws at the weekend. Like if I send a mail over webmail, that sent mail will also go into the sent box in outlook express, I can't imagine how this should be possible. Call the MICROS~1 hotline and ask them. :-) or conversly, perhaps store all the mail on the server and have outlook express just show the folders and contents stored on the server. But i'd have to somehow upload all of the mail currently in my outlook express. I'll also need some kind of spam functionality as I get a sizable amount of spam. Currently I use K9 for spam and I quite like it. Under certain circumstances, it looks like a job for an IMAP solution. Note that most of the things you've mentioned are possible with standard UNIX mail applications, because many stuff can be done on a per-file basis. Regarding the part of a web interface, I'm sure there are free webmailers that you can run on your server. If your machine is not a server, your idea with keeping local files and server files in sync is excellent. There are good programs that cope with spam, such as SpamAssassin, or simple filter rules in your preferred mail application. Thanks for any help you can offer folks! Well, I know that my comment isn't much help, but maybe you find a starting point in it, and if it's only to start *not* using Outlook Express, because it solves nothing. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: mail server/webmail
Frederique Rijsdijk wrote: Liontaur wrote: Hi folks, I was searching around but i'm not quite sure what i'm looking for. I want to have a program that gets the mail from my ISP mail server (pop), stores the mail permanently, allows me webmail access, and also lets me grab the mail with a mail client (Outlook Express). I'd like to be able to sync the mail with outlook express also. Like if I send a mail over webmail, that sent mail will also go into the sent box in outlook express, or conversly, perhaps store all the mail on the server and have outlook express just show the folders and contents stored on the server. But i'd have to somehow upload all of the mail currently in my outlook express. I'll also need some kind of spam functionality as I get a sizable amount of spam. Currently I use K9 for spam and I quite like it. I guess you could start to look in the area of: - /usr/ports/mail/fetchmail (to fetch/store the mail) - /usr/ports/mail/dovecot (for access to the mail via imap) - /usr/ports/mail/squirremail or roundcube (webmail w/ imap) - /usr/ports/www/apache22 for the webmail As you're then using IMAP, any client that connects to dovecot will get the same set of mailfolders (sync). -- Frederique I've not used roundcube, but horde imp is a also an IMAP webmail client, and I find to be be a much better client than squirrelmail. ___ 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: mail server/webmail
Polytropon wrote: On Thu, 23 Apr 2009 10:39:26 -0700, Liontaur liont...@gmail.com wrote: I'd like to be able to sync the mail with outlook express also. Maybe you can get Redmond to give you the source code of their... erm... stuff, so you can see how to interact with it. :-) At least one person here, and it may well be me, is somewhat confused. Outlook Outlook Express Not even close. And while I personally would not pick Outlook Express as a POP/IMAP client, it is pretty standards based. Outlook talking to an Exchange server is an entirely different matter. At least that was the lay of the land the last time I was forced to pay close attention to Microsoft e-mail clients. -- --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature
Re: mail server/webmail
On Thu, 23 Apr 2009 14:49:01 -0400, Jon Radel j...@radel.com wrote: At least one person here, and it may well be me, is somewhat confused. Outlook Outlook Express Maybe. The original question included no reference to Outlook but Outlook Express. Forgive me my lack of knowledge, but I've never used one of these products (as I have not used any product by MICROS~1). Not even close. I've been told so. And while I personally would not pick Outlook Express as a POP/IMAP client, it is pretty standards based. Outlook talking to an Exchange server is an entirely different matter. It wasn't clear what solution the poster initially expected, but more and more I think IMAP would be the way to go. So there's not much responsibility on the MICROS~1 side (which is good). An IMAP system is quite easily set up with FreeBSD, and there have already been good advices which programs to employ for this purpose. The client on the user's site doesn't matter much, as long as it does the IMAP communications. At least that was the lay of the land the last time I was forced to pay close attention to Microsoft e-mail clients. As I said, I never payed any attention to them, because I don't consider them mail clients, but a bad excuse for not being one. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ 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: mail server/webmail
On Thu, 2009-04-23 at 13:30 -0500, Adam Vande More wrote: Frederique Rijsdijk wrote: Liontaur wrote: Hi folks, I was searching around but i'm not quite sure what i'm looking for. I want to have a program that gets the mail from my ISP mail server (pop), stores the mail permanently, allows me webmail access, and also lets me grab the mail with a mail client (Outlook Express). I'd like to be able to sync the mail with outlook express also. Like if I send a mail over webmail, that sent mail will also go into the sent box in outlook express, or conversly, perhaps store all the mail on the server and have outlook express just show the folders and contents stored on the server. But i'd have to somehow upload all of the mail currently in my outlook express. I'll also need some kind of spam functionality as I get a sizable amount of spam. Currently I use K9 for spam and I quite like it. I guess you could start to look in the area of: - /usr/ports/mail/fetchmail (to fetch/store the mail) - /usr/ports/mail/dovecot (for access to the mail via imap) - /usr/ports/mail/squirremail or roundcube (webmail w/ imap) - /usr/ports/www/apache22 for the webmail As you're then using IMAP, any client that connects to dovecot will get the same set of mailfolders (sync). -- Frederique I've not used roundcube, but horde imp is a also an IMAP webmail client, and I find to be be a much better client than squirrelmail. _ Take a look at Hastymail too .. (version 2, because the port is still version 1) http://www.hastymail.org/ __ 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 -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Université Libre de Bruxelles (ULB) Campus de la Plaine CP 257 Bâtiment NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entrée ULB 2 B-1050 Bruxelles Mail: jci...@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 ___ 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: mail server/webmail
On Thu, Apr 23, 2009 at 13:49, Jon Radel j...@radel.com wrote: Polytropon wrote: On Thu, 23 Apr 2009 10:39:26 -0700, Liontaur liont...@gmail.com wrote: I'd like to be able to sync the mail with outlook express also. Maybe you can get Redmond to give you the source code of their... erm... stuff, so you can see how to interact with it. :-) At least one person here, and it may well be me, is somewhat confused. Outlook Outlook Express Not even close. And while I personally would not pick Outlook Express as a POP/IMAP client, it is pretty standards based. I would not say that O.E. is standards based at all. MICROS~1 does what they want, standards be damned Outlook talking to an Exchange server is an entirely different matter. At least that was the lay of the land the last time I was forced to pay close attention to Microsoft e-mail clients. -- --Jon Radel j...@radel.com ___ 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: mail server/webmail
On Thu, Apr 23, 2009 at 11:26 AM, Polytropon free...@edvax.de wrote: On Thu, 23 Apr 2009 10:39:26 -0700, Liontaur liont...@gmail.com wrote: I want to have a program that gets the mail from my ISP mail server (pop), stores the mail permanently, This would be a task for fetchmail. It stores the mail in mbox format in /var/mail/$USER, so you can chose any mail program to incorporate them. fetchmail, gotcha. I'll look into that. allows me webmail access, and also lets me grab the mail with a mail client (Outlook Express). Repeat after me: Outlook Express is NOT a mail client. :-) The Outlook Express deal is not for me, that's for another person who needs access to this email account and they happen to be very computer illiterate and being as they're used to OE, i'm not going to bother trying to teach them something new. As for me, I plan on just using webmail to access this email account. or conversly, perhaps store all the mail on the server and have outlook express just show the folders and contents stored on the server. But i'd have to somehow upload all of the mail currently in my outlook express. I'll also need some kind of spam functionality as I get a sizable amount of spam. Currently I use K9 for spam and I quite like it. Under certain circumstances, it looks like a job for an IMAP solution. Note that most of the things you've mentioned are possible with standard UNIX mail applications, because many stuff can be done on a per-file basis. Regarding the part of a web interface, I'm sure there are free webmailers that you can run on your server. If your machine is not a server, your idea with keeping local files and server files in sync is excellent. There are good programs that cope with spam, such as SpamAssassin, or simple filter rules in your preferred mail application. IMAP, gotcha. And yea, the idea is to run this stuff on a FreeBSD server i've got running just for little tasks like this, then the windows workstation can access it with a not-a-real email client and I can access it from wherever from my laptop too. Thanks for any help you can offer folks! Well, I know that my comment isn't much help, but maybe you find a starting point in it, and if it's only to start *not* using Outlook Express, because it solves nothing. :-) Oh your comments are helpful, I don't care what everyone else says ;) ___ 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: mail server/webmail
Frederique Rijsdijk wrote: Liontaur wrote: Hi folks, I was searching around but i'm not quite sure what i'm looking for. I want to have a program that gets the mail from my ISP mail server (pop), stores the mail permanently, allows me webmail access, and also lets me grab the mail with a mail client (Outlook Express). I'd like to be able to sync the mail with outlook express also. Like if I send a mail over webmail, that sent mail will also go into the sent box in outlook express, or conversly, perhaps store all the mail on the server and have outlook express just show the folders and contents stored on the server. But i'd have to somehow upload all of the mail currently in my outlook express. I'll also need some kind of spam functionality as I get a sizable amount of spam. Currently I use K9 for spam and I quite like it. I guess you could start to look in the area of: - /usr/ports/mail/fetchmail (to fetch/store the mail) - /usr/ports/mail/dovecot (for access to the mail via imap) - /usr/ports/mail/squirremail or roundcube (webmail w/ imap) - /usr/ports/www/apache22 for the webmail As you're then using IMAP, any client that connects to dovecot will get the same set of mailfolders (sync). If one is going that far, I'd recommend: http://www.thenetworkpeople.biz/internet/mail/toaster/ I've been using them for many years, for thousands of accounts across hundreds of domains, and it just works. Steve ___ 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: mail question
On Thu, Feb 19, 2009 at 12:26 PM, Valentin Bud valentin@gmail.comwrote: Hello community, I have a special question. If a client sends an email through my server how can i stop the mail for being delivered so i can process the mail and change some things and afterward deliver it. I have postfix + dovecot installed. Some suggestions ... thanks, v Hello again, I guess i have found what i want. Postfix MILTER http://www.postfix.org/MILTER_README.html. So basically i create a filter in C, perl or something, I use it via STMP or non-STMP. That filter makes the necessary changes and afterwards i reinject the mail into postfix. If anybody has the time/chance to verify if I am right please let me know. thanks, v ___ 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: mail question
Valentin Bud wrote: On Thu, Feb 19, 2009 at 12:26 PM, Valentin Bud valentin@gmail.comwrote: Hello community, I have a special question. If a client sends an email through my server how can i stop the mail for being delivered so i can process the mail and change some things and afterward deliver it. I have postfix + dovecot installed. Some suggestions ... thanks, v Hello again, I guess i have found what i want. Postfix MILTER http://www.postfix.org/MILTER_README.html. So basically i create a filter in C, perl or something, I use it via STMP or non-STMP. That filter makes the necessary changes and afterwards i reinject the mail into postfix. If anybody has the time/chance to verify if I am right please let me know. Depending upon your wishes can MimeDefang (http://www.mimedefang.org/) do a lot for you (without you having to code anything). Peter -- http://www.boosten.org ___ 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: mail server
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Karlos Linale Sent: Sunday, November 23, 2008 10:20 AM To: freebsd-questions@freebsd.org Subject: mail server Hello, I was wondering if you could help me. For some reason I keep getting hundreds of emails on my mail server spool which are being sent to your email address. Are you able to tell me how and why this is happening? Google Backscatter Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
Andrew Falanga wrote: ... While diagnosing this, I connect to the server (using Putty) from a machine in PN1, using either a mail client or telnet I'm unable to make a connection to the mail server over port 25. Using tcpdump during this putty session I do not even see the SYN packets for the start of the connection from the machines in PN1. This is only when connecting to port 25. Obviously, I can connect to the server because I'm using ... Are you sure CableOne does not filter outgoing port 25 connection attempts to any servers save it's own relay? My ISP (A big name DSL provider; grep the headers if curious) does not perform incoming port filtering, but rather aggressively filters outbound TCP port 25 and (for reasons unexplained) as well. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
Patrick Mahan wrote: Andrew Falanga presented these words - circa 9/6/08 6:28 PM- Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. Using dig, here's the responses: (from my FBSD machine at home, not the server) [/usr/home/andy] - dig +short -t MX whitneybaptist.org 10 mail.whitneybaptist.org. [/usr/home/andy] - dig +short -t A whitneybaptist.org 72.24.34.252 [/usr/home/andy] - dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. (from the church FBSD machine) [/home/afalanga] - hostname whitbap [/home/afalanga] - ifconfig fxp0 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.2.23 netmask 0xff00 broadcast 255.255.255.255 ether 00:d0:b7:74:87:48 media: Ethernet autoselect (100baseTX full-duplex) status: active [/home/afalanga] - cat /etc/resolv.conf search McCutchanLAN nameserver 192.168.2.1 It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. I've done this before, at work. The question I've got is I've never actually integrated a domain like this to a domain on the Internet. I'm thinking that we'll setup something like: internal.whitneybaptist.org with hosts in that sub-domain. First, what are you trying to accomplish with the internal DNS? Make it easier to resolve machines in the 192.168.2.0 network? Allow lookups external of the 192.168.2.0 network? What machine is 'mail.whitneybaptist.com'? Is it on the 192.168.2.0 network? Is it reachable from the Internet? Who is the owner of whitneybaptist.org DNS zone? I show the following NS servers: [EMAIL PROTECTED]/src/MPS/DocDownload 140 dig +short -t NS whitneybaptist.org ns1.domaindirect.com. ns2.domaindirect.com. ns3.domaindirect.com. Which is administered by tucows.com (Tucows, Inc) a seller of DNS services. So, what would my DNS tables need to look like to make this happen. Also, to any knowledgable souls here, what RFCs address these issues? You can read the RFC's if you want, but you would be better served to purchase DNS and BIND, Fourth Edition, by Paul Albitz Cricket Liu to learn how to administer DNS. Patrick It's been quite some time since I last looked at that book. It was at edition 3 then, and owned by the company I worked for so I didn't get to keep it. I'll have to look into it. Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
George Davidovich wrote: On Sat, Sep 06, 2008 at 07:28:28PM -0600, Andrew Falanga wrote: Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. Using dig, here's the responses: (from my FBSD machine at home, not the server) [/usr/home/andy] - dig +short -t MX whitneybaptist.org 10 mail.whitneybaptist.org. [/usr/home/andy] - dig +short -t A whitneybaptist.org 72.24.34.252 [/usr/home/andy] - dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. (from the church FBSD machine) [/home/afalanga] - hostname whitbap [/home/afalanga] - ifconfig fxp0 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.2.23 netmask 0xff00 broadcast 255.255.255.255 ether 00:d0:b7:74:87:48 media: Ethernet autoselect (100baseTX full-duplex) status: active [/home/afalanga] - cat /etc/resolv.conf search McCutchanLAN nameserver 192.168.2.1 It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. I've done this before, at work. The question I've got is I've never actually integrated a domain like this to a domain on the Internet. I'm thinking that we'll setup something like: internal.whitneybaptist.org with hosts in that sub-domain. So, what would my DNS tables need to look like to make this happen. Also, to any knowledgable souls here, what RFCs address these issues? Hello again, Andy. What you're asking is actually a FAQ, but I'll spell things out anyway. The following excerpt from RFC 1918 is most relevant: If an enterprise uses the private address space, or a mix of private and public address spaces, then DNS clients outside of the enterprise should not see addresses in the private address space used by the enterprise, since these addresses would be ambiguous. One way to ensure this is to run two authority servers for each DNS zone containing both publically and privately addressed hosts. One server would be visible from the public address space and would contain only the subset of the enterprise's addresses which were reachable using public addresses. The other server would be reachable only from the private network and would contain the full set of data, including the private addresses and whatever public addresses are reachable the private network. In order to ensure consistency, both servers should be configured from the same data of which the publically visible zone only contains a filtered version. There is certain degree of additional complexity associated with providing these capabilities. That's a roundabout way of saying you can't mix and match private non-routable addresses with public addresses in the same namespace. Note the authoritative part. Until CableOne delegates your assigned netblock to your organisation, your public DNS server will not be authoritative (it currently isn't!) for 72.24.34.252. You can reference RFC 2317 (classless in-addr.arpa delegation) for how that works. As to why you must be authoritative, I've already pointed out off-list how Bad Things can happen when you're not, especially in regards to email where reverse lookups are integral to How Things Work. I could be wrong, but I think they've done something like this. I administered DNS on an OpenBSD machine (2 of them actually) back in 2000-2001. Since then, I've done nothing with DNS administration. I'm wondering what I need to get from CableOne to get this done. Here's the result of a dig, on that mail server, for the IP address 72.24.34.252: [/home/afalanga] - dig -x 72.24.34.252 ; DiG 9.3.3 -x 72.24.34.252 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 19747 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;252.34.24.72.in-addr.arpa. IN PTR ;; ANSWER SECTION: 252.34.24.72.in-addr.arpa. 86333 IN PTR 34-252.72-24-cpe.cableone.net. ;; AUTHORITY SECTION: 24.72.in-addr.arpa. 75566 IN NS NS1.cableone.net. 24.72.in-addr.arpa. 75566 IN NS NS2.cableone.net. ;; ADDITIONAL SECTION: NS1.cableone.net. 3507IN A 24.116.0.201 NS2.cableone.net. 69544 IN A
Re: mail server DNS configuration questions
Sahil Tandon wrote: Andrew Falanga [EMAIL PROTECTED] wrote: It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. What exactly is the problem though? What problems are you having on the mail server that lead you to the above conclusion? Clients in the churches private network cannot send mail using this server, though they can receive mail from it (POP). The church has a private network, PN1, and the mail server sits at a church members house because he has a static IP address; let's call that PN2. The router at his house is setup to forward traffic over port 25, and the POP port, to this server. Also, just to further clarify, the Internet separates these two Private Networks. However, this may not be entirely true as I think about it because at both locations, the ISP is CableOne using cable broadband. So, though technically part of the Internet, the traffic shouldn't leave the CableOne domain. Also, of interest, is that another of our pastors uses CableOne at home and is unable to send e-mail using the churches server from home. However, from a coffee shop in town, that our pastors frequent, they are able to send mail. It is my understanding that this coffee shop does not use CableOne. So, just to make sure everyone's got it, the mail server sits in PN2. While diagnosing this, I connect to the server (using Putty) from a machine in PN1, using either a mail client or telnet I'm unable to make a connection to the mail server over port 25. Using tcpdump during this putty session I do not even see the SYN packets for the start of the connection from the machines in PN1. This is only when connecting to port 25. Obviously, I can connect to the server because I'm using putty. Also, I can see the SYN packets for the start of the connection when this same machine in PN1 attempts to connect to port 80. The problem seems to be when trying to connect over port 25. For some reason, the packets aren't being delivered to that address (72.24.34.252). This happens if I try to telnet to mail.whitneybaptist.org or telnet to 72.24.34.252 on port 25. The packets aren't being delivered. They're being sent somewhere else, or lost in digital purgatory. Now, from home (my home) let's call this PN3, I can send/receive mail using the church e-mail server. I, however, don't use CableOne. Are there routers that route traffic based on port number? It's almost as if traffic, that originates within the CableOne domain and travels through, but not outside, the CableOne domain, doesn't get routed to the correct address when it's destined for port 25. Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
Andrew Falanga wrote: Clients in the churches private network cannot send mail using this server, though they can receive mail from it (POP). The church has a private network, PN1, and the mail server sits at a church members house because he has a static IP address; let's call that PN2. The router at his house is setup to forward traffic over port 25, and the POP port, to this server. Also, just to further clarify, the Internet separates these two Private Networks. However, this may not be entirely true as I think about it because at both locations, the ISP is CableOne using cable broadband. So, though technically part of the Internet, the traffic shouldn't leave the CableOne domain. Also, of interest, is that another of our pastors uses CableOne at home and is unable to send e-mail using the churches server from home. However, from a coffee shop in town, that our pastors frequent, they are able to send mail. It is my understanding that this coffee shop does not use CableOne. So, just to make sure everyone's got it, the mail server sits in PN2. While diagnosing this, I connect to the server (using Putty) from a machine in PN1, using either a mail client or telnet I'm unable to make a connection to the mail server over port 25. Using tcpdump during this putty session I do not even see the SYN packets for the start of the connection from the machines in PN1. This is only when connecting to port 25. Obviously, I can connect to the server because I'm using putty. Also, I can see the SYN packets for the start of the connection when this same machine in PN1 attempts to connect to port 80. The problem seems to be when trying to connect over port 25. For some reason, the packets aren't being delivered to that address (72.24.34.252). This happens if I try to telnet to mail.whitneybaptist.org or telnet to 72.24.34.252 on port 25. The packets aren't being delivered. They're being sent somewhere else, or lost in digital purgatory. Now, from home (my home) let's call this PN3, I can send/receive mail using the church e-mail server. I, however, don't use CableOne. Are there routers that route traffic based on port number? It's almost as if traffic, that originates within the CableOne domain and travels through, but not outside, the CableOne domain, doesn't get routed to the correct address when it's destined for port 25. So a common thread is that traffic on the ISP's net isn't going out via yourserver.com:25 --- would seem to indicate port blocking, which is quite common for port 25. Tried 587 or some weird alternate? Kevin Kinsey -- If the odds are a million to one against something occurring, chances are 50-50 it will. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
Andrew Falanga presented these words - circa 9/6/08 6:28 PM- Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. Using dig, here's the responses: (from my FBSD machine at home, not the server) [/usr/home/andy] - dig +short -t MX whitneybaptist.org 10 mail.whitneybaptist.org. [/usr/home/andy] - dig +short -t A whitneybaptist.org 72.24.34.252 [/usr/home/andy] - dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. (from the church FBSD machine) [/home/afalanga] - hostname whitbap [/home/afalanga] - ifconfig fxp0 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.2.23 netmask 0xff00 broadcast 255.255.255.255 ether 00:d0:b7:74:87:48 media: Ethernet autoselect (100baseTX full-duplex) status: active [/home/afalanga] - cat /etc/resolv.conf search McCutchanLAN nameserver 192.168.2.1 It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. I've done this before, at work. The question I've got is I've never actually integrated a domain like this to a domain on the Internet. I'm thinking that we'll setup something like: internal.whitneybaptist.org with hosts in that sub-domain. First, what are you trying to accomplish with the internal DNS? Make it easier to resolve machines in the 192.168.2.0 network? Allow lookups external of the 192.168.2.0 network? What machine is 'mail.whitneybaptist.com'? Is it on the 192.168.2.0 network? Is it reachable from the Internet? Who is the owner of whitneybaptist.org DNS zone? I show the following NS servers: [EMAIL PROTECTED]/src/MPS/DocDownload 140 dig +short -t NS whitneybaptist.org ns1.domaindirect.com. ns2.domaindirect.com. ns3.domaindirect.com. Which is administered by tucows.com (Tucows, Inc) a seller of DNS services. So, what would my DNS tables need to look like to make this happen. Also, to any knowledgable souls here, what RFCs address these issues? You can read the RFC's if you want, but you would be better served to purchase DNS and BIND, Fourth Edition, by Paul Albitz Cricket Liu to learn how to administer DNS. Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
On Sat, 6 Sep 2008 19:28:28 -0600 Andrew Falanga [EMAIL PROTECTED] wrote: Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. ... It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. This has little to do with DNS, and there's nothing obviously wrong. The router has the routable IP address and is forwarding incoming port 25 tcp connections to the real mail server using NAT. As far as the internet side is concerned your entire network has to look like a single server, so the mailserver has to pretend to be running on the router, and announce itself as mail.whitneybaptist.org. You'll probably need to pass your outgoing mail through another mail server to avoid its being rejected though. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
Andrew Falanga wrote: *Not having* a reverse entry for a mail server is often the cause of issues. This I do know very well. I had similar problems when running a sendmail backup spooler for Syracuse Networks back in 2000. The eventual solution was that our ISP delegated control of our subnet to us. I'm wondering if something similar must be done on the internal network, i.e. 192.168.2.0/24. Perhaps I shouldn't have eluded to the problems that my clients are experiencing. The real question is, should I configure a sub-domain under whitneybaptist.org for this server and if so, how to set it up? I'm interested as to why you got this answer to the host query you did. In my original mail, I provided the result of a reverse lookup on that IP address to which I got this response: [/usr/home/andy] - dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. Using host, on my machine, I get this response: [/usr/home/andy] - host 72.24.34.252 252.34.24.72.in-addr.arpa domain name pointer 34-252.72-24-cpe.cableone.net. Well, interestingly enough: [30] Sun 07.Sep.2008 DING! [EMAIL PROTECTED]/logs] host 72.24.34.252 252.34.24.72.in-addr.arpa domain name pointer 34-252.72-24-cpe.cableone.net. So something's changed in the last 12 hours, although I can't say exactly what. AFAIK, my DNS boxen and I were communicating Just Fine(tm) last night as well as this afternoon. Regardless of the fact that I got a response and you didn't, I'm still not getting the right information. The reverse mapping should be something like: 252.34.24.72.in-addr.arpa PTR mail.whitneybaptist.org. I may have gotten the syntax wrong as it's been a while since I've had to manipulate BIND name tables. And the RFC for ESMTP is #2821. Thanks for the RFC. Andy Well, at this point, I'd take the day off, and tomorrow perhaps have a dig at cableone's support ppl, looky here: [35] Sun 07.Sep.2008 14:03:43 [EMAIL PROTECTED]/logs] dig 72.24.34.1 ; DiG 9.4.2-P1 72.24.34.1 ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 56668 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;72.24.34.1.IN A ;; AUTHORITY SECTION: . 3600IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2008090700 1800 900 604800 86400 ;; Query time: 222 msec ;; SERVER: 66.76.92.18#53(66.76.92.18) ;; WHEN: Sun Sep 7 14:03:50 2008 ;; MSG SIZE rcvd: 103 So, it's obvious they're playing with this zone Right Now(tm), (more or less) as the SN seems to indicate today. Possible this is auto-generated or something, but I think you'll get no joy on the PTR records until they do something upstream. As for your internal net, I don't know much about it, unfortunately. KDK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
Andrew Falanga wrote: Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. Using dig, here's the responses: (from my FBSD machine at home, not the server) [/usr/home/andy] - dig +short -t MX whitneybaptist.org 10 mail.whitneybaptist.org. [/usr/home/andy] - dig +short -t A whitneybaptist.org 72.24.34.252 [/usr/home/andy] - dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. (from the church FBSD machine) [/home/afalanga] - hostname whitbap [/home/afalanga] - ifconfig fxp0 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.2.23 netmask 0xff00 broadcast 255.255.255.255 ether 00:d0:b7:74:87:48 media: Ethernet autoselect (100baseTX full-duplex) status: active [/home/afalanga] - cat /etc/resolv.conf search McCutchanLAN nameserver 192.168.2.1 It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. I've done this before, at work. The question I've got is I've never actually integrated a domain like this to a domain on the Internet. I'm thinking that we'll setup something like: internal.whitneybaptist.org with hosts in that sub-domain. So, what would my DNS tables need to look like to make this happen. Also, to any knowledgable souls here, what RFCs address these issues? Thanks, Andy Andy, I'm not sure I'm DNS guru enough to answer all your questions, but --- you don't specify what problems are being experienced at the location, and, are you certain it's not about this? [25] Sat 06.Sep.2008 21:58:25 [EMAIL PROTECTED]/logs] host 72.24.34.252 Host 252.34.24.72.in-addr.arpa. not found: 3(NXDOMAIN) *Not having* a reverse entry for a mail server is often the cause of issues. And the RFC for ESMTP is #2821. HTH, Kevin Kinsey -- In Denver it is unlawful to lend your vacuum cleaner to your next-door neighbor. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server DNS configuration questions
Andrew Falanga [EMAIL PROTECTED] wrote: It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. What exactly is the problem though? What problems are you having on the mail server that lead you to the above conclusion? -- Sahil Tandon [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: mail server DNS configuration questions
--On September 6, 2008 7:28:28 PM -0600 Andrew Falanga [EMAIL PROTECTED] wrote: Hi, Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. Using dig, here's the responses: The 192.168.0.0/24 network is an IANA reserved network and **does not route** on the internet. You can send mail but you'll never be able to receive any. In order for you to receive email to that server, whatever device you've got in front of it (dsl router, for example) must be configured to hard code port 25 to your mail server so that all incoming mail to the public IP (72.24.23.252) will always go to the 192.168.2.23 address, which is the actual address of the mail server. Some mail servers will not receive mail if the IP of the mail server doesn't reverse. Yours does, so that shouldn't be a problem, *however* if they also try to talk to your mail server to verify that it's actually a mail server that will fail if you don't have port 25 hard coded. You don't say what the issues that you're having are, so that's my best guess about what's wrong. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ** WARNING: Check the headers before replying
Re: mail server DNS configuration questions
On Sat, Sep 06, 2008 at 07:28:28PM -0600, Andrew Falanga wrote: Well, my clients at church are still having issues and after working with George, a respondant to my original questions, I think that most, if not all, of my problems are related to DNS and how we've got it improperly configured. First, a crude drawing of how our mail server exists in the world: 192.168.2.x/24 72.24.23.252 lot's of networks Private Network -- CableOne -- Internet Now, our mail server's IP is 192.168.2.23. On the router, he (the person at whose house the mail server is) has IP forwarding setup so that mail get's sent to our FreeBSD machine. Using dig, here's the responses: (from my FBSD machine at home, not the server) [/usr/home/andy] - dig +short -t MX whitneybaptist.org 10 mail.whitneybaptist.org. [/usr/home/andy] - dig +short -t A whitneybaptist.org 72.24.34.252 [/usr/home/andy] - dig +short -x 72.24.34.252 34-252.72-24-cpe.cableone.net. (from the church FBSD machine) [/home/afalanga] - hostname whitbap [/home/afalanga] - ifconfig fxp0 fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.2.23 netmask 0xff00 broadcast 255.255.255.255 ether 00:d0:b7:74:87:48 media: Ethernet autoselect (100baseTX full-duplex) status: active [/home/afalanga] - cat /etc/resolv.conf search McCutchanLAN nameserver 192.168.2.1 It doesn't take a rocket scientist, or a computer scientist, to figure out we've got DNS issues. I'm thinking that I should setup a domain within the 192.168.2.0/24 network on this box. I've done this before, at work. The question I've got is I've never actually integrated a domain like this to a domain on the Internet. I'm thinking that we'll setup something like: internal.whitneybaptist.org with hosts in that sub-domain. So, what would my DNS tables need to look like to make this happen. Also, to any knowledgable souls here, what RFCs address these issues? Hello again, Andy. What you're asking is actually a FAQ, but I'll spell things out anyway. The following excerpt from RFC 1918 is most relevant: If an enterprise uses the private address space, or a mix of private and public address spaces, then DNS clients outside of the enterprise should not see addresses in the private address space used by the enterprise, since these addresses would be ambiguous. One way to ensure this is to run two authority servers for each DNS zone containing both publically and privately addressed hosts. One server would be visible from the public address space and would contain only the subset of the enterprise's addresses which were reachable using public addresses. The other server would be reachable only from the private network and would contain the full set of data, including the private addresses and whatever public addresses are reachable the private network. In order to ensure consistency, both servers should be configured from the same data of which the publically visible zone only contains a filtered version. There is certain degree of additional complexity associated with providing these capabilities. That's a roundabout way of saying you can't mix and match private non-routable addresses with public addresses in the same namespace. Note the authoritative part. Until CableOne delegates your assigned netblock to your organisation, your public DNS server will not be authoritative (it currently isn't!) for 72.24.34.252. You can reference RFC 2317 (classless in-addr.arpa delegation) for how that works. As to why you must be authoritative, I've already pointed out off-list how Bad Things can happen when you're not, especially in regards to email where reverse lookups are integral to How Things Work. As for other RFCs, I'd suggest instead starting with a careful reading of the Bind ARM at http://www.isc.org/sw/bind/, followed by a once-over of the Bind FAQ, and possibly the FreeBSD-supplied configuration files. To save you some time, the following abbreviated context-specific examples should explain things more clearly and get you started: Example 1: Two domains and two separate (sets of) name servers: On the ns.whitneybaptist.org machine: zone whitneybaptist.org { type master; file master/whitneybaptist.org; }; zone 252.34.24.72.in-addr.arpa { type master; file master/db.72.24.34.252; }; On the ns.internal.whitneybaptist.org machine: zone internal.whitneybaptist.org { type master; file master/internal.whitneybaptist.org; }; zone 1.168.192.in-addr.arpa
Re: Mail Heading to dead.letter
At 10:08 PM 7/30/2008, Andy Christianson wrote: At 05:45 PM 7/30/2008, Andy Christianson wrote: Check perms on /var/mail that it is set to 775 -Derek /var/mail is at 775, so that's not it... [EMAIL PROTECTED] ~]$ stat /var/mail 89 47105 drwxrwxr-x 2 root mail 188185 512 Jul 30 03:01:51 2008 Jul 30 16:35:18 2008 Jul 30 16:35:18 2008 Feb 24 12:49:40 2008 4096 4 0 /var/mail I would kick up the logging on sendmail to see better what is going on and where the failure really is. You can add: -O LogLevel=80 To your sendmail options in /etc/rc.conf Since root can send mail but regular users cannot, it sounds like a permission problem somewhere. -Derek It turns out that FreeBSD wasn't happy with its host name. I changed it to a host name that resolves properly, and sendmail began to work as expected. Thanks for looking at this. -Andy Andy, Sendmail is VERY dns dependent as you found out. Glad all is working fine. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Heading to dead.letter
Sendmail is running DNS is working. See the following output: [EMAIL PROTECTED] /home/andy]# /etc/rc.d/sendmail status sendmail_submit is running as pid 71703. sendmail_clientmqueue is running as pid 675. [EMAIL PROTECTED] /home/andy]# ping gmail.com PING gmail.com (64.233.161.83): 56 data bytes 64 bytes from 64.233.161.83: icmp_seq=0 ttl=239 time=19.943 ms 64 bytes from 64.233.161.83: icmp_seq=1 ttl=239 time=22.096 ms 64 bytes from 64.233.161.83: icmp_seq=2 ttl=239 time=22.568 ms 64 bytes from 64.233.161.83: icmp_seq=3 ttl=239 time=19.368 ms ^C --- gmail.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 19.368/20.994/22.568/1.364 ms [EMAIL PROTECTED] /home/andy]# mail [EMAIL PROTECTED] Subject: Test This is a test!! EOT [EMAIL PROTECTED] /home/andy]# exit exit [EMAIL PROTECTED] ~]$ mail [EMAIL PROTECTED] Subject: Another test!! Test sent from a normal user EOT [EMAIL PROTECTED] ~]$ /home/andy/dead.letter... Saved message in /home/andy/dead.letter On Wed, Jul 30, 2008 at 3:32 AM, Ruben de Groot [EMAIL PROTECTED] wrote: Check if sendmail is running and your DNS is working. regards, Ruben On Tue, Jul 29, 2008 at 09:26:50PM -0400, Andy Christianson typed: Whenever I send any email from my normal user account, it goes straight to dead.letter, even if I attempt to mail a local user. When I try to send mail as root, it simply does not send. I have a very basic, updated FreeBSD 7.0 installation. Mail has not worked since I installed 7.0 about 42 days ago. I am able to ping internet addresses as well as well as resolve domain names. At the very least, can someone point me in the correct direction to start debugging this? I have read relevant sections in the FreeBSD handbook as well as sendmail manpages, etc. Thanks in advance for any help! -Andy ___ 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: Mail Heading to dead.letter
At 07:52 AM 7/30/2008, Andy Christianson wrote: Sendmail is running DNS is working. See the following output: [EMAIL PROTECTED] /home/andy]# /etc/rc.d/sendmail status sendmail_submit is running as pid 71703. sendmail_clientmqueue is running as pid 675. [EMAIL PROTECTED] /home/andy]# ping gmail.com PING gmail.com (64.233.161.83): 56 data bytes 64 bytes from 64.233.161.83: icmp_seq=0 ttl=239 time=19.943 ms 64 bytes from 64.233.161.83: icmp_seq=1 ttl=239 time=22.096 ms 64 bytes from 64.233.161.83: icmp_seq=2 ttl=239 time=22.568 ms 64 bytes from 64.233.161.83: icmp_seq=3 ttl=239 time=19.368 ms ^C --- gmail.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 19.368/20.994/22.568/1.364 ms [EMAIL PROTECTED] /home/andy]# mail [EMAIL PROTECTED] Subject: Test This is a test!! EOT [EMAIL PROTECTED] /home/andy]# exit exit [EMAIL PROTECTED] ~]$ mail [EMAIL PROTECTED] Subject: Another test!! Test sent from a normal user EOT [EMAIL PROTECTED] ~]$ /home/andy/dead.letter... Saved message in /home/andy/dead.letter Check perms on /var/mail that it is set to 775 -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Heading to dead.letter
Check perms on /var/mail that it is set to 775 -Derek /var/mail is at 775, so that's not it... [EMAIL PROTECTED] ~]$ stat /var/mail 89 47105 drwxrwxr-x 2 root mail 188185 512 Jul 30 03:01:51 2008 Jul 30 16:35:18 2008 Jul 30 16:35:18 2008 Feb 24 12:49:40 2008 4096 4 0 /var/mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Heading to dead.letter
At 05:45 PM 7/30/2008, Andy Christianson wrote: Check perms on /var/mail that it is set to 775 -Derek /var/mail is at 775, so that's not it... [EMAIL PROTECTED] ~]$ stat /var/mail 89 47105 drwxrwxr-x 2 root mail 188185 512 Jul 30 03:01:51 2008 Jul 30 16:35:18 2008 Jul 30 16:35:18 2008 Feb 24 12:49:40 2008 4096 4 0 /var/mail I would kick up the logging on sendmail to see better what is going on and where the failure really is. You can add: -O LogLevel=80 To your sendmail options in /etc/rc.conf Since root can send mail but regular users cannot, it sounds like a permission problem somewhere. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Heading to dead.letter
At 05:45 PM 7/30/2008, Andy Christianson wrote: Check perms on /var/mail that it is set to 775 -Derek /var/mail is at 775, so that's not it... [EMAIL PROTECTED] ~]$ stat /var/mail 89 47105 drwxrwxr-x 2 root mail 188185 512 Jul 30 03:01:51 2008 Jul 30 16:35:18 2008 Jul 30 16:35:18 2008 Feb 24 12:49:40 2008 4096 4 0 /var/mail I would kick up the logging on sendmail to see better what is going on and where the failure really is. You can add: -O LogLevel=80 To your sendmail options in /etc/rc.conf Since root can send mail but regular users cannot, it sounds like a permission problem somewhere. -Derek It turns out that FreeBSD wasn't happy with its host name. I changed it to a host name that resolves properly, and sendmail began to work as expected. Thanks for looking at this. -Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not work
On Fri, 11 Jul 2008 10:00 am, EdwardKing wrote: I use mailx command,such as Tom to Kate,I like following command: $mail Kate Subject:Hello Hello world (press Ctrl+D) EOT Then I use user Kate to login,and check mail, $mail No mail for Kate Why I can't receive letter? where is wrong? Perhaps something to do with using uppercase in login names: From adduser(8) man page: username Login name. The user name is restricted to whatever pw(8) will accept. Generally this means it may contain only lowercase char- acters or digits but cannot begin with the `-' character. Maxi- mum length is 16 characters. The reasons for this limit are his- torical. Given that people have traditionally wanted to break this limit for aesthetic reasons, it has never been of great importance to break such a basic fundamental parameter in UNIX. You can change UT_NAMESIZE in utmp.h and recompile the world; people have done this and it works, but you will have problems with any precompiled programs, or source that assumes the 8-char- acter name limit, such as NIS. The NIS protocol mandates an 8-character username. If you need a longer login name for e-mail addresses, you can define an alias in /etc/mail/aliases. Malcolm Kay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not work
On Sun, 13 Jul 2008 02:34 am, Malcolm Kay wrote: On Fri, 11 Jul 2008 10:00 am, EdwardKing wrote: I use mailx command,such as Tom to Kate,I like following command: $mail Kate Subject:Hello Hello world (press Ctrl+D) EOT Then I use user Kate to login,and check mail, $mail No mail for Kate Why I can't receive letter? where is wrong? Perhaps something to do with using uppercase in login names: From adduser(8) man page: username Login name. The user name is restricted to whatever pw(8) will accept. Generally this means it may contain only lowercase char- acters or digits but cannot begin with the `-' character. Maxi- mum length is 16 characters. The reasons for this limit are his- torical. Given that people have traditionally wanted to break this limit for aesthetic reasons, it has never been of great importance to break such a basic fundamental parameter in UNIX. You can change UT_NAMESIZE in utmp.h and recompile the world; people have done this and it works, but you will have problems with any precompiled programs, or source that assumes the 8-char- acter name limit, such as NIS. The NIS protocol mandates an 8-character username. If you need a longer login name for e-mail addresses, you can define an alias in /etc/mail/aliases. Addendum: Names in To: addresses can generally be in any case and still be received by the user with the corresponding lowercase login name. For example mail sent to 'MALCOLM' on my machine it ends up in my mail box with login name 'malcolm'. So somewhere (sendmail?) the name is translated to all lowercase. I expect that sendmail is trying to deliver your mail to some undefined user named 'kate' -- not to 'Kate'. Malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not work
* Did you do anything to enable Sendmail (the default mail transfer agent)? It's enabled by default on localhost. How to make FreeBSD mail to work? - Original Message - From: Giorgos Keramidas [EMAIL PROTECTED] To: EdwardKing [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Friday, July 11, 2008 9:06 AM Subject: Re: mail not work On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing [EMAIL PROTECTED] wrote: I use mailx command,such as Tom to Kate,I like following command: $mail Kate Subject:Hello Hello world (press Ctrl+D) EOT Then I use user Kate to login,and check mail, $mail No mail for Kate Why I can't receive letter? where is wrong? mailx depends on a correctly configured `mail transfer agent', and it expects the *login* name of a user, not their real name. * Do you have a local user whose login name is `Kate'? * Did you do anything to enable Sendmail (the default mail transfer agent)? * What does the `/var/log/maillog' file contain? -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not work
On Fri, 11 Jul 2008 17:21:35 +0800 EdwardKing [EMAIL PROTECTED] wrote: * Did you do anything to enable Sendmail (the default mail transfer agent)? It's enabled by default on localhost. How to make FreeBSD mail to work? From: Giorgos Keramidas [EMAIL PROTECTED] On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing [EMAIL PROTECTED] wrote: I use mailx command,such as Tom to Kate,I like following command: $mail Kate Subject:Hello Hello world (press Ctrl+D) EOT Then I use user Kate to login,and check mail, $mail No mail for Kate Why I can't receive letter? where is wrong? mailx depends on a correctly configured `mail transfer agent', and it expects the *login* name of a user, not their real name. * Do you have a local user whose login name is `Kate'? * Did you do anything to enable Sendmail (the default mail transfer agent)? * What does the `/var/log/maillog' file contain? Please don't top post. If you don't know what that means, Google for it. Regarding your 'sendmail' problem, might I suggest that you start by reading the material available at the following URLs. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail.html http://www.technoids.org/freebsdsendmailfaqs.html http://www.freebsd.org/doc/en/books/handbook/sendmail.html There is a wealth of information available on this subject. Try reading and then posting if there is something that you do not fully understand. -- Gerard [EMAIL PROTECTED] Common sense and a sense of humor are the same thing, moving at different speeds. A sense of humor is just common sense, dancing. Clive James signature.asc Description: PGP signature
Re: mail not work
On Fri, 11 Jul 2008 11:19:19 +0800, EdwardKing [EMAIL PROTECTED] wrote: * Do you have a local user whose login name is `Kate'? I have a local user whose login name is `Kate' * Did you do anything to enable Sendmail (the default mail transfer agent)? How to enable Sendmail? * What does the `/var/log/maillog' file contain? I have maillog,its contains is follows, how to make mail work? Are you really using 'example.com' as your domain name? The following messages seem to imply that you are. Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: from=Tom, size=86, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: from=[EMAIL PROTECTED], size=414, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=30414, dsn=4.4.3, stat=queued Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: to=Kate, ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30086, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69E98rr001315 Message accepted for delivery) If that is the case, then you will have to switch domain names, because `example.com' is already registered, and you don't own it. My usual suggestion is to prefer something that doesn't stand a great chance of being a valid, registered domain name, i.e.: domain = keramida.priv The answer to your question ``how to make mail work?'' should be in the Handbook. If it isn't, you will have to show us all the options related to `sendmail_xxx' variables from your `/etc/rc.conf' file, and some files from the `/etc/mail' directory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not work
On Fri, 11 Jul 2008 08:30:18 +0800, EdwardKing [EMAIL PROTECTED] wrote: I use mailx command,such as Tom to Kate,I like following command: $mail Kate Subject:Hello Hello world (press Ctrl+D) EOT Then I use user Kate to login,and check mail, $mail No mail for Kate Why I can't receive letter? where is wrong? mailx depends on a correctly configured `mail transfer agent', and it expects the *login* name of a user, not their real name. * Do you have a local user whose login name is `Kate'? * Did you do anything to enable Sendmail (the default mail transfer agent)? * What does the `/var/log/maillog' file contain? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not work
On Fri, 11 Jul 2008 04:06:01 +0300 Giorgos Keramidas [EMAIL PROTECTED] wrote: * Did you do anything to enable Sendmail (the default mail transfer agent)? It's enabled by default on localhost. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail not work
* Do you have a local user whose login name is `Kate'? I have a local user whose login name is `Kate' * Did you do anything to enable Sendmail (the default mail transfer agent)? How to enable Sendmail? * What does the `/var/log/maillog' file contain? I have maillog,its contains is follows, how to make mail work? Jul 9 17:45:58 k6-2 newsyslog[585]: logfile first created Jul 9 17:46:02 k6-2 sm-mta[760]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 17:46:02 k6-2 sm-msp-queue[764]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 18:16:31 k6-2 sm-mta[761]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 18:16:31 k6-2 sm-msp-queue[765]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 19:20:05 k6-2 sm-mta[761]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 19:20:05 k6-2 sm-msp-queue[765]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: from=Tom, size=86, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: from=[EMAIL PROTECTED], size=414, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:09:08 k6-2 sm-mta[1315]: m69E98rr001315: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=30414, dsn=4.4.3, stat=queued Jul 9 22:09:08 k6-2 sendmail[1314]: m69E98gv001314: to=Kate, ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30086, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69E98rr001315 Message accepted for delivery) Jul 9 22:17:17 k6-2 sendmail[1351]: m69EHHKv001351: from=Tom, size=25, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:17:17 k6-2 sm-mta[1352]: m69EHHJs001352: from=[EMAIL PROTECTED], size=353, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:17:17 k6-2 sm-mta[1352]: m69EHHJs001352: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=30353, dsn=4.4.3, stat=queued Jul 9 22:17:17 k6-2 sendmail[1351]: m69EHHKv001351: to=Kate, ctladdr=Tom (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30025, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69EHHJs001352 Message accepted for delivery) Jul 9 22:22:48 k6-2 sendmail[1381]: m69EMmKR001381: from=Kate, size=29, class=0, nrcpts=2, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: from=[EMAIL PROTECTED], size=368, class=0, nrcpts=2, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=60368, dsn=4.4.3, stat=queued Jul 9 22:22:48 k6-2 sm-mta[1382]: m69EMmsR001382: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=60368, dsn=4.4.3, stat=queued Jul 9 22:22:48 k6-2 sendmail[1381]: m69EMmKR001381: to=Tom,for, ctladdr=Kate (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60029, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m69EMmsR001382 Message accepted for delivery) Jul 9 22:54:32 k6-2 sendmail[1476]: m69EsW8m001476: from=Tom, size=42, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], [EMAIL PROTECTED] Jul 9 22:54:32 k6-2 sendmail[1476]: m69EsW8m001476: [EMAIL PROTECTED], delay=00:00:00, mailer=esmtp, pri=30042, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[778]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 10 18:53:18 k6-2 sm-mta[780]: m69EMmsR001382: m6AArIqi000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqi000780: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=31604, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[780]: m69EHHJs001352: m6AArIqj000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqj000780: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=31641, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-mta[780]: m69E98rr001315: m6AArIqk000780: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[780]: m6AArIqk000780: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=31702, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-msp-queue[784]: starting daemon (8.14.2): [EMAIL PROTECTED]:30:00 Jul 10 18:53:18 k6-2 sm-msp-queue[786]: m69EsW8m001476: m6AArIvV000786: sender notify: Warning: could not send message for past 4 hours Jul 10 18:53:18 k6-2 sm-mta[790]: m6AArImM000790: from=, size=2017, class=0, nrcpts=1, msgid=[EMAIL PROTECTED], proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1] Jul 10 18:53:18 k6-2 sm-mta[790]: m6AArImM000790: to=[EMAIL PROTECTED], delay=00:00:00, mailer=local, pri=32017, dsn=4.4.3, stat=queued Jul 10 18:53:18 k6-2 sm-msp-queue[786]: m6AArIvV000786: to=Tom, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31410,
Re: Mail Spool Problems / IMAP
On Mon, Apr 07, 2008 at 05:49:16PM -0700, Chris Maness wrote: Hi, Chris-- On Apr 7, 2008, at 8:52 AM, Chris Maness wrote: I am having trouble with my imap account on my FreeBSD box. I am using WU-IMAP, and thuderbird. I have been using this combo for years, and not had any issues. Now, my thuderbird is not displaying messages in the inbox. I can see them with pine, but not with IMAP clients. (squirrelmail, thunderbird). Pine complains about sequence error when I send a message. I was able to get it to work for a bit by deleteing the mbox file in my home directory, but now it is not working again. IS there a database or something somewhere that needs to be rebult? Can you double-check your mbox file? With the most recent 2007 version of UW-IMAP, I've seen intermittent corruption of the first line of a mbox file (ie, the From foo header) which causes the mbox to be unreadable by most clients until it is fixed by hand. It seems to be correlated with simultaneous write access by people who have a normal MUA and a second device like a smartphone (iPhone/Treo/BB). I've seen just over a half-dozen of these since Jan... -- -Vhuvk Thanks, How do I check it? Should I use another IMAP server? The best way is to look at the file with an editor such as vi. jerry Chris Maness ___ 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: Mail Spool Problems / IMAP
On Tue, 8 Apr 2008, Jerry McAllister wrote: On Mon, Apr 07, 2008 at 05:49:16PM -0700, Chris Maness wrote: Hi, Chris-- On Apr 7, 2008, at 8:52 AM, Chris Maness wrote: I am having trouble with my imap account on my FreeBSD box. I am using WU-IMAP, and thuderbird. I have been using this combo for years, and not had any issues. Now, my thuderbird is not displaying messages in the inbox. I can see them with pine, but not with IMAP clients. (squirrelmail, thunderbird). Pine complains about sequence error when I send a message. I was able to get it to work for a bit by deleteing the mbox file in my home directory, but now it is not working again. IS there a database or something somewhere that needs to be rebult? Can you double-check your mbox file? With the most recent 2007 version of UW-IMAP, I've seen intermittent corruption of the first line of a mbox file (ie, the From foo header) which causes the mbox to be unreadable by most clients until it is fixed by hand. It seems to be correlated with simultaneous write access by people who have a normal MUA and a second device like a smartphone (iPhone/Treo/BB). I've seen just over a half-dozen of these since Jan... -- -Vhuvk Thanks, How do I check it? Should I use another IMAP server? The best way is to look at the file with an editor such as vi. jerry How is this header look? I am not quite sure of what I am looking for. From MAILER-DAEMON Tue Apr 8 10:49:02 2008 Date: 08 Apr 2008 10:49:02 -0700 From: Mail System Internal Data [EMAIL PROTECTED] Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA Message-ID: [EMAIL PROTECTED] X-IMAP: 1207676934 4064487180 NonJunk $Forwarded Junk Status: RO This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. If deleted, important folder data will be lost, and it will be re-created with the data reset to initial values. From [EMAIL PROTECTED] Sat Apr 5 12:04:18 2008 Return-Path: [EMAIL PROTECTED] Received: from atlanta.eham.net (atlanta.eham.net [69.36.242.135]) by ns1.kq6up.org (8.14.2/8.14.2) with ESMTP id m35J41m2056801 for [EMAIL PROTECTED]; Sat, 5 Apr 2008 12:04:18 -0700 (PDT) (envelope-from [EMAIL PROTECTED]) Received: by atlanta.eham.net (Postfix, from userid 502) id 1870EEF401D; Sat, 5 Apr 2008 12:03:59 -0700 (PDT) To: [EMAIL PROTECTED] Subject: [TowerTalk] Antennas and Photons? Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
On Apr 8, 2008, at 10:50 AM, Chris Maness wrote: How is this header look? I am not quite sure of what I am looking for. That seems to be fine. If it was corrupted, you'd see a line or a few lines of obvious binary garbage... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
On Tue, 8 Apr 2008, Chuck Swiger wrote: On Apr 8, 2008, at 11:42 AM, Chris Maness wrote: It does seem like something something is corrupt. What can I do to reset everything and restore everything so that thunderbird can read my inbox again. I have contempalted deleting the user, but I'm not sure if that will delete what ever is corrupted. Try to delete the account in T'bird, quit, and then re-add the account. Also check /var/log/maillog...imapd should be reporting errors if it sees anything wrong... -- -Chuck I tried doing that, but I still have the same errors. Also, squirrelmail will list the e-mail, but when I click on the e-mail, I get the message: ERROR: The server couldn't find the message you requested. Most probably your message list was out of date and the message has been moved away or deleted (perhaps by another program accessing the same mailbox). Click here to return to INBOX Also, I see no messages from imapd in the message log. The grep command pulls nothing. THanks, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
On Apr 8, 2008, at 11:42 AM, Chris Maness wrote: It does seem like something something is corrupt. What can I do to reset everything and restore everything so that thunderbird can read my inbox again. I have contempalted deleting the user, but I'm not sure if that will delete what ever is corrupted. Try to delete the account in T'bird, quit, and then re-add the account. Also check /var/log/maillog...imapd should be reporting errors if it sees anything wrong... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
On Tue, 8 Apr 2008, Chuck Swiger wrote: On Apr 8, 2008, at 10:50 AM, Chris Maness wrote: How is this header look? I am not quite sure of what I am looking for. That seems to be fine. If it was corrupted, you'd see a line or a few lines of obvious binary garbage... -- -Chuck It does seem like something something is corrupt. What can I do to reset everything and restore everything so that thunderbird can read my inbox again. I have contempalted deleting the user, but I'm not sure if that will delete what ever is corrupted. Thanks, Chirs Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
On Tuesday 08 April 2008 21:32:45 Jerry McAllister wrote: On Tue, Apr 08, 2008 at 11:42:41AM -0700, Chris Maness wrote: On Tue, 8 Apr 2008, Chuck Swiger wrote: On Apr 8, 2008, at 10:50 AM, Chris Maness wrote: How is this header look? I am not quite sure of what I am looking for. That seems to be fine. If it was corrupted, you'd see a line or a few lines of obvious binary garbage... -- -Chuck It does seem like something something is corrupt. What can I do to reset everything and restore everything so that thunderbird can read my inbox again. I have contempalted deleting the user, but I'm not sure if that will delete what ever is corrupted. Very often it is only one character out of place. Each header should start with 'From' in the beginning of a line Since you mention one character, it should actually be starting with 'From ' and any line that starts with 'From ' that is not the start of a mail should be changed to 'From ' before ending up in the mbox file. This test weeds it out, allthough there's still room for false positives, easily resolved by the human brain: grep '^From ' /var/mail/myloginname |grep -v '200[78]$' -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
On Tuesday 08 April 2008 21:32:45 Jerry McAllister wrote: On Tue, Apr 08, 2008 at 11:42:41AM -0700, Chris Maness wrote: On Tue, 8 Apr 2008, Chuck Swiger wrote: On Apr 8, 2008, at 10:50 AM, Chris Maness wrote: How is this header look? I am not quite sure of what I am looking for. That seems to be fine. If it was corrupted, you'd see a line or a few lines of obvious binary garbage... -- -Chuck It does seem like something something is corrupt. What can I do to reset everything and restore everything so that thunderbird can read my inbox again. I have contempalted deleting the user, but I'm not sure if that will delete what ever is corrupted. Very often it is only one character out of place. Each header should start with 'From' in the beginning of a line Since you mention one character, it should actually be starting with 'From ' and any line that starts with 'From ' that is not the start of a mail should be changed to 'From ' before ending up in the mbox file. This test weeds it out, allthough there's still room for false positives, easily resolved by the human brain: grep '^From ' /var/mail/myloginname |grep -v '200[78]$' -- Mel Problem with today's modular software: they start with the modules and never get to the software part. Actually, the mail that is in /var/mail/chris gets moved to /home/chris/mbox Before it gets moved, it does not have this placeholder header. It only has the headers of e-mail sent since the last time mail was checked and moved to the mbox file. Also, none of headers in the mbox have the chicken lips not even the first one that I posted. Wouldn't these issues be rectified if I deleted the mbox file and started from scratch? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
On Tue, Apr 08, 2008 at 11:42:41AM -0700, Chris Maness wrote: On Tue, 8 Apr 2008, Chuck Swiger wrote: On Apr 8, 2008, at 10:50 AM, Chris Maness wrote: How is this header look? I am not quite sure of what I am looking for. That seems to be fine. If it was corrupted, you'd see a line or a few lines of obvious binary garbage... -- -Chuck It does seem like something something is corrupt. What can I do to reset everything and restore everything so that thunderbird can read my inbox again. I have contempalted deleting the user, but I'm not sure if that will delete what ever is corrupted. Very often it is only one character out of place. Each header should start with 'From' in the beginning of a line - eg as the first character of the file or the first character after a newline-whitespace combination. It looks like you have some Greater-Thans ('') stuck in there. Try taking those away from in front of the initial From. jerry From MAILER-DAEMON Tue Apr 8 10:49:02 2008 Date: 08 Apr 2008 10:49:02 -0700 From: Mail System Internal Data [EMAIL PROTECTED] Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA Message-ID: [EMAIL PROTECTED] X-IMAP: 1207676934 4064487180 NonJunk $Forwarded Junk Status: RO This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. If deleted, important folder data will be lost, and it will be re-created with the data reset to initial values. From [EMAIL PROTECTED] Sat Apr 5 12:04:18 2008 Return-Path: [EMAIL PROTECTED] Received: from atlanta.eham.net (atlanta.eham.net [69.36.242.135]) by ns1.kq6up.org (8.14.2/8.14.2) with ESMTP id m35J41m2056801 for [EMAIL PROTECTED]; Sat, 5 Apr 2008 12:04:18 -0700 (PDT) (envelope-from [EMAIL PROTECTED]) etc, etc Thanks, Chirs Maness ___ 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: Mail Spool Problems / IMAP
Hi, Chris-- On Apr 7, 2008, at 8:52 AM, Chris Maness wrote: I am having trouble with my imap account on my FreeBSD box. I am using WU-IMAP, and thuderbird. I have been using this combo for years, and not had any issues. Now, my thuderbird is not displaying messages in the inbox. I can see them with pine, but not with IMAP clients. (squirrelmail, thunderbird). Pine complains about sequence error when I send a message. I was able to get it to work for a bit by deleteing the mbox file in my home directory, but now it is not working again. IS there a database or something somewhere that needs to be rebult? Can you double-check your mbox file? With the most recent 2007 version of UW-IMAP, I've seen intermittent corruption of the first line of a mbox file (ie, the From foo header) which causes the mbox to be unreadable by most clients until it is fixed by hand. It seems to be correlated with simultaneous write access by people who have a normal MUA and a second device like a smartphone (iPhone/Treo/BB). I've seen just over a half-dozen of these since Jan... -- -Vhuvk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
Hi, Chris-- On Apr 7, 2008, at 8:52 AM, Chris Maness wrote: I am having trouble with my imap account on my FreeBSD box. I am using WU-IMAP, and thuderbird. I have been using this combo for years, and not had any issues. Now, my thuderbird is not displaying messages in the inbox. I can see them with pine, but not with IMAP clients. (squirrelmail, thunderbird). Pine complains about sequence error when I send a message. I was able to get it to work for a bit by deleteing the mbox file in my home directory, but now it is not working again. IS there a database or something somewhere that needs to be rebult? Can you double-check your mbox file? With the most recent 2007 version of UW-IMAP, I've seen intermittent corruption of the first line of a mbox file (ie, the From foo header) which causes the mbox to be unreadable by most clients until it is fixed by hand. It seems to be correlated with simultaneous write access by people who have a normal MUA and a second device like a smartphone (iPhone/Treo/BB). I've seen just over a half-dozen of these since Jan... -- -Vhuvk Thanks, How do I check it? Should I use another IMAP server? Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
On Apr 7, 2008, at 5:49 PM, Chris Maness wrote: How do I check it? Should I use another IMAP server? Look at the first few lines; you should see either a placeholder message like: From MAILER-DAEMON Mon Apr 7 13:08:13 2008 Date: 07 Apr 2008 13:08:13 -0400 From: Mail System Internal Data [EMAIL PROTECTED] Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA Message-ID: [EMAIL PROTECTED] X-IMAP: 1143826475 000664 NonJunk $NotJunk JunkRecorded $Junk Junk Status: RO This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. If deleted, important folder data will be lost, and it will be re- created with the data reset to initial values. ...or a normal message with an X-IMAPbase: header, depending on which version of UW IMAP you created the mailbox under. If you see binary gunk (see forwarded message below), you're running into the same issue I've seen. Regards, -- -Chuck PS: Since the mail below was written, I have seen this corruption happen with Outlook and Mozilla Tbird, not just with Apple Mail. Begin forwarded message: From: Chuck Swiger [EMAIL PROTECTED] Date: January 24, 2008 11:05:50 AM PST To: [EMAIL PROTECTED] Subject: [Imap-uw] imap-2007 on Solaris 8, possible mbox data corruption? Hi, all-- I've been a happy user of UW imapd for many years, but recently a number of my users have started really doing a lot of mail access in parallel from a workstation and something like an iPhone. I'd been receiving more frequent reports of imapd locking problems with imapd-2006h (ie, which would be resolved by them quitting and restarting their MUA or smart phone), and have updated the imapd to imap-2007 based on the comments in the release notes about the locking issues which hopefully were resolved with 2006k. The users have initially reported that their locking problems were much improved after the update, however, the build of imap-2007 is now showing signs of a mbox corruption issue which has affected several users. Specifically, the first line or perhaps first few lines of their mbox (either /var/mail/$USER, or ~$USER/mail/mbox) which is normally the SMTP envelope From header, is being corrupted. Two examples (with apologies for the length): # head -2 mbox_200801114 @???h?f??x?#~??$?? I??U?#LiLQ? ?{?v?۟c??[EMAIL PROTECTED] Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) # head -2 mbox_200801114 | od -h 000 1703 0100 4092 9291 0668 9f66 fae3 78df 020 237e c0d2 2415 e4f7 0b1e 499d da55 e223 040 1f8e 084c 694c 1c51 e00b 9f7b a076 0fbc 060 b1be a4e2 93db 9f63 b9b1 226e 46a3 1cc1 100 c9c9 6d8e 8f6d 656e 6465 7a40 676d 6169 120 6c2e 636f 6d3e 0a52 6563 6569 7665 643a 140 2066 726f 6d20 7069 2e63 6f64 6566 6162 160 2e63 6f6d 2028 7069 2e63 6f64 6566 6162 200 2e63 6f6d 205b 3139 392e 3130 332e 3231 220 2e32 3237 5d29 0a00 # head -8 mbox_20080121 ?*?D?jZ??{?ڟ V??ùEy ?u?uG?M?Nl?R???:?hx Q?R?5[EMAIL PROTECTED],? [EMAIL PROTECTED] C??a6?v? fJh ?k?Kp?g?? b ?? ?FR_b?k?啾)???t_?ۆtF2?Xh?z?3??ZNr?Yz=ˬ??9߬??6??4?{?mWCX? Z2?K??ʩ)?vG??a??}Mi5?Я?9?)?=nUc?,,?~ :?V ?w?nB?w8AB h7???푦X? ??d?d?tQ?bh?\6~rj???~ցa #?y?F??jo??DA?e4d?z'??? ]62??=??? %???8???v|??ᄡS?B?( lJp?)^7'???g8?#??F0ɞ??CP??֣??? Rڗ3?8(?_??X???Ŧր?E?[?F?K?f뜃?Qq?_ǖ ??咭o? vBdhL?1??w???G?? ???ZLP???D?E6:?h?ܑNχ?M ???ax?n?x?\?O/ZF3??=??0?[??1cfX??;???`???-? z_?E??\?C}??ׂP?\㋃J?~L^??=?ɶ???Y?4rF?\3?I+DDUP??p??=?ĵD ?K?? FP??dm?|yH??D?E?K $YS???;F/4x?(e?~$3ʻ䚳=۷nR?.?6 [EMAIL PROTECTED])7,??X?oޞ?T??;?*?6F??)q`\?´? 0??'?zn??H??9,o?!??EC6??U?( s\H$?h?B?P-7uO7?-Q?/?0?1%1j? a???!??!#$?:??b???6??BLSb?|4:11 -0400 (EDT) Received: from list.precipice.net ([199.103.21.231]) # head -8 mbox_20080121 | od -h 000 1703 0103 e042 3493 4acb baae 3b03 ebab 020 9316 0deb 2ac0 4489 6a5a 8a81 e8a7 12af 040 0504 8e1b 23a2 8b7b d5da 9f20 56dc d5c3 060 b945 1279 1e20 d81f 758a 7547 1a93 1e4d 100 bb4e 6ce3 8606 521e d002 86aa 3ad7 6811 120 780a 51ab 52e9 358a d5ff f296 09c8 72fc 140 cad4 55c7 4e9b 45b4 b9ce b44b b990 d1bc 160 d62d 4bc4 cd91 100e 40ab 21ba a2cd f124 200 a863 2cf0 0c04 8615 a32d f913 30c1 5a97 220 f912 e804 02de 34d6 ef39 c140 b143 dfe6 240 610f 3605 db76 d80b 664a 68ca 036b 9c4b 260 1970 c667 c73f 0b06 0b09 62af c80a a846 300 190e 525f 95a6 9590 62d9 6b3f e595 be29
Re: Mail Spool Problems / IMAP
On Mon, 7 Apr 2008, Chuck Swiger wrote: On Apr 7, 2008, at 5:49 PM, Chris Maness wrote: How do I check it? Should I use another IMAP server? Look at the first few lines; you should see either a placeholder message like: From MAILER-DAEMON Mon Apr 7 13:08:13 2008 Date: 07 Apr 2008 13:08:13 -0400 From: Mail System Internal Data [EMAIL PROTECTED] Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA Message-ID: [EMAIL PROTECTED] X-IMAP: 1143826475 000664 NonJunk $NotJunk JunkRecorded $Junk Junk Status: RO This text is part of the internal format of your mail folder, and is not a real message. It is created automatically by the mail system software. If deleted, important folder data will be lost, and it will be re-created with the data reset to initial values. This is the header that I have. ...or a normal message with an X-IMAPbase: header, depending on which version of UW IMAP you created the mailbox under. If you see binary gunk (see forwarded message below), you're running into the same issue I've seen. Regards, -- -Chuck I am running: imap-uw-2006j_3,1 This seems to be the current port on the tree. Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail Spool Problems / IMAP
Also, in pine. When I reply to a message, I get the message: [Syntax error in sequence] Thanks, Chris Maness Chris Maness (909) 223-9179 http://www.chrismaness.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail question
On Wed, 2 Apr 2008 10:27:07 +0100, adminakos at gmail.com wrote: Hello, how can we have a pop mail with domain FreeBSD.org ? Yes, of course. All it takes is to show some committment to the cause, by consistently helping in one of the following areas: * Improving FreeBSD, by fixing existing flaws, bugs or documentation * Extending FreeBSD, to include new features * Advertizing FreeBSD to the world * Documenting, or explaining FreeBSD Then the team will honor your continued help with a `commit bit', and you get the email for free :) More information about contributing to FreeBSD can be found in our web site, if you are interested to pursue such a goal: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail server from Windows to FreeBSD
On Mon, Mar 10, 2008 at 12:22:39PM +0200, Ivailo Bonev wrote: I have a Windows machine that get all e-mails, from few accounts, from different Internet providers. I want to setup FreeBSD machine that get all mails from accounts and remote and local users get their mails from that FreeBSD mail storage server. I don't own a domain or MX records. Ok. I read many docs in Intrernet, and now I have installed FreeBSD 7.0 RELEASE, with installed fetchmail port (to get mail from various accounts), Fetchmail is the right tool for the job. sendmail-sasl port, and dovecot for IMAP server. But now I'm lost, from where to start configuring FreeBSD mail server? IMHO postfix is easier to set up than sendmail, but the principles are the same. I would make users on the FreeBSD machine for everyone that needs to download mail from the machine. Use a non-existent home-directory and /usr/bin/nologin as the shell for these accounts. Use the virtual hosts feature to deliver mail for different addresses to local users. See e.g. http://mathforum.org/~sasha/tech/sendmailvhosts.html I haven't used dovecot, so I can't help you much with that. If your FreeBSD server and the windows clients are on a trusted private subnet, I would probably just use plain text authentication. And one last thing, how can deliver all mail messages from Outlook Express client from Windows machine to FreeBSD mail server machine? You can set the FreeBSD machine as the outgoing mail server in Outlook. But this might not work, depending on your set-up. If you relay the mail to your ISP's mailserver, it probably won't handle incoming mail from addresses outside his domain. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpvxE3cXSKcZ.pgp Description: PGP signature
Re: mail server from Windows to FreeBSD
On Mon, 10 Mar 2008 19:33:30 +0100 Roland Smith [EMAIL PROTECTED] wrote: On Mon, Mar 10, 2008 at 12:22:39PM +0200, Ivailo Bonev wrote: I have a Windows machine that get all e-mails, from few accounts, from different Internet providers. I want to setup FreeBSD machine that get all mails from accounts and remote and local users get their mails from that FreeBSD mail storage server. I don't own a domain or MX records. Ok. I read many docs in Intrernet, and now I have installed FreeBSD 7.0 RELEASE, with installed fetchmail port (to get mail from various accounts), Fetchmail is the right tool for the job. sendmail-sasl port, and dovecot for IMAP server. But now I'm lost, from where to start configuring FreeBSD mail server? IMHO postfix is easier to set up than sendmail, but the principles are the same. I would make users on the FreeBSD machine for everyone that needs to download mail from the machine. Use a non-existent home-directory and /usr/bin/nologin as the shell for these accounts. Use the virtual hosts feature to deliver mail for different addresses to local users. See e.g. http://mathforum.org/~sasha/tech/sendmailvhosts.html Use 'virtual' for all users, local or not if Postfix is employed. It makes setting up the system a whole lot easier and potentially more secure. I haven't used dovecot, so I can't help you much with that. If your FreeBSD server and the windows clients are on a trusted private subnet, I would probably just use plain text authentication. Setting up SSL/TLS on Postfix is really trivial. I use it myself. Again, it increases the security factor. And one last thing, how can deliver all mail messages from Outlook Express client from Windows machine to FreeBSD mail server machine? You can set the FreeBSD machine as the outgoing mail server in Outlook. But this might not work, depending on your set-up. If you relay the mail to your ISP's mailserver, it probably won't handle incoming mail from addresses outside his domain. Unless there is some weird firewall, I don't see what the problem would be. Roland -- Gerard [EMAIL PROTECTED] Falling in love makes smoking pot all day look like the ultimate in restraint. Dave Sim, author of Cerebus signature.asc Description: PGP signature
Re: mail server from Windows to FreeBSD
On Mon, Mar 10, 2008 at 03:39:01PM -0400, Gerard wrote: And one last thing, how can deliver all mail messages from Outlook Express client from Windows machine to FreeBSD mail server machine? You can set the FreeBSD machine as the outgoing mail server in Outlook. But this might not work, depending on your set-up. If you relay the mail to your ISP's mailserver, it probably won't handle incoming mail from addresses outside his domain. Unless there is some weird firewall, I don't see what the problem would be. A lot of ISPs don't relay anymore because of spam. Say your ISP is foobar.com. Their mail server where clients can drop their outgoing mail will only accept mail coming from @foobar.com addresses. Since the original poster mentioned people collecting mail (and assumingly sending) from different ISPs (not the one the OP is on) they would run into this problem. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpBwFOFWvy3p.pgp Description: PGP signature
Re: mail server from Windows to FreeBSD
Hello Ivailo, This is possibly the best how to guide I have found which sets up postfix, dovecot, spamassassin, postfixadmin etc. Currently I have multiple domains which the mail server handles and they all have access either via webmail(Squirrelmail), IMAP pop. [1]http://www.purplehat.org/?page_id=4 Regards, ezat Ivailo Bonev wrote: Hello FreeBSDers, I have a Windows machine that get all e-mails, from few accounts, from different Internet providers. I want to setup FreeBSD machine that get all mails from accounts and remote and local users get their mails from that FreeBSD mail storage server. I don't own a domain or MX records. I read many docs in Intrernet, and now I have installed FreeBSD 7.0 RELEASE, with installed fetchmail port (to get mail from various accounts), sendmail-sasl port, and dovecot for IMAP server. But now I'm lost, from where to start configuring FreeBSD mail server? And one last thing, how can deliver all mail messages from Outlook Express client from Windows machine to FreeBSD mail server machine? Any help is appreciated! ___ [EMAIL PROTECTED] mailing list [3]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [4][EMAIL PROTECTED] References 1. http://www.purplehat.org/?page_id=4 2. mailto:freebsd-questions@freebsd.org 3. http://lists.freebsd.org/mailman/listinfo/freebsd-questions 4. mailto:[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: mail checker for evo/kmail//mutt-IMAP
On Wed, Feb 06, 2008 at 06:18:22PM -0800, Gary Kline wrote: Can anybody point me to a mailbox checker that works from a desktop and watches (via network), the mail server? Until my re-org, xbiff was sufficient. But no mo'. I've just started using mail/mail-notification, which follows the Open Desktop standards - so should work just fine with KDE/Gnome/XFCE etc. I'm using it to check my IMAP mailboxes. It supports SSL/TLS, and several different mailbox formats. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgp09155OyMY1.pgp Description: PGP signature
Re: Mail server questions
Zachary Welch wrote: Hello to all, BSD newbie here, running 6.2 on a core 2 quad system I built. I'm Trying to get a secure mail server going and running into some snags: First things first - After installing postfix (which seems to work when testing) and cyrus-sasl2, I opted for the Maildir/ config option in my main.cf but no ~/user/Maildir/ was every created. I also installed Dovecot IMAP and Procmail as I continued in the process thinking they might pick up the slack. Still no generated Maildir/. When I try to check /var/spool/mail, there are also no user folders present. Was there a step in the process I missed? Everything was installed from a freshly cvsup'd and portsnap'd ports tree with no compile errors to speak of. IIRC, I believe you have to create the Maildir directory using /usr/local/bin/maildirmake. -- Chess Griffin GPG Key: 0x0C7558C3 http://www.chessgriffin.com signature.asc Description: OpenPGP digital signature
Re: Mail server questions
On Mon, 21 Jan 2008 15:42:21 -0500 Zachary Welch [EMAIL PROTECTED] wrote: BSD newbie here, running 6.2 on a core 2 quad system I built. I'm Trying to get a secure mail server going and running into some snags: First things first - After installing postfix (which seems to work when testing) and cyrus-sasl2, I opted for the Maildir/ config option in my main.cf but no ~/user/Maildir/ was every created. I also installed Dovecot IMAP and Procmail as I continued in the process thinking they might pick up the slack. Still no generated Maildir/. When I try to check /var/spool/mail, there are also no user folders present. Was there a step in the process I missed? Everything was installed from a freshly cvsup'd and portsnap'd ports tree with no compile errors to speak of. You might be better served posting your questions regarding Postfix and Dovecot on their respective forums. You supply no configuration documentation and since my crystal ball is out for repairs, assisting you is mostly guesswork. You should start off by supplying the output of: postconf -n dovecot -n I would hold off on using Procmail until you get the rest of the system up and running. In fact, IMHO, I would hold off on using Procmail totally. Tip: Use Postfix as your delivery agent for starters. Once the mail is getting delivered properly, integrate Dovecot into the mix. -- Gerard [EMAIL PROTECTED] Winter is nature's way of saying, Up yours. Robert Byrne signature.asc Description: PGP signature
Re: mail from: field question
Ian Smith wrote: paqi# alias um tty;id -p;who am i paqi# um /dev/ttyp3 login smithi uid root groups wheel operator network root ttyp3Jan 11 14:09 Note 'id -p' showing 'login smithi'; see id(1) .. I gather that sendmail must also use getlogin(2) - which value does not appear in `env` - when sending mail from an su'd session, as opposed to an original root login, Yes, I think you've hit the nail on the head there. The actual thing Im trying to do is to email something from a script that runs as root from devd, but I run into the same problem of the email arriving from somebody other than root, hence trying this manually on the command line. Is 'somebody other than root' consistent, and someone who's logged in, perhaps before su'ing and then starting the session that invokes devd? 'somebody other than root' is the same user each time. They are not logged in at the time the script runs, but do own some active processes (most notably screen). There is definitely something that I am overlooking, but what is it? I'm extremely curious to work-out why I'm seeing such behavior as its defeating all my expectations so far. I noticed later that Paul gets a different result .. maybe postfix as mentioned Postfix doesn't seem to be affected by the same issue and works as one would expect when run from command line and devd. I've also tried using nullmailer and that works ok too. Seems that sendmail's workings were responsible for the confusion. I'm going to be replacing it with nullmailer on all machines. Thanks for all your help, Jim Bow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail from: field question
Lowell Gilbert wrote: The answer will probably depend on the MTA you're using (which you didn't mention, so it's probably sendmail) You've guessed it. Its out-of-the-box sendmail. Run the script from the command line and in particular just call mail the way the script does. If I run the script (or just send a mail) on the command line using sudo, then it's sent as me and not root. Same happens if I su to root first. The only way I can get it to be sent from root is if I explicitly login as root. Make sure the results are the same (if they're not, the MTA isn't the problem). So it looks like it isn't. What can be the cause of this then? Thanks for your help. JimBow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail from: field question
[ apologies to Jim Bow who gets this twice due to my fingers typing faster than my brain. ] On Thu, Jan 10, 2008 at 10:46:30AM +, Jim Bow wrote: If I run the script (or just send a mail) on the command line using sudo, then it's sent as me and not root. Same happens if I su to root first. use 'su -'. It means you get a login shell (which sets up the enviroment in the same way that login does). I expect you can do the same thing with sudo with something like 'sudo bash -login' or similar. The only way I can get it to be sent from root is if I explicitly login as root. Make sure the results are the same (if they're not, the MTA isn't the problem). So it looks like it isn't. What can be the cause of this then? The extra things the shell does when running as a login shell; in particular clearing the enviroment and setting things like LOGNAME and USER (which I expect /usr/bin/mail and others pay attention to). -- Shenanigans! Shenanigans!Best of 3! -- Flash ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail from: field question
Mike Bristow wrote: On Thu, Jan 10, 2008 at 10:46:30AM +, Jim Bow wrote: If I run the script (or just send a mail) on the command line using sudo, then it's sent as me and not root. Same happens if I su to root first. use 'su -'. It means you get a login shell (which sets up the enviroment in the same way that login does). That makes perfect sense, but doesn't seem to work. Here's the output of my terminal session: host% whoami jim host% sudo su - (tried doing su - also, with same results) Password: host# whoami root host# env USER=root HOME=/root SHELL=/bin/csh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin MAIL=/var/mail/root BLOCKSIZE=K FTP_PASSIVE_MODE=YES TERM=screen HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 SHLVL=1 PWD=/root LOGNAME=root GROUP=wheel HOST=host.example.com EDITOR=vi PAGER=more host# cat /etc/motd | mail -s hello [EMAIL PROTECTED] This results in the mail from: header of [EMAIL PROTECTED] I've tried this on two different hosts with the same result. The actual thing Im trying to do is to email something from a script that runs as root from devd, but I run into the same problem of the email arriving from somebody other than root, hence trying this manually on the command line. There is definitely something that I am overlooking, but what is it? I'm extremely curious to work-out why I'm seeing such behavior as its defeating all my expectations so far. Thanks for reading. JimBow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail from: field question
--On Thursday, January 10, 2008 13:22:47 + Jim Bow [EMAIL PROTECTED] wrote: Mike Bristow wrote: On Thu, Jan 10, 2008 at 10:46:30AM +, Jim Bow wrote: If I run the script (or just send a mail) on the command line using sudo, then it's sent as me and not root. Same happens if I su to root first. use 'su -'. It means you get a login shell (which sets up the enviroment in the same way that login does). That makes perfect sense, but doesn't seem to work. Here's the output of my terminal session: host% whoami jim host% sudo su - (tried doing su - also, with same results) Password: host# whoami root host# env USER=root HOME=/root SHELL=/bin/csh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: /usr/X11R6/bin:/root/bin MAIL=/var/mail/root BLOCKSIZE=K FTP_PASSIVE_MODE=YES TERM=screen HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 SHLVL=1 PWD=/root LOGNAME=root GROUP=wheel HOST=host.example.com EDITOR=vi PAGER=more host# cat /etc/motd | mail -s hello [EMAIL PROTECTED] This results in the mail from: header of [EMAIL PROTECTED] I've tried this on two different hosts with the same result. The actual thing Im trying to do is to email something from a script that runs as root from devd, but I run into the same problem of the email arriving from somebody other than root, hence trying this manually on the command line. There is definitely something that I am overlooking, but what is it? I'm extremely curious to work-out why I'm seeing such behavior as its defeating all my expectations so far. Thanks for reading. I'm not sure what, but something is wrong. I did the exact same thing you did, but the results are completely different. [EMAIL PROTECTED] env HOST=utd59514.utdallas.edu TERM=xterm SHELL=/bin/csh GROUP=wheel USER=root HOSTTYPE=FreeBSD PAGER=more FTP_PASSIVE_MODE=YES MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin BLOCKSIZE=K PWD=/usr/ports/dns/noip EDITOR=vi [EMAIL PROTECTED] SHLVL=2 HOME=/root OSTYPE=FreeBSD VENDOR=intel LOGNAME=root MACHTYPE=i386 _=/usr/bin/env OLDPWD=/usr/ports [EMAIL PROTECTED] cat /etc/motd | mail -s hello [EMAIL PROTECTED] [EMAIL PROTECTED] tail /var/log/maillog Jan 10 03:44:29 utd59514 postfix/qmgr[816]: 6EDD1261839: from=[EMAIL PROTECTED], size=13491, nrcpt=1 (queue active) Jan 10 03:44:29 utd59514 postfix/smtp[37291]: 6D39E261838: to=[EMAIL PROTECTED], orig_to=root, relay=smtp.utdallas.edu[129.110.10.33]:25, delay=0.16, delays=0.01/0.06/0.05/0.04, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 855C65AEAC) Jan 10 03:44:29 utd59514 postfix/qmgr[816]: 6D39E261838: removed Jan 10 03:44:29 utd59514 postfix/smtp[37292]: 6EDD1261839: to=[EMAIL PROTECTED], orig_to=root, relay=smtp.utdallas.edu[129.110.10.33]:25, delay=0.17, delays=0/0.06/0.05/0.06, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 853C95AEA9) Jan 10 03:44:29 utd59514 postfix/qmgr[816]: 6EDD1261839: removed Jan 10 09:28:00 utd59514 postfix/pickup[37968]: 3A037261834: uid=0 from=root Jan 10 09:28:00 utd59514 postfix/cleanup[38056]: 3A037261834: message-id=[EMAIL PROTECTED] Jan 10 09:28:00 utd59514 postfix/qmgr[816]: 3A037261834: from=[EMAIL PROTECTED], size=641, nrcpt=1 (queue active) Jan 10 09:28:00 utd59514 postfix/smtp[38058]: 3A037261834: to=[EMAIL PROTECTED], relay=smtp.utdallas.edu[129.110.10.33]:25, delay=0.07, delays=0.02/0.01/0.01/0.04, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 3E1575ADDD) Jan 10 09:28:00 utd59514 postfix/qmgr[816]: 3A037261834: removed [EMAIL PROTECTED] whoami root And the message received was sent by root. Received: from smtp2.utdallas.edu ([129.110.10.33]) by UTDEVS08.campus.ad.utdallas.edu with Microsoft SMTPSVC(6.0.3790.3959); Thu, 10 Jan 2008 09:29:03 -0600 Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp2.utdallas.edu (Postfix) with ESMTP id 3E1575ADDD for [EMAIL PROTECTED]; Thu, 10 Jan 2008 09:28:00 -0600 (CST) Received: by utd59514.utdallas.edu (Postfix, from userid 0) id 3A037261834; Thu, 10 Jan 2008 09:28:00 -0600 (CST) To: [EMAIL PROTECTED] Subject: hello Message-Id: [EMAIL PROTECTED] Date: Thu, 10 Jan 2008 09:28:00 -0600 (CST) From: [EMAIL PROTECTED] (Charlie Root) Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 10 Jan 2008 15:29:03.0486 (UTC) FILETIME=[87E371E0:01C8539D] FreeBSD 6.2-RELEASE-p9 (GENERIC) #2: Wed Dec 5 16:16:36 CST 2007 (1) Unauthorized use is prohibited; (2) Usage may be subject to security testing and monitoring; (3) Misuse is subject to criminal prosecution; and (4) No expectation of privacy except as otherwise provided by applicable privacy laws. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list
Re: mail from: field question
Paul Schmehl wrote: I'm not sure what, but something is wrong. I did the exact same thing you did, but the results are completely different. The only difference I can spot is that you are using Postfix, while the hosts I'm using all run standard Sendmail. Could this be the problem? I might give it a quick test to find out for sure. Thanks, Jim Bow ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail from: field question
On Thu, 10 Jan 2008 13:22:47 + Jim Bow [EMAIL PROTECTED] wrote: Mike Bristow wrote: On Thu, Jan 10, 2008 at 10:46:30AM +, Jim Bow wrote: If I run the script (or just send a mail) on the command line using sudo, then it's sent as me and not root. Same happens if I su to root first. use 'su -'. It means you get a login shell (which sets up the enviroment in the same way that login does). That makes perfect sense, but doesn't seem to work. Here's the output of my terminal session: host% whoami jim host% sudo su - (tried doing su - also, with same results) Password: host# whoami root host# env USER=root HOME=/root SHELL=/bin/csh PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin MAIL=/var/mail/root BLOCKSIZE=K FTP_PASSIVE_MODE=YES TERM=screen HOSTTYPE=FreeBSD VENDOR=intel OSTYPE=FreeBSD MACHTYPE=i386 SHLVL=1 PWD=/root LOGNAME=root GROUP=wheel HOST=host.example.com EDITOR=vi PAGER=more host# cat /etc/motd | mail -s hello [EMAIL PROTECTED] This results in the mail from: header of [EMAIL PROTECTED] I've tried this on two different hosts with the same result. I can confirm this behaviour, also using csh and sendmail, and 'su -' from originally having logged in as myself, since freebsd 2.2 .. I use this csh alias whenever not entirely sure who or where I am .. paqi# alias um tty;id -p;who am i paqi# um /dev/ttyp3 login smithi uid root groups wheel operator network root ttyp3Jan 11 14:09 Note 'id -p' showing 'login smithi'; see id(1) .. I gather that sendmail must also use getlogin(2) - which value does not appear in `env` - when sending mail from an su'd session, as opposed to an original root login, and don't know whether or how this may be configurable in sendmail. paqi# mail smithi Subject: boo hoo . EOT Return-Path: [EMAIL PROTECTED] Received: from paqi.nimnet.asn.au (localhost.nimnet.asn.au [127.0.0.1]) by paqi.nimnet.asn.au (8.13.8/8.13.8) with ESMTP id m0B2gGpU059565 for [EMAIL PROTECTED]; Fri, 11 Jan 2008 13:42:16 +1100 (EST) (envelope-from [EMAIL PROTECTED]) Received: (from [EMAIL PROTECTED]) by paqi.nimnet.asn.au (8.13.8/8.13.8/Submit) id m0B2gFPr059564 for smithi; Fri, 11 Jan 2008 13:42:15 +1100 (EST) (envelope-from smithi) Date: Fri, 11 Jan 2008 13:42:15 +1100 (EST) From: Ian Smith [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: boo hoo Note 'received from [EMAIL PROTECTED]' but 'envelope-from smithi'. Also note I'm not using domain masquerading here, as I don't actually mail out from this box currently. The actual thing Im trying to do is to email something from a script that runs as root from devd, but I run into the same problem of the email arriving from somebody other than root, hence trying this manually on the command line. Hmm .. I know mail sent from cron scripts properly comes 'from root', and don't know why scripts run as root from devd would be any different. Is 'somebody other than root' consistent, and someone who's logged in, perhaps before su'ing and then starting the session that invokes devd? There is definitely something that I am overlooking, but what is it? I'm extremely curious to work-out why I'm seeing such behavior as its defeating all my expectations so far. I noticed later that Paul gets a different result .. maybe postfix as mentioned, if Paul was starting from an su'd session, not a root login? cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail from: field question
Jim Bow [EMAIL PROTECTED] writes: I have a small shell script that does a backup to a usb drive and emails the results to a set of people. The script is triggered from devd (upon drive attachment) and runs as root. The problem is that the mail report is sent from an active system user and not user root. The user the mail is sent from is not referenced in the script. The mail line looks like this: cat $LOGFILE | mail -s backuptousb report [EMAIL PROTECTED] I find this rather confusing since I was expecting the email to be sent by the user running the script. How can this be? A little research told me that this may be because of something called envelope-from, but I found little explanation of what that actually means. Anyone have any suggestions? The answer will probably depend on the MTA you're using (which you didn't mention, so it's probably sendmail), but checking a couple of simple things first will help ensure you're at least on the right track. Run the script from the command line, and in particular just call mail the way the script does. Make sure the results are the same (if they're not, the MTA isn't the problem). Then, look in the mail logs to see what they tell you about the message. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail problem, using postfix dovecot
Chuck Robey wrote: I have my mail system running on my FreeBSD server. It uses postfix outgoing, and dovecot to manage the Imap server, and finally Seamonkey either locally or from one of my other machines, to read/write my mail, it makes for a very portable mail system, but I am now convinced I have one major bug. It's that I'm getting too darn many duplicate mails. I didn't complain when that happened on all the FreeBSD posts, because we have so daarn many people crossposting, it'd be foolish to try to fix that. BUT I just got dupes on some mail from Usenix, and I know Usenix isn't double posting me. Any idea of any common sort of mail mistake I might have made? Mail isn't my real forte, so I might well have bungled something. Any sort of hint, right or wrong, would help, and especially the wrong ones: I'll run them down anyhow, and during that running down, I often find the real error, so don't think I'll jump upon you for stupid suggestions. The only sort of thing I won't try is suggestions to change the basic method I use: I know Imap *can* be made to work, so I won't switch to using something like popmail, I don't want to pop my mail. Other than that, any suggestion will be checked, believe me. Just to narrow down the problem, take a look at the full headers of the duplicate mails and see if the mails are exact copies (i.e. the duplication occurs internally) or are in fact recieved py Postfix twice. Check the mail logs to see what Postfix, Dovecot and whatever else you have in the mix (SpamAssassin? Procmail? Postgrey?) are doing. Also make sure you're not just recieving the extra emails from some address you've set to forward to your normal address. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mail problem, using postfix dovecot
Erik Cederstrand wrote: Chuck Robey wrote: I have my mail system running on my FreeBSD server. It uses postfix outgoing, and dovecot to manage the Imap server, and finally Seamonkey either locally or from one of my other machines, to read/write my mail, it makes for a very portable mail system, but I am now convinced I have one major bug. It's that I'm getting too darn many duplicate mails. I didn't complain when that happened on all the FreeBSD posts, because we have so daarn many people crossposting, it'd be foolish to try to fix that. BUT I just got dupes on some mail from Usenix, and I know Usenix isn't double posting me. Any idea of any common sort of mail mistake I might have made? Mail isn't my real forte, so I might well have bungled something. Any sort of hint, right or wrong, would help, and especially the wrong ones: I'll run them down anyhow, and during that running down, I often find the real error, so don't think I'll jump upon you for stupid suggestions. The only sort of thing I won't try is suggestions to change the basic method I use: I know Imap *can* be made to work, so I won't switch to using something like popmail, I don't want to pop my mail. Other than that, any suggestion will be checked, believe me. Just to narrow down the problem, take a look at the full headers of the duplicate mails and see if the mails are exact copies (i.e. the duplication occurs internally) or are in fact recieved py Postfix twice. Check the mail logs to see what Postfix, Dovecot and whatever else you have in the mix (SpamAssassin? Procmail? Postgrey?) are doing. Also make sure you're not just recieving the extra emails from some address you've set to forward to your normal address. Yup, that got it. Your own message was dup'd to me, and I found out what was wrong. When I got back to my apartment finally, from the extended hospital stay, all of my mail subs to [EMAIL PROTECTED] had lapsed from non-receipt. I'd lost my old FreeBSD machine, and while I was still pretty disabled, it took me a long while to get the machine and all the smoking hardware back in service, and when I did, I restarted all my old subs, but because I'd lost the machine, all my old ssh keys went up in smoke, and I now couldn't get back into my freebsd.org login (remember I was a committer) so I was forced to restart my mail fromm my own hosts at chuckr.org. Well, somehow, all the old FreeBSD.org subs kicked back in finally (they must occaisonally test forever, because I was laid up about 6 months). So, all I need to do is to single up my subs. Too bad I couldn't get the new mail application to do what the old majordomo would do (give me the list of all lists a particular login name is subscribed to). So.thanks for kicking me into doing that testing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: mail server setup questions
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of DAve Sent: Thursday, September 06, 2007 10:29 AM To: freebsd-questions@freebsd.org Subject: Re: mail server setup questions Don't wonder if qmail has flaws, go to CERT.org and search first for Sendmail, then Postfix, then Exim, then qmail. To say Anyone who even thinks that a piece of software that it 6 years old has no flaws had best re-think this., is simply FUD. He said no flaws, cert.org and friends only track security flaws, not other kinds of flaws. And cert.org and friends are only as good as the reports submitted to them. I would offer the suggestion that if every mail admin out there using qmail was not a mail expert, that it is unlikely that security flaws would be noticed or reported. In the last analysis, the absense of a particular piece of software from a security notification list is NOT proof that the software has no security flaws. You cannot prove a negative in this case. Ted PS I routinely use 6 year old software myself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]