11-20-2014
Perfect explanation.
I sort of emulated the situation by adding a cronjob for my oracle user on Solaris 10 and this job calls a shellscript that sends emails to a mail alias.
I then extended the alias with another email address and this change was inherited on the fly without reboot or something.
Can you exclude obvious typos and/or unwanted carriage returns in the .mailrc file?
If yes, my only idea is to try sending mail to the particular alias on the command line.
I wonder if that would work. If yes, then - from the perspective of the cron-ed scripts - the mail aliases are not read from the .mailrc file at all!
Maybe the scripts are reading from the public mail aliases file /etc/aliases ?
8 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
I've requested several passwords and they are not being sent to my email. My email is working - email address removed (2 Replies)
Discussion started by: xyz
2 Replies
2. UNIX for Dummies Questions & Answers
Hi
Can any one help me out ?
I am trying to send an autogenerated mail with an attachment to bulk of users using 'MAILX' and 'UNENCODE' . I have used it as follows
X " ( cat /sastemp/body.txt; uuencode Test.xls.gz Test.xls.gz ) | mailx -s 'Testing' ' abcd@yahoo.com , efgh@gmail.com ' "
... (9 Replies)
Discussion started by: manas6
9 Replies
3. Forum Support Area for Unregistered Users & Account Problems
I've tried suggestions from previous threads sending an activation email several times. I'm not sure if email server is blocking domain name. What is the domain name of the activation email...unix.com? (1 Reply)
Discussion started by: BigSky
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All
I am newbie with Sendmail and Linux in general. We use sendmail for outgoing and incoming mails.
Once our server receives a certain email xxx@yyy.com we would
like to run a PERL script doing some task wiht it.
Can you address me a little bit on that topic?
In order to do that the... (0 Replies)
Discussion started by: manustone
0 Replies
5. Shell Programming and Scripting
hi,
I want to send mail to DL...
i am sending email to single id using mailx .. how to send to group of ids? :confused:
i am using a file which conatins all the ids,
is there any other way to send mail without creating the DLfile?
DL=path\file.txt
mailx -s "Info BG is now... (4 Replies)
Discussion started by: sreelu
4 Replies
6. Shell Programming and Scripting
Hello Gurus,
I have one table which consists of two field:-
PROG_NAME EMAIL
xxxx email1,email2,email3
yyyy email4,email1,email2
I want to to send mails by using mailx command.
But how do I get each and every mail ids from table against... (4 Replies)
Discussion started by: pokhraj_d
4 Replies
7. Emergency UNIX and Linux Support
I would like to extract only the email ids from the gecos of each user id. I have to get the email ids of all the users on the server like this.
Can someone please assist me with the command/script? (15 Replies)
Discussion started by: ggayathri
15 Replies
8. Shell Programming and Scripting
hi all,I have doubt in my unix. Whenever i send any emails from unix machine. The receipent is recieving with the name pepsi retail do you have idea where i the email aliases name is hardcoded in the unix settings.
-----Original Message-----
From: Pepsi Retail c6306393
Sent: Friday, July... (8 Replies)
Discussion started by: arun888
8 Replies
LEARN ABOUT CENTOS
doveadm-mount
DOVEADM-MOUNT(1) Dovecot DOVEADM-MOUNT(1)
NAME
doveadm-mount - Manage the list of mountpoints where mails are stored
SYNOPSIS
doveadm [-Dv] [-f formatter] mount command [arguments]
DESCRIPTION
The doveadm mount commands can be used to manage the list of mountpoints where mails are stored. This is used mainly for better error han-
dling when a mountpoint isn't mounted for some reason:
* If a mail directory doesn't exist, it's autocreated. If the user's mails aren't mounted and filesystem permissions still allow the
autocreation, the user will see an empty mailbox and later will have to redownload all mails. If the mountpoint is known to be
unmounted, Dovecot will simply fail opening any mailboxes.
* If dbox alternate storage isn't mounted and a mail in it is attempted to be accessed, Dovecot normally rebuilds the indexes and notices
that all the mails in alt storage are expunged. When the alt storage is mounted back and even if index is again rebuilt, the mails
won't necessarily become visible anymore for IMAP clients. If the mountpoint is known to be unmounted, Dovecot won't rebuild indexes
and lose the mails.
Dovecot automatically adds mountpoints to this list at startup. If you don't want some of the mountpoints added, you can add a wildcard
ignore for it.
OPTIONS
Global doveadm(1) options:
-D Enables verbosity and debug messages.
-f formatter
Specifies the formatter for formatting the output. Supported formatters are:
flow prints each line with key=value pairs.
pager prints each key: value pair on its own line and separates records with form feed character (^L).
tab prints a table header followed by tab separated value lines.
table prints a table header followed by adjusted value lines.
-v Enables verbosity, including progress counter.
ARGUMENTS
path The directory name of a mountpoint
state The state of a mountpoint. Either online or ignore.
COMMANDS
mount add
doveadm mount add [path [state]]
If this command is run without any parameters, doveadm detects all missing mountpoints and adds them (the same way as when Dovecot does at
startup).
When a mountpoint path is given, it's added as a mountpoint. The state can currently be either "online" (default) or "ignore". The ignore
state is mainly useful with path wildcards to add mountpoints that you never want Dovecot to automatically add, such as: doveadm mount add
'/mnt/*' ignore
mount list
doveadm [-Dv ] [-f formatter] mount list
This command lists the mountpoints known to Dovecot and their state.
mount remove
doveadm mount remove path
This command removes the specified path from the mountpoint list.
REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is avail-
able at: http://dovecot.org/bugreport.html
SEE ALSO
doveadm(1)
Dovecot v2.2 2012-02-16 DOVEADM-MOUNT(1)