how to tell which process call sendmail

2013-09-19 Thread Glenn McCalley
So, some idiot is using a cgi or php or something to send mail out of his website that he shouldn't be sending. With a bunch of sites on the server, can't tell who. System accounting can tell me that sendmail was executed 32,976 times, but is there a way to tell what process /file name

Re: how to tell which process call sendmail

2013-09-19 Thread Eugene
Hi Glenn, I once wrote some (quick-and-dirty) perl script that monitors network traffic and logs (for matching outgoing connections) the process command line and (if apache) the respective vhost and request. But this would not help if they are calling the sendmail program directly to inject

Re: how to tell which process call sendmail

2013-09-19 Thread Frank Leonhardt
did. It was something like pointing mailer.conf to my own program which did some logging and then called the real sendmail. Actually, I might just have hacked mailwrapper directly. I think there was some way I managed to cross-reference to the httpd logs, or that might be what I tried to do

Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Tim Daneliuk
I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall? auth.log only notes the attempted user name, not the IP of origin. --

Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Waitman Gobble
On Jun 4, 2013 9:00 AM, Tim Daneliuk tun...@tundraware.com wrote: I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall? auth.log only notes the attempted user name, not

Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Mark Felder
name, not the IP of origin. I don't use sendmail, but aren't the login attempts at least logged in maillog as well? If so, you could use fail2ban to ban them. We do this with postfix/exim/dovecot/etc. ___ freebsd-questions@freebsd.org mailing list

Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Doug Hardie
On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote: I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall? auth.log only notes the attempted user name,

Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Tim Daneliuk
On 06/04/2013 04:51 PM, Doug Hardie wrote: On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote: I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall?

Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Chris Hill
On Tue, 4 Jun 2013, Doug Hardie wrote: On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote: I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so they can be blocked at the firewall? auth.log

Re: Can sasl/sendmail Report IP Of Failed Access?

2013-06-04 Thread Warren Block
On Tue, 4 Jun 2013, Tim Daneliuk wrote: On 06/04/2013 04:51 PM, Doug Hardie wrote: On 4 June 2013, at 08:47, Tim Daneliuk tun...@tundraware.com wrote: I am seeing login dictionary attacks on a FreeBSD mail server being reported. Is there a way to determine the IPs that are doing this so

Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Modulok
List, Step1: Make a new user:: root@localhost# pw useradd foo -m -s /bin/tcsh -h 0 password for user foo: (secret) Step 2: Does sendmail know them:: root@modunix# sendmail -bv foo@localhost foo@localhost... deliverable: mailer local, user foo # Good... Step 3: Make a new

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Erich Dollansky
Hi, On Sun, 26 May 2013 18:44:41 -0600 Modulok modu...@gmail.com wrote: List, Step1: Make a new user:: root@localhost# pw useradd foo -m -s /bin/tcsh -h 0 password for user foo: (secret) Step 2: Does sendmail know them:: root@modunix# sendmail -bv foo@localhost foo

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Polytropon
), but regarding mail... that sounds problematic. Without fighting an epic battle with with the sendmail configs, is there a simple way to make this work? Use lowercase usernames only. Make it a convention. Verify it. The obvious answer is probably, usernames should be lowercase! and for new

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Michael Sierchio
On Sun, May 26, 2013 at 6:17 PM, Polytropon free...@edvax.de wrote: On Sun, 26 May 2013 18:44:41 -0600, Modulok wrote: I know usernames are case-sensitive, I thought emails were too. If I remember e-mail basics correctly: No. They're not. For example, f...@example.com, f...@example.com

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Polytropon
is reality today, i. e. sendmail rewriting uppercase to lowercase prior to further processing. The local part of an address (before the @ sign) is case-sensitive (with the exception of postmas...@example.com) So it depends on how sendmail is configured that it does not matter today. Everything

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Modulok
Everything to the right of the @ is indeed case insensitive, but everything to the left might be case sensitive, depending on local policy. This means you must preserve the case of everything to the left of the @ sign. According to the link provided by Erich Dollansky, FreeBSD's default

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Polytropon
On Sun, 26 May 2013 21:31:09 -0600, Modulok wrote: Everything to the right of the @ is indeed case insensitive, but everything to the left might be case sensitive, depending on local policy. This means you must preserve the case of everything to the left of the @ sign. According to

