Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.
1
vote
2answers
11 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
9 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
11 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
29 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
15 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 ...
0
votes
2answers
61 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” [email protected] would do the trick.
But, given that I and a partner are online, how can we ...
2
votes
0answers
20 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 [email protected] email account, so that I read only one inbox.
To resolve this I have forwarded ...
2
votes
1answer
35 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
40 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
20 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] <[email protected]> -> <[email protected]>, ...
2
votes
1answer
27 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
29 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
11 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
22 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
31 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
130 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
17 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
38 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
66 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" [email protected]
as soon as I add the -a ...
4
votes
3answers
68 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
23 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
49 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
40 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
54 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
38 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
40 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
37 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
22 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
63 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
44 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
89 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
25 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
59 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
130 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 [email protected], I cannot understand why I ...
1
vote
1answer
46 views
Maildir and mailutils?
I want to use the mailutils app on a install of Ubuntu 12.04.3 LTS with a Maildir format, but every time I run the mail command, the system looks in /var/mail/user, instead of the Maildir directory in ...
2
votes
2answers
53 views
Automatically attach a file to a mail with mutt
Meow everybody,
I am searching for a way to automatically attach a file ~/.mutt/example.vcf to any mail I compose with mutt.
I tried something like send-hook 'attach-file ~/.mutt/fauve.vcf' but it ...
2
votes
1answer
47 views
Crontab change MAILTO for only one specific job in Root's crontab
Can I do the following to change where mail goes for one specific crontab job in root's crontab (don't sent to root for Do Something job, just send to porklover):
# Make a hambone appear
* * * * * ...
1
vote
1answer
121 views
send email from my local domain example.com to external mail server using Sendmail
I'm using Sendmail as an MTA. I setup a local domain example.org, everything is running well, so now I want to use this local mail server to send email to my Gmail account or any external server. Just ...
2
votes
2answers
110 views
Where do uncaught local emails go?
Suppose I run -
mail goldfish
There is no such account on the system and no such aliases defined, where would the mail go?
How do I see a list of such mails?
1
vote
1answer
52 views
Mail Server Setup, MX Records, and Hostnames?
I'm a bit confused how mail servers work, and the process of setting them up. Say I have an domain called example.com, and I have an A record for it. I'll be using postfix/dovecot for this setup along ...
1
vote
2answers
180 views
How to configure Exim to forward all incoming mail to new server?
I am moving servers, both of them running Debian (oldstable and stable). Both are running Exim4. When I switch the DNS entries over to the new server, I'd like the old server to still forward incoming ...
0
votes
1answer
68 views
Sending mail to an external server?
I'm currently experimenting with working with Outlook.com for an email server, and have MX records set up to point there and the like. How can I configure systems like postfix to use external servers ...
1
vote
1answer
69 views
What format is the file /var/mail/username mail utilities
I need a sample file where mail utility stored messages.
What I mean is:
Return-path: <[email protected]>
Received: from anton by nflogs.domain with local (Exim 4.80)
(envelope-from ...
1
vote
0answers
38 views
ssh log sent to email in Cygwin
I am using Cygwin in Windows 7. I am trying to make my syslog-ng daemon send a ssh log via email to me when ever someone tries to log into my computer. I tried using the code below (entered into ...
0
votes
0answers
284 views
How to set up smtp and send emails?
I'm new to raspberry pi.
I installed the raspian OS on it. I want to send emails from it using my gmail account. I want to send from the command line interface and from php scripts.
I followed this ...
2
votes
3answers
121 views
postfix: different file name format for Maildir messages
I am using postfix with maildir format. The filenames of messages stored in maildir look something like this:
1386021659.27745_1.alpha:2,S
I understand the first part is epoch time, not sure about ...
2
votes
1answer
74 views
Send email from external email id such as Gmail, Outlook to Unix user account
I am trying to see if there is any way I can send email from external email address to Unix user account. I don't know if this at all possible or not.
For example, if my external email address is ...
2
votes
1answer
45 views
Mail character set for norwegian characters
When extracting a message from my inbox containing the norwegian letter "ø" I find that it is encoded with 3 bytes as "=F8" or hexadecimal "0x3d4638". In UTF-8 the letter "ø" is encoded with two bytes ...
0
votes
2answers
83 views
Format of SMTP headers for scanning inbox email
I am looking for a simple procedure to extract email from my inbox into a file for further processing, using e.g. awk. With "extract" I mean use e.g. regex to get emails with a particular subject.
My ...
0
votes
1answer
51 views
Email Configuration in Cent OS
I have hosted my web application in VPS Cent OS. Its working well, in that application if a vendor registered or any events occurs between users and website, admin needs to send emails regarding the ...



