Tag Info

New answers tagged

1

With the Heirloom mailx, convenient way is mailx -s "$(echo -e "Newsletter issue 3\nContent-Type: text/html")" user@server.com < /tmp/htmlmail.txt Thanks, Dude Tested on Fedora 17, and worked


2

Can somebody please explain how this works? Who copies the emails into /var/spool/postfix/maildrop, is it the email client (heirloom in my case) ? Local mail submissions, are received with the Postfix sendmail compatibility command, are queued in maildrop queue by postdrop program. The postdrop command is designed to run with set-group ID ...


0

To avoid the URIBL block, you must either point to a recursive DNS server that isn't itself blocked, or you must run your own fully recursive DNS server on your own IP address (that presumably isn't blocked). As suggested, you can run something full-featured such as bind or djbdns. You can't get away with a "lightweight" DNS server such as dnsmasq that ...


2

I don't know the details of your setup, but I would suggest that you check that your Thunderbird clients are properly configured, before you start troubleshooting your IMAP server. In particular, you should make sure that in: Edit -> Account Settings -> Synchronization & Storage -> Message Synchronizing -> Advanced You have all ...


0

Use verbose mode (-v) to avoid ctrl+d echo -e 'Mail body'| mail -v -s 'Mail Subject' my@email.com


0

According to WineHQ the application will install but it's very likely that it won't run at all. Your current solution (having Windows in a VM) seems like the more seamless and effective solution to the problem. Unless something change, I recommend using a Virtual Machine instead.


1

From comment: The problem in this case is that the domain has not been marked as active, so when mysql is queried for active domains this one is not returned.


1

I suspect your ISP is running multiple proxy servers with load balancing, and these are the IPs of the proxy. Web proxies wouldn't have any effect on SSH sessions. If you run who on the SSH server, it should show the IP that this session is coming from, which is your real public IP.


0

You mentioned that you use a 4G modem to establish a connection. Have you access to some logging output of this modem ? It sounds like your modem loses the connection and establishes a new one with also a new IP address. One of many possible reasons could be, that your cell tower has to handle to much user. Or there is another device which interferes with ...


1

This behaviour can be perfectly explained if your ISP uses Carrier-grade NAT: Multiple users share a pool of few public IPv4 addresses. Often, provider of mobile internet access (4G, ...) uses this technique. As the IPv4 address room is mostly used/reserved, this is a cheap solution for ISPs to provide IPv4 access to their customers. Usually, you get still ...


0

Use traceroute or tracepath to get an idea what your real connection to that host is. Given that those services really only output the source IP of your connection and you have no mistake in your script, you have some really strange routing setup. Either by yourself or by your ISP.


2

AFAIK mail notification is a shell function, in bash by setting the MAIL environment variable and it has little to nothing to do with the mailx command. In a different shell it may function differently. In my RHEL system it is configured in /etc/profile with MAIL="/var/spool/mail/$USER" A simple echo $MAIL will show if it is set or not. At first glance ...


1

You have to use text-color instead of color.


1

You have changed the colors only on two HTML elements (body and td). You may need to do that for other elements, or * for all elements.


5

You can start Thunderbird from the commandline with the -P <profile> option to specify a different profile. Within the different profiles you have complete seperation. IIRC specifying a profile implies the -new-instance option when starting thunderbird but if not, just add it. To create a new profile start thunderbird from the commandline with: ...


2

AFAIK, Mutt itself cannot do such checks, but there's a workaround! The idea is to redefine the $sendmail variable to use a wrapper that will check the mail before sending it. For instance, in your .muttrc file: set sendmail=$HOME/scripts/sendmail-mutt This script can either terminate with an error (non-zero exit status) or terminate successfully with ...


1

Change your config to match this: # /etc/ssmtp/ssmtp.conf root=youremail@gmx.com mailhub=mail.gmx.com:587 rewriteDomain=gmx.com hostname=gmx.com rewriteDomain=gmx.com FromLineOverride=YES AuthUser=youremail@gmx.com AuthPass=yourpassword UseSTARTTLS=YES Source: https://help.gmx.com/en/applications/pop3.html


0

Here's my code using mail array: MAILADDR=(mail1@example.com, mail2@example.com, mail3@example.com) for i in "${MAILADDR[@]}" do echo "Mail test..." $i done


2

Assuming you use sendmail or mail in your script (which both expect a comma separated string as list of recipients), you can concatenate the IDs (or directly write them as such a list): $: recipients="rec1@example.com, rec2@example.com, rec3@example.com" or concatenating: $: base_recipients="important1@example.com, important2@example.com" $: ...


-1

This is working fine for me. 0 3 * * * /opt/appsomething/scripts/mysqlbkp_localserver.sh 2>&1 mail -s "Backup routine from server" root



Top 50 recent answers are included