Re: Sendmail 8.14.5/8.14.5 on fbsd-9.1R (EC2)

2013-04-27 Thread Matthew Seaman
On 26/04/2013 16:51, jflowers wrote: All I want to do is have the MTA listen on 127.0.0.1 port 1025 and have no sendmail process listen on the server interface. That's being done by assp which proxies messages to 127.0.0.1:1025. Unfortunately, I haven't been able to figure out how to turn

Sendmail 8.14.5/8.14.5 on fbsd-9.1R (EC2)

2013-04-27 Thread jflowers
Matthew. Your second suggestion solved it for me. No default and I still have sendmail listening on port 1025 so it's just what I wanted. 'Wish I understood everything I know about that.' -- Jim Flowers jflow...@ezo.net ___ freebsd-questions

Re: Sendmail 8.14.5/8.14.5 on fbsd-9.1R (EC2)

2013-04-27 Thread doug
On Sat, 27 Apr 2013, Matthew Seaman wrote: On 26/04/2013 16:51, jflowers wrote: All I want to do is have the MTA listen on 127.0.0.1 port 1025 and have no sendmail process listen on the server interface. That's being done by assp which proxies messages to 127.0.0.1:1025. Unfortunately, I

Re: Sendmail 8.14.5/8.14.5 on fbsd-9.1R (EC2)

2013-04-27 Thread Matthew Seaman
On 27/04/2013 17:43, doug wrote: DAEMON_OPTIONS(`Port=587, Addr= 111.222.333.444, Name=MSA, M=E') If sendmail is listening on port 587, it will relay for any valid sender who can reach that port. You see where it says 'M=E' in that DAEMON_OPTIONS line? That should probably be changed to 'M

Re: Sendmail 8.14.5/8.14.5 on fbsd-9.1R (EC2)

2013-04-27 Thread Bernt Hansson
2013-04-27 18:43, doug skrev: If sendmail is listening on port 587, it will relay for any valid sender who can reach that port. Only if it is listed in /etc/mail/access file. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org

Sendmail 8.14.5/8.14.5 on fbsd-9.1R (EC2)

2013-04-26 Thread jflowers
All I want to do is have the MTA listen on 127.0.0.1 port 1025 and have no sendmail process listen on the server interface. That's being done by assp which proxies messages to 127.0.0.1:1025. Unfortunately, I haven't been able to figure out how to turn off the default. Sockstat shows: root

Re: fetchmail/sendmail: Domain of sender address does not exist

2013-03-20 Thread Christian Weisgerber
Anton Shterenlikht me...@bristol.ac.uk wrote: I sometimes see fetchmail complain: fetchmail: SMTP error: 553 5.1.8 ad...@system.mail... Domain of sender address ad...@system.mail does not exist Add FEATURE(accept_unresolvable_domains) to your sendmail configuration. -- Christian naddy

Re: fetchmail/sendmail: Domain of sender address does not exist

2013-03-08 Thread Anton Shterenlikht
From free...@edvax.de Fri Mar 8 07:50:06 2013 On Thu, 7 Mar 2013 21:55:57 GMT, Anton Shterenlikht wrote: And Matthias already helped me sort it out. Could you write to the list how you solved the problem?

fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Anton Shterenlikht
I'm running sendmail, and using fetchmail to fetch my mail from the university IMAP server. I sometimes see fetchmail complain: fetchmail: SMTP error: 553 5.1.8 ad...@system.mail... Domain of sender address ad...@system.mail does not exist And this is doubled in /var/log/maillog: sm-mta[14642

Re: fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Polytropon
On Thu, 7 Mar 2013 09:40:47 GMT, Anton Shterenlikht wrote: How do I set fetchmail and sendmail to fetch such emails? Maybe it helps if you add the options fetchall flush to your .fetchmailrc configuration file? I've had a similar problem some years ago and I think this was the solution. See man

Re: fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Chad Perrin
On Thu, Mar 07, 2013 at 09:40:47AM +, Anton Shterenlikht wrote: I'm running sendmail, and using fetchmail to fetch my mail from the university IMAP server. I sometimes see fetchmail complain: fetchmail: SMTP error: 553 5.1.8 ad...@system.mail... Domain of sender address ad

Re: fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Anton Shterenlikht
Date: Thu, 7 Mar 2013 13:48:45 -0700 From: Chad Perrin per...@apotheon.com To: freebsd-questions@freebsd.org Subject: Re: fetchmail/sendmail: Domain of sender address does not exist On Thu, Mar 07, 2013 at 09:40:47AM +, Anton Shterenlikht wrote

Re: fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Polytropon
On Thu, 7 Mar 2013 21:55:57 GMT, Anton Shterenlikht wrote: And Matthias already helped me sort it out. Could you write to the list how you solved the problem? I think it would be interesting to those running into similar problems. I remember that in the end, my clever solution involved logging

buildowrld fails in sendmail

2013-03-01 Thread Robert Huff
On a system running: FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 make buildworld fails with this: cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS

Re: buildowrld fails in sendmail

2013-03-01 Thread Sergio de Almeida Lenzi
this: MALLOC_PRODUCTION=yes WITH_BSDCONFIG=yes WITH_BSD_PATCH=yes WITH_ICONV=yes WITH_IDEA=yes WITHOUT_PKGTOOLS=yes WARNS=2 NO_WERROR=yes and make buildworld again... You can use all the options, but for sendmail

Re: buildowrld fails in sendmail

2013-03-01 Thread Julian H. Stacey
make buildworld fails with this: cc -O -pipe -g -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/src -I/usr/src/usr.sbin/sendmail/../../contrib/sendmail/include -I. -DNEWDB -DNIS -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6 -DSTARTTLS -D_FFR_TLS_1 -I/usr/local/include/ -DSASL=2 -std

Re: Sendmail relaying for Intranet?

2013-02-13 Thread Zyumbilev, Peter
On 13/02/2013 09:50, Bernt Hansson wrote: dnl define(`SMART_HOST', `your.isp.mail.server') on your intranet machine and put in your inet machine name. Switching to postfix and editing mynetworks in main.cf might be simplest solution. Peter ___

