Server :: Sendmail - Everything Appears To Work But No Subject Is Logged
Aug 6, 2010
I am looking for the syntax for a sendmail ruleset to log the message subject to the syslog service. I have found a few posts on the web, but none seem to work. The basic appear to be - add the following to the sendmail.mc file then compile the sendmail.cf file using M4. The syntax suggested follows (I believe the rewrite rule is incorrect)(I and using <T> to indicate tabs):
LOCAL_CONFIC
Klog syslog
HSubject:<T>$>Check_Subject
LOCAL_RULESETS
SCheck_Subject
R$*<T>$:<T>$(log Subject=$1<T>$)<T>$1
sendmail.cf compiles and when used as the config file for sendmail - everything appears to work, but no subject is logged.
View 8 Replies
ADVERTISEMENT
Jun 21, 2011
I am trying to create a custom ruleset in sendmail, but not getting through, please guide me in right direction. I made following entry in sendmail.mc
LOCAL_CONFIG
Kspamsubject hash /etc/mail/spamsubject
HSubject: $>ScreenSubject
[code]....
View 5 Replies
View Related
Jan 8, 2011
I currently have the set up as shown below: [Internet] - [Gateway Appliance] - [Squid Server] - Client Workstations.
I have configured squid 3.1.6 on Ubuntu 10.10 and have got it working. However, When I add the line:
forwarded_for transparent The HTTP Header should remain unaltered (This is my understanding anyway).
What I want to achieve is that when a Client computer connects via the Squid server, it is routed via the Gateway Appliance and out onto the internet. But using the forwarded_for transparent I want the content filter list, to show the source computer as a client IP address and NOT the IP of the squid server.
Is this possible, if so could someone point me in the right direction onto getting it working.
View 4 Replies
View Related
Jan 28, 2010
I used fedora12 builded mail server uning sendmail and dovecot at my home, when I at home everything are works fine, no matter I sent email to hotmail, or hotmail sent to my mail server, but I got the problem that I can't access my home server when I at office, the error messages as below:
#telnet xxx.xxx.xxx.xxx 110
-ERR Cannot connect to POP server xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx:110), connect error 10061
#telnet xxx.xxx.xxx.xxx 25
[code]....
P.S there is no firewall between the my office and home
View 3 Replies
View Related
Apr 28, 2010
I'm Trying to setup Sendmail to work with my domain in my server which is :
Code: Linux Centos 5.4 My server can send mail locally to users in my Linux Box and it can receive mails from yahoo and other mail providers in the web, but when i try to send mails to yahoo or others it send me some mail delivery message which is :
[Code]...
View 8 Replies
View Related
Apr 2, 2010
Sendmail does not work anymore.
//deinstaled everything
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
/usr/sbin/sendmail: No such file or directory
//reinstaled everything, restart sendmail
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
[root@localhost ~]# /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
//fixed that with '-o' in /etc/mail/submit.cf, restart sendmail
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
// in mail.log:
Apr 2 12:49:16 localhost sendmail[6252]: o32AnGis006252: to=mymail@mymail.net
, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=49856, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
//test
[root@localhost ~]# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
//commented out #O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
//in sendmail.cf, restart sendmail
//test
[root@localhost ~]# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
View 11 Replies
View Related
Nov 30, 2010
I have this:
[Code]...
which runs a program. But I want to add some thing to it so that, if the subject contain a particular string, the program shouldn't be run. How do I do that?
View 1 Replies
View Related
Aug 3, 2010
I've been having this problem since 10.6 released, but have until now been successful with the "just use Thunderbird" response. My sendmail server hasn't been changed, but as clients upgrade from OSX 10.5 to 10.6 suddenly mail.app will no longer connects to send SMTP messages through the server. (IMAP connections to the same server using the same user/pass combinations work perfectly) When I look at the logs, things basically stop right after the STARTTLS command.
Google indicates alot of people are having similar problems, but I'm not seeing any solutions. Do any of you administrate sendmail servers where some of your clients are using Apple's Mail.app on Snow Leopard, and if so what settings are you using? At this point, I'm happy to make changes to the server to accommodate Apple's issue, I have too many Mac users connecting to my server. I just can't figure out what to change. I've enabled virtually every possible login authentication combination, and none of them work.
View 1 Replies
View Related
Jan 22, 2010
I've a mailserver based on postfix. I'm queueing all the emails that have to be sent. After that I'm managing the queue with the output of mailq.
But in this way I'm just able to have this details of the queued mails: sender, receiver, size, time. There is a way to see also the subject of that emails?
View 2 Replies
View Related
Feb 27, 2011
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system
oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
View 2 Replies
View Related
Nov 1, 2010
I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message
Quote:
The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at sendmail.org, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have
Quote:
Sendmail M4 base directory = /usr/share/sendmail-cf
which is not there. I did a locate / sendmail-cf on the command line, it finds nothing
View 17 Replies
View Related
Sep 19, 2010
I need help with header_check filter on postfix. In the last week mail users received a spam e-mail without subject line and I don't know what is the way to reject this. This is the example of message header:
From: "example@example.com"
Date: September 16, 2010 9:07:43 AM GMT-04:00
To: <example@example.com>
I want to reject e-mails that don't have Subject line
View 2 Replies
View Related
Sep 8, 2010
How would one setup a header_check that would discard all emails that have more than 6 words in it? Such as, if there are more than 6 spaces in the entire message it would be deleted? I cannot find this out but it would reduce my spam intake by 50+ a day.
View 2 Replies
View Related
Feb 2, 2010
Did anyone heard about or can suggest mabe a postfix serverside solution in order to insert a counter number into the subject line before the message is sent?
I mean something similar with helpdesk tickets, because I would like to create the possibility for the senders, to make further refference about a speciffic message using it's counter number provided by postfix server.
View 5 Replies
View Related
Apr 1, 2010
I recently modified sendmail.cf to use a third party SMTP server to send emails. It works great. But when I run sendmail from the command line, I have to specify the -C flag and force feed it the location of my sendmail.cf, or else it doesn't work.
So in other words, the following works great:
However, if I don't specify the -C flag, sendmail doesn't consider what's in the sendmail.cf and barfs:
I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of sendmail.cf are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another sendmail.cf on the machine and only the one in /etc/mail came up.
Why sendmail is not reading my sendmail.cf?
I'm running Sendmail version 8.14.2 on Fedora Core 8.
View 1 Replies
View Related
Feb 1, 2011
Anyone know a simple command line to check for a specific email - by subject - on an SSL secured IMAP server?
View 2 Replies
View Related
Mar 10, 2011
I can use the accents (tilde, acute, ...) normally when I am the root, but when I log into my user account they re not recognized in most applications (opera, emacs, amsn, python idle,...) although they work in other applications (terminal, vim, iceweasel...). I guess that would have a simple solution. Something is right in the root account and wrong in my user account, but I cant figure it out. My layout is USA International (with dead keys).
View 4 Replies
View Related
Dec 28, 2010
I was at the login screen on my desktop and I tried to hit my samba share from my Ubuntu laptop. Couldn't find it.I logged in, went back to my laptop, oh hey it worked.I have a static IP assigned to my desktop. Is there any reason why this backfired? I'm just trying to find the proper answer for this
View 1 Replies
View Related
Feb 27, 2010
this never seems to happen on my main admin account, but on the second user account sometime after i log in sound stops working. ive checked the Comprehensive Sound Problem Solutions Guide and my sound chip shows(onboard). what should i do to try and solve this? also i was wondering if there's and ubuntu equivalent of silverlight?
View 1 Replies
View Related
May 18, 2011
Since today the keyboard doesn't work. I can input username and password but after logged in I can't work with the keyboard. It seems locked. The mouse works correctly. If I boot with Windows the keyboard works correctly.
View 2 Replies
View Related
Mar 23, 2010
I am facing login issues when i try to login as admin using phpldapadmin into ldap server. Installed phpldapadmin for administering ldap server from the repository:
1)[url]
2)yum install phpldapadmin
Able to see the default phpldapadmin login page.
ldapadmin throws the error as "Bad username/password.Please try again"
But when i login as anonymous i am able to login but the web page asks whether to create the root domain?
whether anything needs to be done for making it login as admin.
The details of my set up are as follows:
My slapd configuration:
View 7 Replies
View Related
Mar 27, 2010
I'm trying to get sendmail to work with php but i can't even seem to get it to work on it's own. I'm logged in as root (su root). I have in php.ini: commented out smpt and smtp port (win 32 only it says) and sendmail_from commented out
For unix only
sendmail_path=/usr/lib/sendmail
sendmail seems to be installed i can run it from bash. I try sending an email using:
sendmail example@whatever.com
message
ctrl + D
which i saw somewhere however the email doesn't seem to go through. I've also tried (after restarting apache server) to use mail() php function and that also doesn't work. Any ideas?
View 3 Replies
View Related
Jul 12, 2010
How can I (as admin) find out when a certain user e.g. "karl" most recently logged in and most recently logged out of a system?
View 2 Replies
View Related
Dec 21, 2010
I recently removed Winblows Vista from my laptop and replaced it with Kubuntu 10.10 (I left the recovery partition on there, just in case). When I turn on the computer, the GRUB menu appears, I press enter, then a little flashing underscore appears on the screen in the top left hand corner. After a few seconds, the Kubuntu logo appears and I can log in.But yesterday I replace Kubuntu with Ubuntu 10.10. The Boot process is the same, but the little flashing underscore in the top left hand corner flashes for about 10 seconds longer then Kubuntu 10.10 did, and then a few paragraphs of text appears for a few seconds, then I am logged in automatically.Is this "unusual" boot process anything to worry about, or am I just being a noob.
View 1 Replies
View Related
Mar 29, 2010
I noticed that my VPS was rebooted recently and a new service appears
[root@localhost ~]# pstree
init─┬─brcm_iscsiuio───2*[{brcm_iscsiuio}]
View 3 Replies
View Related
Nov 14, 2010
I'm new to Linux which just installed a new virtual CentOS server to try RANCID to pull router configuration and I succeed to pull out the configurations as I wish, but I failed to receive a notification email from the server.After a few tries, I realize that I need to configure sendmail to work with RANCID to send an email! And I also tried to configure sendmail files, but failed..I totally blank and don't how to configure sendmail, anyone here can guide me? What is the must to configure to make sendmail to work with RANCID? Do I need to configure my server as mail server?1. A server that I configured a sendmail is called mail server?2. What is my mail server's name and domain name? . lnx-svr01.site.net, lnx-svr01 is my mail server name and site.net is my domain name
View 5 Replies
View Related
Nov 1, 2010
I try to write a script which would kill processes of users who are not logged in. My approach is to find out what users are logged in and then kill processes of all nonsystem users who fail the test of being logged. I use `w` for finding all logged in users, but apparently there are users on the list which `w` gives me who own absolutely no process in the output of `ps aux`. How do I log off those users, since killing their processes wont work (since they own no processes)?
View 4 Replies
View Related
Sep 6, 2010
Been using CentOS for a couple of weeks and have a few quirks I need help with.
This is a fresh install of CentOS 5.5. I'd love for VNC Server to start up as soon as the computer reboots. It seems my VNC Server only works when I log in using the GUI at the computer itself. After a reboot I can remotely SSH into it successfully, but cannot VNC to it. I then have to physically get to the computer and log into the GUI, and wa-la I can VNC to it. I have not edited any conf files - seeing as my last attempt at getting this working got me nowhere. I have only enabled Remote Desktop through the GUI.
View 8 Replies
View Related
Mar 4, 2011
I recently installed FC14 as my server and is able to ssh and vnc into the server when locally logged in. If i logged out (at login screen) then i cant ssh or vnc into the server. It is pointless to have a server if i am not able to remote in via ssh and vnc.
View 7 Replies
View Related
Jul 31, 2010
When I'm logged on to another host (e.g via ssh), how do I connect to the XServer of that machine (same user is logged in and is running a desktop (gnome))?
You may ask way I wish to do that: There are commands that don't open an X-Window, e.g. xinput, xhost, etc.. and there are situations where you want to run them from remote.
View 3 Replies
View Related