3
votes
0answers
9 views

Selecting different accounts in a mutt send-hook

I use the instructions outlined here to use different accounts in mutt. I'd like to be able to select different accounts depending on sender--send-hook seems like the right way to go. send-hook ...
1
vote
1answer
13 views

Mutt - sent and drafts in the INBOX

I'm using offlineimap + mutt + msmtp to handle my email. I would like to have an unorthodox configuration, where all of my current mail (received, sent, and drafts) reside in the INBOX (or at least a ...
1
vote
1answer
39 views

Selectively forward email based on domain?

I have an alias on my mail server, call it splitusers. Based on which domain (a couple are run off one mail server) is used, I would like the mail forwarded to a different user account. Eg: ...
1
vote
1answer
17 views

configure exim for system email forwarding (outside) , on a server with dynamic ip, behind a DNS router

Trying to configure exim to deleaver email to the outside world. I/We need to send email outside just for centralize certain admin notifications. Working on an already configured debian webserver, ...
0
votes
0answers
8 views

suitable openldap schema for mailserver

I'm currently looking for a suitable openldap schema for a mailserver. More specifically, I'm looking for a schema that includes the mailAlternateAddress and mailForwardingAddress attributes. Until ...
1
vote
1answer
19 views

Unix Fetchmail Utility: date on which email was received

I've successfully configured fetchmail and I'm able to download messages from the mail server but I'm not sure how to get the date on which a particular email was received. I need this date for ...
0
votes
3answers
24 views

How to disable receive email at dns level?

I'm completely new to DNS and how it work. Lately I've been getting mail spammed like crazy on one of my domain. I'm not using any mail for this domain and don't need it. I don't want to stop it just ...
4
votes
1answer
64 views

simple script for monitoring a mailserver

I would like to use a simple bash script (python would be second best) to monitor regularly (hourly) if my mailserver is online and operating. I know that there are dedicated solutions for this task ...
0
votes
2answers
25 views

Sending zip file containing plain txt file via email

How to send a plain txt file in a zip file via email in unix? The contents in the txt file should be word wrap.
1
vote
1answer
28 views

automate updates with a bash script and cron

I'm trying to automatize the updates of debian system, without making upgrades. Then i'll send an e-mail to me, everytime there is an upgrade available. I've tryied to do it with cron-apt, but i ...
2
votes
1answer
19 views

Postfix Relay Multiple Domains with Multiple Origins

I currently have Postfix relaying multiple hosted customer solutions which all works as expected. There are no local accounts and it is used solely as a relay server. In the config I have the ...
2
votes
2answers
38 views

Securely inspect email attachment

