Tag Info

New answers tagged

1

I fixed the problem with procmail. Source: http://www.netikka.net/tsneti/info/proctips.php#forward Below is an example: #Get the sender's bare email address from the first "From" line FROM_=`formail -c -x"From " \ | expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g' \ | awk '{ print $1 }'` #Get the original subject of the email #Discard ...


1

Use an alias like this: user: user, user2 According to the local(8) man page: When an address is found in its own alias expansion, delivery is made to the user instead. So you don't get infinite recursion.


0

I don't know the answer about KHOP_BIG_TO_CC, but here's some tips for exploring your server: You can view which rule files are being loaded by spamassassin with this command: spamassassin --lint -D 2>&1 | grep 'config: read file' On a RHEL 6 system using sa-update I found the rule sets under /var/lib/spamassassin. You can grep all cf files with: ...


0

The "mail" command will try to run /usr/sbin/sendmail locally to deliver the email message. "mail" is a MUA (Mail User Agent), while sendmail is a MTA (Mail Transport Agent). If you want "mail" to deliver to a fixed relay, you can either install sendmail and configure that to do what you want, or alternatively install "ssmtp" which is specifically designed ...


1

On closer look those missing 25 mails most likely are chat conversations which show up in Gmail within 'All Mail' but as far as I can see cannot be synced with offlineimap. https://github.com/OfflineIMAP/offlineimap/issues/119


0

I found the reason by myself finally. All that because of: net.ipv4.tcp_tw_recycle=1 Because of windows always don't have timestamp option in the SYN package,but the Linux ones always have timestamp option,so mail server didn't create new TCP/IP connect with request which have a wrong timestamp.


2

My computer has postfix server installed by default with red hat That's basically your answer right there: RedHat included a default configuration with Postfix, sufficient for it to deliver mail. How to route email is published in DNS (it doesn't just turn host names into IP addresses); most likely your machine's Postfix asked DNS where to deliver ...


0

Yes, cyrus does that. You need to login as cyrus user and then it should work, but if i remember right, you first need to create the user directory where the user has rights and only he can then create another (his) directories there.


4

Make a function: email_myself() { sudo mail -a "$1" -s "Subject of E-mail" myemail@gmail.com; } If you want your function to hang around permanently, and assuming that bash is your shell, add the definition as a line to your ~/.bashrc. For those who prefer shell scripts to functions, create a file named email_myself, make it executable (chmod +x ...


3

Well, this one is not exactly the way you want. But still it could be useful for the second option in your question. Install the required packages. sudo apt-get install msmtp-mta Edit the following file to add the details. If the file doesn't exist, you could create it. vi ~/.msmtprc #Gmail account defaults logfile ~/msmtp.log account gmail auth on ...


1

I use the ommail module in rsyslog. Configuration is straightforward, you can use multiple smtp servers for sending your alert emails (as a failover): $template mailSubject,"EMERGENCY:" $template mailBody," %$NOW% %timereported:8:15% %programname%: %msg%\n" $ActionMailSMTPServer mail1.example.com $ActionMailFrom ...


1

I use logcheck to scan my log files. It scans new entries once an hour and emails me any unknown lines as well as known lines which are classified inclusion in the report. There are also tools which will watch your log files and email you when they certain content.


0

This is going to largely depend on what MTA you are running. CentOS comes with two primary mail servers installed (sendmail and postfix). Sendmail is the default. If you haven't changed anything and the defaults are in-place, you can check all sendmail's configs in /etc/mail/ (except for aliases in /etc/aliases). If the primary was switched over to ...


3

The binary attachments need to be encoded as ascii and that typically expands them with 20-25%. You will have that expansion problem with any mailer, commandline or not. You can easily test that by using thunderbird and sending the file through Google (or your provider).


2

Change this line in master.cf: smtpd_tls_security_level=encrypt to smtpd_tls_security_level=may


0

I've been having this exact same issue on CentOS 7. After hours of trying to figure it out. I turned off SELinux and it worked. So the issue it certainly SELinux. To see if its enforcing type: getenforce To turn it completely off just type: setenforce 0


1

If you have a mail client like mutt available you can open those files directly like so: $ mutt -f /path/to/mail/file It may prompt you to create the following folder, $HOME/Mail, just say no (n) to this question. /root/Mail does not exist. Create it? ([yes]/no): You'll then be able to use t to tag any emails you don't want to keep. Once they've ...


1

authenticating ID must match your sending address. The server mysite.smtp.com: (or more specifically, the MTA its running) rejects your mail, because you authenticate as one user (myUser), but send a mail as another user.



Top 50 recent answers are included