Re: Sendmail relaying for Intranet?

2013-02-13 Thread Chris Maness
On Wed, Feb 13, 2013 at 12:47 AM, Zyumbilev, Peter pe...@aboutsupport.com wrote: On 13/02/2013 09:50, Bernt Hansson wrote: dnl define(`SMART_HOST', `your.isp.mail.server') on your intranet machine and put in your inet machine name. Switching to postfix and editing mynetworks in main.cf

Re: Sendmail relaying for Intranet?

2013-02-13 Thread Bernt Hansson
2013-02-14 03:07, Chris Maness skrev: On Wed, Feb 13, 2013 at 12:47 AM, Zyumbilev, Peter pe...@aboutsupport.com wrote: On 13/02/2013 09:50, Bernt Hansson wrote: dnl define(`SMART_HOST', `your.isp.mail.server') on your intranet machine and put in your inet machine name. That looks like

Sendmail relaying for Intranet?

2013-02-12 Thread Chris Maness
I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet. It does not have access to the i-net. I think I remember reading that it is possible for the i-net attached sendmail to relay mail for a domain to another host

Re: Sendmail relaying for Intranet?

2013-02-12 Thread Robison, Dave
On 02/12/2013 12:54, Chris Maness wrote: I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet. It does not have access to the i-net. I think I remember reading that it is possible for the i-net attached sendmail

Re: Sendmail relaying for Intranet?

2013-02-12 Thread Chris Maness
On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave david.robi...@fisglobal.com wrote: On 02/12/2013 12:54, Chris Maness wrote: I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet. It does not have access to the i-net

Re: Sendmail relaying for Intranet?

2013-02-12 Thread Bernt Hansson
2013-02-13 06:30, Chris Maness skrev: On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave david.robi...@fisglobal.com wrote: On 02/12/2013 12:54, Chris Maness wrote: I have a FreeBSD box running sendmail that can see the whole internet. I have another mail server that hosts mail for an intranet

Re: sendmail not working

2013-01-10 Thread Robert Huff
Progress has been made. After looking into several things, I can now send mail successfully. However, delivery to local mailboxes is still blocked. sm-mta reports accepting connections, but maillog is still full of: jerusalem sm-mta[28896]: r05KsfdB048780: smtpquit: mailer

Re: sendmail not working

2013-01-10 Thread Robert Huff
for the banner? (if there's a DNS problem, it can be 90 seconds befre the banner line) Good catch - yes sendmail does seem to be hooked to port 25. Jan 8 10:12:44 jerusalem sm-mta[28896]: r05KsfdB048780: forward /home/huff/.forward.jerusalem+: Group writable directory Supposedly you

Re: sendmail not working

2013-01-10 Thread Karl Vogel
On Thu, 10 Jan 2013 11:30:01 -0500, Robert Huff roberth...@rcn.com said: R After looking into several things, I can now send mail successfully. R However, delivery to local mailboxes is still blocked. sm-mta reports R accepting connections, but maillog is still full of: R jerusalem

Re: sendmail not working

2013-01-10 Thread Robert Huff
to figure out how to recompile mail.local to fix this. Recompiling all of sendmail didn't seem to catch it Thanks, Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: sendmail not working

2013-01-10 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Thu Jan 10 17:04:06 2013 From: Robert Huff roberth...@rcn.com Date: Thu, 10 Jan 2013 18:00:42 -0500 To: freebsd-questions@freebsd.org Subject: Re: sendmail not working Karl Vogel writes: R After looking into several things, I can now send mail

Re: sendmail not working

2013-01-08 Thread Robert Huff
On 1/7/2013 11:48 PM, Gary Aitken wrote: On 01/07/13 19:45, Robert Huff wrote: I have compiled sendmail following the instructions in the cyrus-sasl port. Sendmail starts, but no mail is processed either way. /var/log/maillog has this: Jan 7 21:07:42 jerusalem sm-mta[69792

Re: sendmail not working

2013-01-08 Thread weldon
On 08.01.2013 07:39, Robert Huff wrote: On 1/7/2013 11:48 PM, Gary Aitken wrote: On 01/07/13 19:45, Robert Huff wrote: I have compiled sendmail following the instructions in the cyrus-sasl port. Sendmail starts, but no mail is processed either way. /var/log/maillog has

Re: sendmail not working

2013-01-08 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Tue Jan 8 07:43:00 2013 Date: Tue, 08 Jan 2013 08:39:39 -0500 From: Robert Huff roberth...@rcn.com To: freebsd-questions@freebsd.org, free...@dreamchaser.org, Robert Huff roberth...@rcn.com Subject: Re: sendmail not working On 1/7/2013 11:48 PM

Re: sendmail not working

2013-01-08 Thread Robert Huff
On 1/8/2013 9:18 AM, Robert Bonomi wrote: I have compiled sendmail following the instructions in the cyrus-sasl port. Sendmail starts, but no mail is processed either way. /var/log/maillog has this: No clue, except the first message might be saying it's not going to honor

Re: sendmail not working

2013-01-08 Thread Chuck Swiger
On Jan 8, 2013, at 9:09 AM, Robert Huff wrote: WHAT HAPPENS when you 'telnet' to your mailserver port(s) and try doing smtp transaction(s) manually? I don't get the SMTP prompt. OK, so sendmail either isn't starting, isn't binding to port 25, or some sort of network/firewall issue

Re: sendmail not working

2013-01-08 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Tue Jan 8 11:12:57 2013 Date: Tue, 08 Jan 2013 12:09:36 -0500 From: Robert Huff roberth...@rcn.com To: Robert Bonomi bon...@mail.r-bonomi.com Subject: Re: sendmail not working Cc: freebsd-questions@freebsd.org On 1/8/2013 9:18 AM, Robert Bonomi

Re: sendmail not working

2013-01-07 Thread Gary Aitken
On 01/07/13 19:45, Robert Huff wrote: On a system running: FreeBSD 10.0-CURRENT #0: Sun Dec 30 12:52:09 EST 2012 amd64 I have compiled sendmail following the instructions in the cyrus-sasl port. Sendmail starts, but no mail is processed either way. /var/log/maillog

update to SASL breaks sendmail

2013-01-05 Thread Robert Huff
I have followed the canonical procedure to get Sendmail to use SASL. Yesterday this worked. This morning I updated cyrus-sasl to the latest version, which bumps the library version from .2 to ,3. This appears to break sendmail in at least two places. I have added

Re: update to SASL breaks sendmail

2013-01-05 Thread Dan Nelson
In the last episode (Jan 05), Robert Huff said: I have followed the canonical procedure to get Sendmail to use SASL. Yesterday this worked. This morning I updated cyrus-sasl to the latest version, which bumps the library version from .2 to ,3. This appears to break

Re: update to SASL breaks sendmail

2013-01-05 Thread Robert Huff
On 1/5/2013 8:30 PM, Dan Nelson wrote: In the last episode (Jan 05), Robert Huff said: This morning I updated cyrus-sasl to the latest version, which bumps the library version from .2 to ,3. This appears to break sendmail in at least two places. I have added a mapping

Re: update to SASL breaks sendmail

2013-01-05 Thread Dan Nelson
In the last episode (Jan 05), Robert Huff said: On 1/5/2013 8:30 PM, Dan Nelson wrote: In the last episode (Jan 05), Robert Huff said: This morning I updated cyrus-sasl to the latest version, which bumps the library version from .2 to ,3. This appears to break sendmail in at least

Re: update to SASL breaks sendmail

2013-01-05 Thread Robert Huff
On 1/5/2013 8:55 PM, Dan Nelson wrote: Base sendmail doesn't link with sasl by default. If you had edited Makefiles or make.conf to enable that, running make clean all install clean in /usr/src/usr.sbin/sendmail/ should build and install just the new sendmail. Or, if you had installed

sendmail local-host-names questions

2012-08-29 Thread Gary Aitken
sm-mta[50394]: q7T59w8M050394: SYSERR(root): savemail: cannot save rejected email anywhere Can anyone explain what's going on or point me to a better place to ask? It's now fixed but I'd like to understand why sendmail doesn't like a domain specified with a trailing dot, since I thought

Re: sendmail local-host-names questions

2012-08-29 Thread Jamie Paul Griffin
.net # the hostname of the machine; and kode5.net # my domain I haven't put those comments in it either, just the host and domain information. The Sendmail site does have quite a bit of information actually about configuration. I was setting up Sendmail on my machine just a week

Re: sendmail local-host-names questions

2012-08-29 Thread Robert Bonomi
Date: Wed, 29 Aug 2012 01:45:19 -0600 From: Gary Aitken free...@dreamchaser.org Subject: sendmail local-host-names questions Also... I can't find anything about how to put a comment in the local-host-names file. I took a guess and used # as in the .mc file, and it doesn't seem

Re: sendmail local-host-names questions

2012-08-29 Thread doug
On Wed, 29 Aug 2012, Gary Aitken wrote: Can anyone explain what's going on or point me to a better place to ask? It's now fixed but I'd like to understand why sendmail doesn't like a domain specified with a trailing dot, since I thought that was how one specified a fully qualified domain name

Re: sendmail + clamav + spamassasin config help

2012-08-14 Thread Andrea Venturoli
On 08/14/12 08:51, AN wrote: FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r239243: Mon Aug 13 19:20:19 EDT 2012 r...@mail.neu.net:/usr/obj/usr/src/sys/GENERIC amd64 I am trying to configure sendmail + clamav + spamassasin. The problem I have is that neither clamav

Re: sendmail + clamav + spamassasin config help

2012-08-14 Thread Jamie Paul Griffin
[ Andrea Venturoli wrote on Tue 14.Aug'12 at 10:22:14 +0200 ] On 08/14/12 08:51, AN wrote: FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r239243: Mon Aug 13 19:20:19 EDT 2012 r...@mail.neu.net:/usr/obj/usr/src/sys/GENERIC amd64 I am trying to configure sendmail + clamav

Re: sendmail + clamav + spamassasin config help

2012-08-14 Thread Wojciech Puchar
the above). At least, that's how I do it. or, you could consider using Postfix. It's much easier to configure and implement content filters. depends of who is talking and how easiness is defined. Postfix is different. That's all. ___

sendmail + clamav + spamassasin config help

2012-08-14 Thread Robert Huff
AN writes: I am trying to configure sendmail + clamav + spamassasin. The problem I have is that neither clamav or spamassasin runs when I send or receive email. I would like the server to do the following: This has been running fine for years on one of my machines. Do

Re: sendmail + clamav + spamassasin config help

2012-08-14 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Mon Aug 13 21:55:24 2012 Date: Tue, 14 Aug 2012 02:51:17 -0400 (EDT) From: AN a...@neu.net To: freebsd-questions@freebsd.org Subject: sendmail + clamav + spamassasin config help FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r239243

sendmail + clamav + spamassasin config help

2012-08-13 Thread AN
FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r239243: Mon Aug 13 19:20:19 EDT 2012 r...@mail.neu.net:/usr/obj/usr/src/sys/GENERIC amd64 I am trying to configure sendmail + clamav + spamassasin. The problem I have is that neither clamav or spamassasin runs when I send

partial sendmail breakage

2012-08-10 Thread Robert Huff
I have a machine (call it ADAM) running: FreeBSD 10.0-CURRENT #0: Tue Jul 24 08:55:46 EDT 2012 amd64 which has had no change to the mail components since that time. Approximately 12 hours ago, something in sendmail broke. Symptoms: 1) It works

Re: partial sendmail breakage

2012-08-10 Thread Matthew Seaman
On 10/08/2012 14:32, Robert Huff wrote: I have restarted sendmail and get this in /var/log/messages: Aug 10 08:26:56 jerusalem sm-mta[87853]: sql_select option missing Aug 10 08:26:56 jerusalem sm-mta[87853]: auxpropfunc error no mechanism available I'm (obviously

FIXED: sendmail breakage

2012-08-10 Thread Robert Huff
Perhaps that should be WORKING AGAIN because I'm not sure I did anything to actually fix the problem. In any event: thanks. Robert Huff ___ freebsd-questions@freebsd.org mailing list

Re: Problem with sendmail update

2012-08-03 Thread Matthew Seaman
On 02/08/2012 16:07, Mervyn Passmore wrote: We've made installed 8.14.5 and both the new and old versions seem to be installed and running according to PS. Whatever is starting sendmail is initiating the old version. If you're replacing the system sendmail with the version from ports

Problem with sendmail update

2012-08-02 Thread Mervyn Passmore
Hi, Hope someone can help. we're stuck trying to update Sendmail from 8.14.3 to 8.14.5 We've made installed 8.14.5 and both the new and old versions seem to be installed and running according to PS. Whatever is starting sendmail is initiating the old version. How can we remove the 8.14.3

Re: Removing sendmail from an installed system

2012-07-25 Thread Fbsd8
Lowell Gilbert wrote: Darren Pilgrim list_free...@bluerosetech.com writes: I'm removing sendmail entirely from an installed system. I had WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but that left an old version of sendmail rotting away on disk. This is the list I have so

Re: Removing sendmail from an installed system

2012-07-24 Thread Lowell Gilbert
Darren Pilgrim list_free...@bluerosetech.com writes: I'm removing sendmail entirely from an installed system. I had WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but that left an old version of sendmail rotting away on disk. This is the list I have so far: /etc/mail

Removing sendmail from an installed system

2012-07-23 Thread Darren Pilgrim
I'm removing sendmail entirely from an installed system. I had WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but that left an old version of sendmail rotting away on disk. This is the list I have so far: /etc/mail/* (excluding mailer.conf) /etc/rc.d/sendmail /usr/bin

Re: Removing sendmail from an installed system

2012-07-23 Thread Polytropon
On Mon, 23 Jul 2012 17:16:33 -0700, Darren Pilgrim wrote: Even though I have WITHOUT_SENDMAIL specified and the world was built with that, mergemaster still installs /etc/mail/aliases and /etc/rc.d/sendmail. Is there a way to prevent this other than adding them to IGNORE_FILES

Re: Sendmail and Postfix

2012-06-23 Thread Alejandro Imass
On Fri, Jun 22, 2012 at 8:15 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org  Fri Jun 22 13:47:20 2012 To: freebsd-questions@freebsd.org Date: Fri, 22 Jun 2012 13:41:46 -0500 From: Mark Felder f...@feld.me Subject: Re: Sendmail and Postfix When you

Sendmail and Postfix

2012-06-22 Thread Walter Hurry
A little digging around has revealed that there are two 'mailq' executables on my system: /usr/local/bin/mailq and /usr/bin/mailq. The first is part of the mail/postfix-current port which I have installed and use, and the second is presumably part of Sendmail, which I have not installed and do

Re: Sendmail and Postfix

2012-06-22 Thread Matthew Seaman
On 22/06/2012 19:19, Walter Hurry wrote: It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? You don't need to remove the base system sendmail. All you need to do is set up /etc/mail/mailer.conf

Re: Sendmail and Postfix

2012-06-22 Thread Mark Felder
When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. ___ freebsd-questions@freebsd.org mailing list

Re: Sendmail and Postfix

2012-06-22 Thread Brian W.
During subsequent system upgrades, of you build from source, you should watch out for thus during the mergemaster piece. Brian On Jun 22, 2012 11:44 AM, Matthew Seaman matt...@freebsd.org wrote: On 22/06/2012 19:19, Walter Hurry wrote: It seems that Sendmail is embedded somehow in the base

Re: Sendmail and Postfix

2012-06-22 Thread Chuck Swiger
is presumably part of Sendmail, which I have not installed and do not use. It seems that Sendmail is embedded somehow in the base system. What is the 'approved' way to get rid of /usr/bin/mailq? Or better, remove Sendmail? BSD Unixes have shipped with Sendmail for decades, much as BIND is also

Re: Sendmail and Postfix

2012-06-22 Thread Walter Hurry
On Fri, 22 Jun 2012 13:41:46 -0500, Mark Felder wrote: When you installed Postfix did you allow it to update the entries in /etc/mail/mailer.conf ? If so, I wouldn't worry about the mailq binary that came with the system; it's ignored. Thanks! (Thanks too to the other responders.) Looks like

Re: Sendmail and Postfix

2012-06-22 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Fri Jun 22 13:47:20 2012 To: freebsd-questions@freebsd.org Date: Fri, 22 Jun 2012 13:41:46 -0500 From: Mark Felder f...@feld.me Subject: Re: Sendmail and Postfix When you installed Postfix did you allow it to update the entries in /etc/mail

Re: milter wants erase sendmail

2012-06-16 Thread Andrey S. Rybak
_ Have you added this to /etc/make.cnf? WITH_SENDMAIL_PORT= yes Yes, I have So if you go into /usr/ports/mail/sendmail and: # make config You will be able to enable tls and sasl2 (amongst a whole bunch of other stuff) giving you the correct functionality. No, this is not give me

milter wants erase sendmail

2012-06-15 Thread Andrey S. Rybak
hello! i use bundle sendmail and milter greylist on my e-mail freebsd server. every time I want upgrade milter-greylist it wants install sendmail port. But I use sendmail+tls+sasl2 port. There is conflict. I should deinstall sendmail+tls+sasl, install milter-greylist, deinstall sendmail

Re: milter wants erase sendmail

2012-06-15 Thread Volodymyr Kostyrko
Andrey S. Rybak wrote: hello! i use bundle sendmail and milter greylist on my e-mail freebsd server. every time I want upgrade milter-greylist it wants install sendmail port. But I use sendmail+tls+sasl2 port. There is conflict. I should deinstall sendmail+tls+sasl, install milter-greylist

Re: milter wants erase sendmail

2012-06-15 Thread Matthew Seaman
On 15/06/2012 13:17, Andrey S. Rybak wrote: i use bundle sendmail and milter greylist on my e-mail freebsd server. every time I want upgrade milter-greylist it wants install sendmail port. But I use sendmail+tls+sasl2 port. There is conflict. I should deinstall sendmail+tls+sasl, install

sendmail, masquerading, exposed root?

2012-05-28 Thread Anton Shterenlikht
I've a problem with sendmail setup, for which I have no satisfactory solution. I've several hosts, all on the university network. I'd like to forward all root's mail from all these hosts to my personal email. The problem seems to be with the From field. If I leave the root exposed, the From

Re: sendmail, masquerading, exposed root?

2012-05-28 Thread Polytropon
On Mon, 28 May 2012 12:49:43 +0100, Anton Shterenlikht wrote: If I leave the root exposed, the From field looks e.g. r...@mech-anton240.men.bris.ac.uk, which is rejected by the university mailer, because it has no knowledge of this address. You should be able to use sendmail's masquerading

Re: Sendmail recommended permissions for apache/php server

2012-04-12 Thread Matthew Seaman
On 12/04/2012 02:49, Polytropon wrote: On Wed, 11 Apr 2012 23:57:51 +, Ian Lord wrote: I then got a different error in /var/log/messages Apr 11 19:38:40 dev sendmail[41170]: NOQUEUE: SYSERR(www): can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=25

Re: Sendmail recommended permissions for apache/php server

2012-04-12 Thread Polytropon
On Thu, 12 Apr 2012 08:17:33 +0100, Matthew Seaman wrote: On 12/04/2012 02:49, Polytropon wrote: On Wed, 11 Apr 2012 23:57:51 +, Ian Lord wrote: I then got a different error in /var/log/messages Apr 11 19:38:40 dev sendmail[41170]: NOQUEUE: SYSERR(www): can not write to queue

RE: Sendmail recommended permissions for apache/php server

2012-04-12 Thread Ian Lord
You should not be changing the ownership and permissions on any of the directories used by sendmail(8), or the group membership of any of the groups used by sendmail. Not even if you think you know what you are doing. This is extremely security sensitive, and getting it wrong means at minimum

Re: Sendmail recommended permissions for apache/php server

2012-04-12 Thread Matthew Seaman
On 12/04/2012 14:40, Ian Lord wrote: What are the permissions on /usr/libexec/sendmail/sendmail ? They should look like this: % ls -la /usr/libexec/sendmail/sendmail -r-xr-sr-x 1 root smmsp 662136 Apr 1 08:38 /usr/libexec/sendmail/sendmail # ls -al /usr/libexec/sendmail/sendmail -r-xr

Sendmail recommended permissions for apache/php server

2012-04-11 Thread Ian Lord
Hi, I am trying to use sendmail to send emails from a php script (I tried phpmailer and mail function with the same result). I always got messages like Could not execute: /usr/sbin/sendmail Sendmail is World executable: # ls -l /usr/sbin/sendmail lrwxr-xr-x 1 root wheel 21 Jan 3 02:57

Re: Sendmail recommended permissions for apache/php server

2012-04-11 Thread Polytropon
On Wed, 11 Apr 2012 23:57:51 +, Ian Lord wrote: I then got a different error in /var/log/messages Apr 11 19:38:40 dev sendmail[41170]: NOQUEUE: SYSERR(www): can not write to queue directory /var/spool/clientmqueue/ (RunAsGid=0, required=25): Permission denied I found very old threads

Re: Using sendmail as a client with auth

2012-02-14 Thread Matthew Seaman
On 14/02/2012 05:12, Bernt Hansson wrote: Is that rebuild as in cd /usr/src make buildworld or cd /usr/src/usr.sbin/sendmail make Either of those should do it. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard

Re: Using sendmail as a client with auth

2012-02-14 Thread Matthew Seaman
On 14/02/2012 08:05, Bernt Hansson wrote: I have rebuilt and installed world, but no cigar. Feb 14 08:50:40 reader sendmail[1147]: q1E7oe7l001147: to=b...@bananmonarki.se, ctladdr=bernt (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30064, relay=[127.0.0.1] [127.0.0.1

Re: Using sendmail as a client with auth

2012-02-14 Thread Trond Endrestøl
250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN starttls 220 2.0.0 Ready to start TLS http://www.puresimplicity.net/~hemi/freebsd/sendmail.html That is a good site. Learnt me how to build sendmail at least

Re: Using sendmail as a client with auth

2012-02-14 Thread Trond Endrestøl
a certificate from the isp. My tought was more in line of MY sendmail is sending starttls first thing before auth login. Actually, this makes sense. It seems appropriate to establish an encrypted connection before sending the username and password. A parallel would be SSH. At the same time the use

  1   2   3   4   5   6   7   8   9   10   >