Re: how to tell which process call sendmail

2013-09-19 Thread Frank Leonhardt
exactly* what I 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

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

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

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 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 t

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 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 attempt

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 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 att

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

2013-06-04 Thread Doug Hardie
On 4 June 2013, at 08:47, Tim Daneliuk 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 the IP of origin

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

2013-06-04 Thread Mark Felder
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

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

2013-06-04 Thread Waitman Gobble
On Jun 4, 2013 9:00 AM, "Tim Daneliuk" 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 the IP of origin

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: 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. > >

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

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Polytropon
it seems that my memory about the valid definition has changed to what 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..

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Michael Sierchio
On Sun, May 26, 2013 at 6:17 PM, Polytropon 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 and f...@e

Re: Case sensitive usernames and sendmail - mystic voodoo

2013-05-26 Thread Polytropon
t two distinguishable users are intended), 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

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 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# sendma

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: 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

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

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. Unfortunate

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

2013-04-27 Thread jflowers
t=587, Addr= 111.222.333.444, Name=MSA, M=E') > Thanks 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 ___

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 >

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 sh

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

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

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? http://lists.freebsd.org/pipermail/freebsd-ports/2013-Ma

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 loggin

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 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: > I'm

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 ... Domain of sender > addr

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

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 ... Domain of sender address ad...@system.mail does not exist And this is doubled in /var/log/maillog: sm-mta[14642]: r270BO3L0

Re: buildowrld fails in sendmail

2013-03-01 Thread Julian H. Stacey
12 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 > -DTCPWRAPPERS -DMAP_REGEX -DDNSMAP -DNETINET6

Re: buildowrld fails in sendmail

2013-03-01 Thread Sergio de Almeida Lenzi
all the options, but for sendmail only the last 2 are significant... It works for me ___ 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"

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. -DN

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 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 would only take care of o

Re: Sendmail relaying for Intranet?

2013-02-13 Thread Chris Maness
On Wed, Feb 13, 2013 at 12:47 AM, Zyumbilev, Peter 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 might be sim

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-12 Thread Bernt Hansson
2013-02-13 06:30, Chris Maness skrev: On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave 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

Re: Sendmail relaying for Intranet?

2013-02-12 Thread Chris Maness
On Tue, Feb 12, 2013 at 3:05 PM, Robison, Dave 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

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-

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. Is

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 > 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

Re: sendmail not working

2013-01-10 Thread Robert Huff
.3. This is (obviously) not the final solution, and I am trying 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@f

Re: sendmail not working

2013-01-10 Thread Karl Vogel
>> On Thu, 10 Jan 2013 11:30:01 -0500, >> Robert Huff 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 sm-mta[28896]: r0

Re: sendmail not working

2013-01-10 Thread Robert Huff
es. b) if yes, how long did you wait 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.jer

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-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 > To: Robert Bonomi > Subject: Re: sendmail not working > Cc: freebsd-questions@freebsd.org > > On 1/8/2013 9:18 AM, Robert Bonomi wrot

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

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

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 > To: freebsd-questions@freebsd.org, free...@dreamchaser.org, > Robert Huff > Subject: Re: sendmail not working > > On 1/7/2013 11:48 PM, Gary

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 this

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-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 process

Re: update to SASL breaks sendmail

2013-01-07 Thread Robert Huff
Any more thoughts on the problem? (I send a previous follow-up, but I'm not sure it got out.) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questio

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 ha

Re: update to SASL breaks sendmail

2013-01-05 Thread Dan Nelson
.2" to ",3". This appears to break > >> sendmail in at least two places. > >> > >> I have added a mapping in libmap.conf ... which seems to work > >> ... but I'm pretty sure that's Not The Right Thing. > >> What is? > > &g

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

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"

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 pla

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 q

Re: sendmail local-host-names questions

2012-08-29 Thread Robert Bonomi
> Date: Wed, 29 Aug 2012 01:45:19 -0600 > From: Gary Aitken > 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 does

Re: sendmail local-host-names questions

2012-08-29 Thread Jamie Paul Griffin
don't put dots at the end of the domain names in that file. In mine, i've just got: kontrol.kode5.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

sendmail local-host-names questions

2012-08-29 Thread Gary Aitken
ic Aug 28 23:10:05 nightmare 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 dom

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 > To: freebsd-questions@freebsd.org > Subject: sendmail + clamav + spamassasin config help > > FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-

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

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. ___ freebsd-quest

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 > > >

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 or

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 or

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 http://lists.fre

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 > >

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 as a

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

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 rem

Re: Removing sendmail from an installed system

2012-07-25 Thread Fbsd8
Lowell Gilbert wrote: Darren Pilgrim 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/* (excl

Re: Removing sendmail from an installed system

2012-07-24 Thread Lowell Gilbert
Darren Pilgrim 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/*

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 IGN

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 /us

Re: Sendmail and Postfix

2012-06-23 Thread Alejandro Imass
On Fri, Jun 22, 2012 at 8:15 PM, Robert Bonomi 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 >> Subject: Re: Sendmail and Postfix >&g

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 > Subject: Re: Sendmail and Postfix > > When you installed Postfix did you allow it to update the ent

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 li

Re: Sendmail and Postfix

2012-06-22 Thread Chuck Swiger
; and use, and the second 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 Unix

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" wrote: > On 22/06/2012 19:19, Walter Hurry wrote: > > It seems that Sendmail is embedded somehow in the b

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 http://lists.freebsd.o

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 t

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 instal

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

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+s

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

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 and

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

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 ro

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

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 wro

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]: NO

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/clien

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 > >

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 Ja

Re: Using sendmail as a client with auth

2012-02-14 Thread Nikola Pavlović
ng > >a real MTA like Sendmail or Postfix. > > If it is simple then it's no fun ;) > Heh, true that. -- Without ice cream life and fame are meaningless. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.

Re: Using sendmail as a client with auth

2012-02-14 Thread Trond Endrestøl
DHE-RSA-AES256-SHA, bits=256/256 > > > > I'm sorry for jumping into this thread, > > Don't be sorry for that. > > > but verify=FAIL is expected > > unless you have your ISP's certificate chain stored in the appropriate > > directory with the ap

Re: Using sendmail as a client with auth

2012-02-14 Thread Trond Endrestøl
S > 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. -- +---+-

  1   2   3   4   5   6   7   8   9   10   >