I received a really classic spam mail stating that I have to pay a bill. The mail included an attachment (.exe). Just for curiosity reasons: What would happen if I click on the attachment? (I am ...
3
votes
1answer
68 views

Are there any alternatives to mutt?

I really like the idea of Mutt, reading mail in the terminal. I'm not really pleased with some inconsistencies and the imap handling. I set about trying to find some alternatives to mutt, but I can't ...
1
vote
1answer
23 views

mbsync: Move subfolders to root

My mail provider (Fastmail) puts the folders I define in the webinterface inside the INBOX. Thus when I sync them using mbsync I obtain the following: INBOX - .Drafts - .Foobar But I would prefer ...
1
vote
0answers
49 views

How to configure Squid for Microsoft Outlook?

I have configured a Squid proxy server on RedHat Enterprise Linux 5.4. All my Windows clients have been configured to use the proxy at 192.168.5.100, port 3128 when accessing the Internet. However, ...
4
votes
3answers
68 views

Is it possible to have an outgoing SMTP server when port 25 is blocked?

I have a Debian machine (actually a Raspberry Pi) that I would like to use as a rudimentary, outgoing-only mail server over a residential connection, just for kicks. Port 25 is blocked. I would like ...
0
votes
1answer
25 views

Cron: Client does not have permissions to send as this sender

Platform: Arch Linux Cron: cronie Mail: msmtp I discovered that sending cron output to a mailbox hosted by Office 365 produced the following error, even though sending mail through the CLI was ...
0
votes
0answers
13 views

Cyrus create mail box gives error permissions denied

On freebsd91 64 bit i installed exim as mta and cyrus as imap server. I use saslpasswd2 root cyradmin -user root localhost localhost> cm INBOX.Sent It gives permissions denied error. In my ...
0
votes
0answers
37 views

Postfix: restrict all external access but allow for only mynetworks

How can I restrict access for an internal domain but allow all access for me the administrator? All users should be blocked from communicating outbound and no external domain may contact them, but I ...
1
vote
0answers
16 views

What Causes Mutt To Fail In This Way

When sending an email, the authentication and uploading stages exit successfully. After a long period with the message Connecting to gmail.com, the error message Could not connect to gmail.com (No ...
2
votes
1answer
29 views

Block local (unix) users from sending mail

Is there a way to block a local/unix user (or a list of local users) from sending mails via mail command (or maybe even in postfix, which is the MTA I have).
0
votes
2answers
66 views

Using an email without email services

I know that I can send email with the mail command. Something like echo “Hello world” | mail -s “Hello world” foo@bar.com would do the trick. But, given that I and a partner are online, how can we ...
2
votes
0answers
26 views

Solaris cron ignoring mail aliases?

As a Solaris user, I want cron jobs generated emails for the localuser@server to be forwarded to my myuser@sample.com email account, so that I read only one inbox. To resolve this I have forwarded ...
2
votes
1answer
46 views

How do postfix and mailx interact with mbox locking?

If postfix is setup as the MTA using its virtual transport to deliver mail to a local mbox file (and handling delivery of outgoing messages), and mailx is the MUA, being used on that same computer for ...
0
votes
1answer
46 views

SMTP server that works with gmail?

I'm running debian and in the past I used google apps free edition. That is no longer available so I won't be able to use it for my new domain on my new box. In the past when I tried to setup a smtp ...
0
votes
0answers
33 views

Spam don`t get rejected from Amavisd?

I see the following in my maillog: (20448-09) Passed SPAMMY {RelayedTaggedInbound}, [12.21.30.50]:63138 [12.21.30.50] <advertisebz079guqn@gmail.com> -> <sales@censored.com>, ...
2
votes
1answer
28 views

Metadata for exchanging BSD mailbox files

The BSD mailbox format has, according to Jamie Zawinski, never been formally documented (see his anti-content-length rant), and does not have, as far as I know, any formal identifiers that may be used ...
3
votes
1answer
34 views

Center Mutt pager horizontally

Is there a way to horizontally center emails when reading them in a larger terminal using mutt? I'm not interested in centered justification of the text in the email, but I am interested in forcing ...
0
votes
1answer
12 views

Disabling sentbox in postfix over Squirrelmail

I have installed POSTFIX over Squirrelmail on CentOS Linux... The services I have ran are: service httpd service ssl service mysql service postfix service saslauthd service dovecot But I want to ...
1
vote
0answers
24 views

Why am I not receiving any system e-mails? [closed]

In my crontab, I have the following: * * * * * sh /home/rimmer/test.sh In /home/rimmer/test.sh I have the following: #!/bin/bash echo 'test'; I have also set chmod +x /home/rimmer/test.sh, of ...
2
votes
2answers
33 views

procmail recipe with a regex doesn't work

In my ~/.procmailrc I have the following lines: :0 \* ^Subject:.*(O|o)pen( \|)(S|s)(onic|urge) $MAILDIR/OpenSurge/ As you see, I would like to put any mail containing “Open Surge” (or any variant ...
0
votes
3answers
172 views

How to install postfix for sending mails to admin only?

I have a VPS running Ubuntu 13.10 on Digital Ocean. I'd like to install postfix on the server, but I want it to be able to send e-mails only to my e-mail address whenever a system message wants to be ...
0
votes
0answers
20 views

Batch encrypt all mail on IMAP server

I would like to keep my emails on my provider's IMAP server for convenience and as backup archive; however, I do not want my provider (or anybody else) to be able to read those 'archived' emails. ...
0
votes
1answer
48 views

Where are my emails stored on CentOS 5.6

I have a CentOS 5.6 VM installation and currently have a handful of emails that I would like to get access to. When I run mail as root, I get: [root@dev mail]# mail Mail version 8.1 6/6/93. Type ? ...
1
vote
0answers
76 views

Linux mail, attachement with uuencode works until I add headers

I have a command I have been using to send emails with an attachment and a message body (cat msg_file.txt; uuencode file.csv file.csv) | mail -s "subject" user@mail.com as soon as I add the -a ...
4
votes
3answers
96 views

RHEL - Uuencode + mailx = gibberish

I understand uuencode is for encoding files, and mailx sends mail. However, I'm not exactly understanding... Why uuencode file file | mailx -s "subject" email_adress keeps sending messages with the ...
1
vote
1answer
25 views

Email server with automatic + sign aliases?

Is there currently a Linux email server that will allow me to replicate how Gmail or Outlook allow aliases. i.e. with Hotmail (which is now Outlook) or Gmail I can sign up on a site and use ...
3
votes
1answer
63 views

reading offline Maildir archive with graphical email client

I have an archive of old emails in Maildir format. The directory (let's call it my_archive) has proper Maildir structure $ ls ./my_archive cur new tmp I am able read the emails with mutt by ...
0
votes
3answers
42 views

Get contact information of system administrator from the terminal

Do any of the common Unix/Linux platforms provide a way to query the system administrator contact information from the command line. Obviously a system admin might not include this information when ...
0
votes
1answer
64 views

What's the safest way to pipe an email to a script via procmail?

I have a simple procmailrc recipe that hands mail off to a script: LOGFILE=/home/foouser/procmail-log VERBOSE=yes MAILDIR=/var/spool/mail/foouser DEFAULT=/var/spool/mail/foouser SHELL=/bin/sh ...
2
votes
1answer
39 views

How to identify faked mail origin?

Today while setting up a mail server using postfix, I practiced to use sender_canonical_maps option, and noticed that it can change outgoing mail "sender" to appear like someone else. When Gmail ...
2
votes
2answers
47 views

Why does procmail send a copy of an inbound message to sender if it encounters an exit code?

I have a very simple procmail process that takes an inbound email and redirects it to a script: LOGFILE=/home/foo/procmail-log VERBOSE=yes MAILDIR=/var/spool/mail/foo DEFAULT=/var/spool/mail/foo ...
0
votes
1answer
49 views

Sendmail relay to dmz to another relay

We have two domains. One of which is isolated. We're trying to forward mail from one domain, through a DMZ to a relay on the other domain. Using EHLO through telnet works. Using the mail command and ...
0
votes
1answer
26 views

Using the same mbox file for multiple accounts

Is it possible to use the same mbox inbox file (retrieved with getmail) to load mails from two different email accounts without causing any conflicts?
0
votes
1answer
88 views

Calling an email script from another script using ssmtp on ubuntu

I have an issue with a script, which works fine except that it only sends email when I run it directly from the shell but when called during crontab it doesn't send the emails. There are 2 scripts ...
0
votes
0answers
54 views

Mail queue keep growing

My server keeps running short on inodes due the mail queue getting crazy. First, I assumed I had postfix not configured properly, so I switched it off. But, it happened again, last time I did it I had ...
0
votes
1answer
112 views

How to print gmail inbox messages

I want to print inbox messages one by one (like cat someFile) so that I can parse the message contents. something like printGmail InboxMesg1 | grep some | sed some Using curl I can access the ...
0
votes
0answers
32 views

How can I configure postfix to send mail from my domain?

I currently have a VPS set up with postfix and dovecot, running on a mail server located at mail.noelforte.com. The setup works fine for receiving mail, as whenever mail is sent to @noelforte.com, the ...
1
vote
2answers
65 views

Why access file is being ignored by Postfix?

I have installed Postfix, I can send mails between local users as expected, but I would try to limit the access of a particular user to the server. I edited the /etc/postfix/access file in this way: ...
1
vote
1answer
187 views

Why I can't send mail to remote mailbox?

I have installed Postfix on my CentOS machine. I can nicely send mails to local accounts with mutt, but when I try to send one to a remote mail like myactualmail@gmail.com, I cannot understand why I ...