Re: sendmail autoresponder
This isn't a sendmail solution, but I use openwebmail for my company's webmail interface, and it has an autoresponder option. It'll send back an email response, and you can simply set up filtering to dump the incoming mail to the trash folder. -jim - Original Message - From: Dave [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Friday, February 17, 2006 11:24 AM Subject: sendmail autoresponder Hello, I've got a box that i took over that runs sendmail, mailscanner, and sa for antispam. There's an email address at one of the domains that the owner has indicated he would like an autoresponder hooked to it. THe objective is whenever someone sends to that address it won't be delivered to a mailbox, but dropped and the autoresponder msg will be sent back. I'm a sendmail newbie in the extreme and would appreciate any advice. Thanks. Dave. ___ 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]
Blocking an individual email address....again
I'm reposting this with some more info.any help would be greatly appreciated. I have a mail server (it also functions as a firewall) running freebsd5.4, with mailscanner, openwebmail, and sendmail. I wish to block an individual email address, but I do not want to mark it as spam. My first solution was to add the blacklist feature to the sendmail.mc file, and recreate the .cf file, which I did. I then added the line To:[EMAIL PROTECTED] REJECT to the /etc/mail/access file, and ran make maps. I also had added the line [EMAIL PROTECTED] REJECT. This then blocked that address from sending email to people on my internal network. When I tested it from outside my network I used openwebmail as a web interface to send email to that address, and it failed. Which was what I wanted. However, from inside my network, using Outlook, you can send email to that address without a problem. It seems as if the access.db is doing it's job. When using openwebmail, the smtp server rejects any attempt to send mail to that address. however, locally, it does not. When i'm sitting in front of my windows client, I can use Outlook and send email to that address without a problem. Does anyone know why via a web interface, the access file rules would apply, yet they would be ignored when sending mail from inside the network using Outlook to send external email? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking an individual email address
- Original Message - From: Ken Stevenson [EMAIL PROTECTED] To: Jim Csoka [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Thursday, February 16, 2006 10:31 AM Subject: Re: Blocking an individual email address Jim Csoka wrote: No...I ran make maps, as well as make install for the blacklist feature, and make restart. However, here is something interesting. When I access my corporate email via openwebmail, it functions as I would expectyou cannot send or receive to the given address. However, when using Outlook Express (internal mail client at work), you can still send mail to the address I am trying to block. Why should this be so? Are you sure Outlook Express is configured to use your FreeBSD server for SMTP? Send an email to yourself using Outlook Express then look at the message source and check the headers to verify which SMTP server is sending the message. -- Ken Stevenson Allen-Myland Inc. Yes, I'm sure. It is the incoming and outgoing SMTP server. It's the only one we have. -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking an individual email address
- Original Message - From: [EMAIL PROTECTED] To: James Csoka [EMAIL PROTECTED]; Ken Stevenson [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Thursday, February 16, 2006 10:55 AM Subject: RE: Blocking an individual email address Jim Csoka wrote: No...I ran make maps, as well as make install for the blacklist feature, and make restart. However, here is something interesting. When I access my corporate email via openwebmail, it functions as I would expectyou cannot send or receive to the given address. However, when using Outlook Express (internal mail client at work), you can still send mail to the address I am trying to block. Why should this be so? Are you sure Outlook Express is configured to use your FreeBSD server for SMTP? Send an email to yourself using Outlook Express then look at the message source and check the headers to verify which SMTP server is sending the message. -- Ken Stevenson Allen-Myland Inc. Yes, I'm sure. It is the incoming and outgoing SMTP server. It's the only one we have. -Jim ___ Yes that may be the only one you have, but that does not stop the user from configuring their outlook express from using their personal email account at their ISP. To stop this you can add firewall rules to deny all LAN traffic out to ports 25 110 by coding the private LAN ip address range in the rule from option. Since your SMTP service is on the gateway box where the firewall is your outbound port 25 will pass because your using the public ip address or if that is not the case then just add a rule before the deny rule to pass your SMTP LAN ip address. Understood. However, most everyone here in my office (a mortgage company of about 25 people) can barely even spell the word computer much less use one effectively. And, aside from that, I am running these tests from my windows client, so I can verify that it is configured correctly for the purpose of running these tests. Although I wish it were as simple as someone using a different SMTP serverit would make my life easier :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Blocking an individual email address
I am running a FreeBSD 5.4p10 machine at my office. It functions as our firewall and mailserver. I am running Mailscanner, which invokes sendmail when necessary to process mail. Sendmail is not started by defaultMailscanner invokes individual instances of it when it needs to. Here is my problem. I have an employee at my office that is sending work email to her home email address. I need to find a way to block her email address, whether To, From, Cc, Bcc, or whatever, from passing through my mailserver. I have already added a line to /etc/mail/access (in the format [EMAIL PROTECTED] REJECT), and have run makemap hash /etc/mail/access.db /etc/mail/access. I tested this with my personal email address (external to my network), and it had the effect of blocking any email orginating from my personal email to any address at my work, however it does not prevent me from sending emails to this address from a work address, which is the whole point. Does anyone have any ideas? I could tag the address as spam, but I would rather not. There has to be a way to block anyone from sending to a certain email address, I would think. Any help would be appreciated. -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blocking an individual email address
Okay...I think I answered part of my question. /etc/mail/access only governs mail relaying. Which would mean that of course, it wouldn't accept mail from that address, but would have no problem sending mail to it. Soany ideas on how I can simply block 1 particular email address, without marking it as spam? - Original Message - From: James Csoka [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, February 15, 2006 10:52 AM Subject: Blocking an individual email address I am running a FreeBSD 5.4p10 machine at my office. It functions as our firewall and mailserver. I am running Mailscanner, which invokes sendmail when necessary to process mail. Sendmail is not started by defaultMailscanner invokes individual instances of it when it needs to. Here is my problem. I have an employee at my office that is sending work email to her home email address. I need to find a way to block her email address, whether To, From, Cc, Bcc, or whatever, from passing through my mailserver. I have already added a line to /etc/mail/access (in the format [EMAIL PROTECTED] REJECT), and have run makemap hash /etc/mail/access.db /etc/mail/access. I tested this with my personal email address (external to my network), and it had the effect of blocking any email orginating from my personal email to any address at my work, however it does not prevent me from sending emails to this address from a work address, which is the whole point. Does anyone have any ideas? I could tag the address as spam, but I would rather not. There has to be a way to block anyone from sending to a certain email address, I would think. Any help would be appreciated. -Jim ___ 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: Blocking an individual email address
After reading the page you linked to, and looking at the examples, I added the line To:[EMAIL PROTECTED] REJECT (using my personal email), and it had no effect. I can't find any good reason it didn't work, but it fails to prevent me from sending mail from inside my work network to my home address. any ideas? - Original Message - From: Dan Nelson [EMAIL PROTECTED] To: James Csoka [EMAIL PROTECTED] Cc: Freebsd - Questions freebsd-questions@freebsd.org Sent: Wednesday, February 15, 2006 11:12 AM Subject: Re: Blocking an individual email address In the last episode (Feb 15), James Csoka said: Okay...I think I answered part of my question. /etc/mail/access only governs mail relaying. Which would mean that of course, it wouldn't accept mail from that address, but would have no problem sending mail to it. It covers local and outgoing delivery as well. If you add To:[EMAIL PROTECTED] REJECT then no-one will be able to send mail to that user from your site. See http://www.sendmail.org/m4/anti_spam.html#access_db_fine . -- Dan Nelson [EMAIL PROTECTED] ___ 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]